Subversion Repositories Kolibri OS

Rev

Rev 227 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 227 Rev 281
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
format MS COFF
3
format MS COFF
Line 4... Line 4...
4
 
4
 
5
include 'proc32.inc'
-
 
-
 
5
include 'proc32.inc'
Line 6... Line 6...
6
 
6
include 'imports.inc'
7
 
7
 
8
OS_BASE         equ 0;
8
OS_BASE         equ 0;
Line 25... Line 25...
25
public START
25
public START
26
public service_proc
26
public service_proc
27
public version
27
public version
Line 28... Line -...
28
 
-
 
29
extrn AttachIntHandler
-
 
30
extrn SysMsgBoardStr
-
 
31
extrn PciApi
-
 
32
extrn PciRead32
-
 
33
extrn PciRead8
-
 
34
extrn PciWrite8
-
 
35
extrn AllocKernelSpace
-
 
36
extrn KernelAlloc
-
 
37
extrn MapPage
-
 
38
extrn GetPgAddr
-
 
39
extrn RegService
-
 
40
extrn ServiceHandler
-
 
41
extrn SetHwCursor
-
 
42
extrn LFBAddress
-
 
43
extrn LoadFile
-
 
44
extrn FpuSave
-
 
45
extrn FpuRestore
-
 
46
 
28
 
Line 47... Line 29...
47
DEBUG      equ 1
29
DEBUG      equ 1
48
 
30
 
49
DRV_ENTRY  equ 1
31
DRV_ENTRY  equ 1
Line 159... Line 141...
159
align 4
141
align 4
160
devices dd (DEVICE_ID shl 16)+VENDOR_ID
142
devices dd (DEVICE_ID shl 16)+VENDOR_ID
161
        dd 0    ;terminator
143
        dd 0    ;terminator
Line 162... Line 144...
162
 
144
 
Line 163... Line 145...
163
version      dd 0x00010001
145
version      dd 0x00020002
Line 164... Line 146...
164
 
146
 
165
my_service   db 'MY_SERVICE',0  ;max 16 chars include zero
147
my_service   db 'MY_SERVICE',0  ;max 16 chars include zero