Subversion Repositories Kolibri OS

Rev

Rev 431 | Rev 465 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
425 victor 1
$Revision: 434 $
431 serge 2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
7
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
164 serge 8
 
9
drw0    equ  10010010b      ; data read/write dpl0
10
drw3    equ  11110010b      ; data read/write dpl3
11
cpl0    equ  10011010b      ; code read dpl0
12
cpl3    equ  11111010b      ; code read dpl3
13
 
14
D32     equ  01000000b      ; 32bit segment
15
G32    equ   10000000b      ; page gran
16
 
17
 
18
;;;;;;;;;;;;cpu_caps flags;;;;;;;;;;;;;;;;
19
 
20
CPU_386        equ 3
21
CPU_486        equ 4
22
CPU_PENTIUM    equ 5
23
CPU_P6         equ 6
24
CPU_PENTIUM4   equ 0x0F
25
 
26
CAPS_FPU       equ    00 ;on-chip x87 floating point unit
27
CAPS_VME       equ    01 ;virtual-mode enhancements
28
CAPS_DE        equ    02 ;debugging extensions
29
CAPS_PSE       equ    03 ;page-size extensions
30
CAPS_TSC       equ    04 ;time stamp counter
31
CAPS_MSR       equ    05 ;model-specific registers
32
CAPS_PAE       equ    06 ;physical-address extensions
33
CAPS_MCE       equ    07 ;machine check exception
34
CAPS_CX8       equ    08 ;CMPXCHG8B instruction
35
CAPS_APIC      equ    09 ;on-chip advanced programmable
36
                         ; interrupt controller
37
;                     10 ;unused
38
CAPS_SEP       equ    11 ;SYSENTER and SYSEXIT instructions
39
CAPS_MTRR      equ    12 ;memory-type range registers
40
CAPS_PGE       equ    13 ;page global extension
41
CAPS_MCA       equ    14 ;machine check architecture
42
CAPS_CMOV      equ    15 ;conditional move instructions
43
CAPS_PAT       equ    16 ;page attribute table
44
 
45
CAPS_PSE36     equ    17 ;page-size extensions
46
CAPS_PSN       equ    18 ;processor serial number
47
CAPS_CLFLUSH   equ    19 ;CLFUSH instruction
48
 
49
CAPS_DS        equ    21 ;debug store
50
CAPS_ACPI      equ    22 ;thermal monitor and software
51
                         ;controlled clock supported
52
CAPS_MMX       equ    23 ;MMX instructions
53
CAPS_FXSR      equ    24 ;FXSAVE and FXRSTOR instructions
54
CAPS_SSE       equ    25 ;SSE instructions
55
CAPS_SSE2      equ    26 ;SSE2 instructions
56
CAPS_SS        equ    27 ;self-snoop
57
CAPS_HTT       equ    28 ;hyper-threading technology
58
CAPS_TM        equ    29 ;thermal monitor supported
59
CAPS_IA64      equ    30 ;IA64 capabilities
60
CAPS_PBE       equ    31 ;pending break enable
61
 
62
;ecx
63
CAPS_SSE3      equ    32 ;SSE3 instructions
64
;                     33
65
;                     34
66
CAPS_MONITOR   equ    35 ;MONITOR/MWAIT instructions
67
CAPS_DS_CPL    equ    36 ;
68
CAPS_VMX       equ    37 ;virtual mode extensions
69
;                     38 ;
70
CAPS_EST       equ    39 ;enhansed speed step
71
CAPS_TM2       equ    40 ;thermal monitor2 supported
72
;                     41
73
CAPS_CID       equ    42 ;
74
;                     43
75
;                     44
76
CAPS_CX16      equ    45 ;CMPXCHG16B instruction
77
CAPS_xTPR      equ    46 ;
78
;
79
;reserved
80
;
81
;ext edx /ecx
82
CAPS_SYSCAL    equ    64 ;
83
CAPS_XD        equ    65 ;execution disable
84
CAPS_FFXSR     equ    66 ;
85
CAPS_RDTSCP    equ    67 ;
86
CAPS_X64       equ    68 ;
87
CAPS_3DNOW     equ    69 ;
88
CAPS_3DNOWEXT  equ    70 ;
89
CAPS_LAHF      equ    71 ;
90
CAPS_CMP_LEG   equ    72 ;
91
CAPS_SVM       equ    73 ;secure virual machine
92
CAPS_ALTMOVCR8 equ    74 ;
93
 
378 serge 94
; CPU MSR names
375 Ghost 95
MSR_SYSENTER_CS		equ	0x174
96
MSR_SYSENTER_ESP	equ	0x175
97
MSR_SYSENTER_EIP	equ	0x176
98
MSR_AMD_EFER		equ	0xC0000080	; Extended Feature Enable Register
99
MSR_AMD_STAR		equ	0xC0000081	; SYSCALL/SYSRET Target Address Register
164 serge 100
 
168 serge 101
CR0_PE         equ    0x00000001   ;protected mode
102
CR0_MP         equ    0x00000002   ;monitor fpu
103
CR0_EM         equ    0x00000004   ;fpu emulation
104
CR0_TS         equ    0x00000008   ;task switch
105
CR0_ET         equ    0x00000010   ;extension type hardcoded to 1
106
CR0_NE         equ    0x00000020   ;numeric error
107
CR0_WP         equ    0x00010000   ;write protect
108
CR0_AM         equ    0x00040000   ;alignment check
109
CR0_NW         equ    0x20000000   ;not write-through
110
CR0_CD         equ    0x40000000   ;cache disable
111
CR0_PG         equ    0x80000000   ;paging
112
 
113
 
164 serge 114
CR4_VME        equ    0x0001
115
CR4_PVI        equ    0x0002
116
CR4_TSD        equ    0x0004
117
CR4_DE         equ    0x0008
118
CR4_PSE        equ    0x0010
119
CR4_PAE        equ    0x0020
120
CR4_MCE        equ    0x0040
121
CR4_PGE        equ    0x0080
122
CR4_PCE        equ    0x0100
123
CR4_OSFXSR     equ    0x0200
124
CR4_OSXMMEXPT  equ    0x0400
125
 
168 serge 126
SSE_IE         equ    0x0001
127
SSE_DE         equ    0x0002
128
SSE_ZE         equ    0x0004
129
SSE_OE         equ    0x0008
130
SSE_UE         equ    0x0010
131
SSE_PE         equ    0x0020
132
SSE_DAZ        equ    0x0040
133
SSE_IM         equ    0x0080
134
SSE_DM         equ    0x0100
135
SSE_ZM         equ    0x0200
136
SSE_OM         equ    0x0400
137
SSE_UM         equ    0x0800
138
SSE_PM         equ    0x1000
139
SSE_FZ         equ    0x8000
164 serge 140
 
168 serge 141
SSE_INIT equ (SSE_IM+SSE_DM+SSE_ZM+SSE_OM+SSE_UM+SSE_PM)
164 serge 142
 
380 serge 143
OS_BASE             equ 0
164 serge 144
 
380 serge 145
window_data         equ (OS_BASE+0x0000000)
164 serge 146
 
380 serge 147
CURRENT_TASK        equ (OS_BASE+0x0003000)
148
TASK_COUNT          equ (OS_BASE+0x0003004)
434 diamond 149
CURRENT_RING0_ESP   equ (OS_BASE+0x0003008)
380 serge 150
TASK_BASE           equ (OS_BASE+0x0003010)
151
TASK_DATA           equ (OS_BASE+0x0003020)
152
TASK_EVENT          equ (OS_BASE+0x0003020)
164 serge 153
 
380 serge 154
mouseunder          equ (OS_BASE+0x0006900)
155
FLOPPY_BUFF         equ (OS_BASE+0x0008000)
381 serge 156
ACTIVE_PROC_STACK   equ (OS_BASE+0x000A400) ;unused
380 serge 157
idts                equ (OS_BASE+0x000B100)
158
WIN_STACK           equ (OS_BASE+0x000C000)
159
WIN_POS             equ (OS_BASE+0x000C400)
160
FDD_BUFF            equ (OS_BASE+0x000D000)
164 serge 161
 
381 serge 162
;unused ? only one reference
380 serge 163
ENABLE_TASKSWITCH   equ (OS_BASE+0x000E000)
381 serge 164
 
380 serge 165
PUTPIXEL            equ (OS_BASE+0x000E020)
166
GETPIXEL            equ (OS_BASE+0x000E024)
381 serge 167
 
168
;unused ? only one reference
380 serge 169
BANK_SWITCH         equ (OS_BASE+0x000E030)
164 serge 170
 
381 serge 171
;unused ? store mousepointer
380 serge 172
MOUSE_PICTURE       equ (OS_BASE+0x000F200)
381 serge 173
 
380 serge 174
MOUSE_VISIBLE       equ (OS_BASE+0x000F204)
381 serge 175
WIN_TEMP_XY         equ (OS_BASE+0x000F300)
380 serge 176
KEY_COUNT           equ (OS_BASE+0x000F400)
177
KEY_BUFF            equ (OS_BASE+0x000F401)
164 serge 178
 
380 serge 179
BTN_COUNT           equ (OS_BASE+0x000F500)
180
BTN_BUFF            equ (OS_BASE+0x000F501)
164 serge 181
 
380 serge 182
CPU_FREQ            equ (OS_BASE+0x000F600)
381 serge 183
 
184
;unused ? no active references
380 serge 185
MOUSE_PORT          equ (OS_BASE+0x000F604)
164 serge 186
 
381 serge 187
;unused
380 serge 188
PS2_CHUNK           equ (OS_BASE+0x000FB00)
381 serge 189
 
380 serge 190
MOUSE_X             equ (OS_BASE+0x000FB0A)
191
MOUSE_Y             equ (OS_BASE+0x000FB0C)
164 serge 192
 
380 serge 193
MOUSE_COLOR_MEM     equ (OS_BASE+0x000FB10)
194
COLOR_TEMP          equ (OS_BASE+0x000FB30)
195
BTN_DOWN            equ (OS_BASE+0x000FB40)
196
MOUSE_DOWN          equ (OS_BASE+0x000FB44)
197
X_UNDER             equ (OS_BASE+0x000FB4A)
198
Y_UNDER             equ (OS_BASE+0x000FB4C)
199
ScreenBPP           equ (OS_BASE+0x000FBF1)
381 serge 200
 
201
;unused ? only one reference
380 serge 202
MOUSE_BUFF_COUNT    equ (OS_BASE+0x000FCFF)
381 serge 203
 
380 serge 204
LFBAddress          equ (OS_BASE+0x000FE80)
205
MEM_AMOUNT          equ (OS_BASE+0x000FE8C)
206
;LFBSize             equ (OS_BASE+0x02f9050)
164 serge 207
 
381 serge 208
ScreenWidth         equ (OS_BASE+0x000FE00)
209
ScreenHeight        equ (OS_BASE+0x000FE04)
210
BytesPerScanLine    equ (OS_BASE+0x000FE08)
380 serge 211
SCR_MODE            equ (OS_BASE+0x000FE0C)
164 serge 212
 
380 serge 213
BTN_ADDR            equ (OS_BASE+0x000FE88)
214
SYS_SHUTDOWN        equ (OS_BASE+0x000FF00)
215
TASK_ACTIVATE       equ (OS_BASE+0x000FF01)
164 serge 216
 
380 serge 217
REDRAW_BACKGROUND   equ (OS_BASE+0x000FFF0)
218
BANK_RW             equ (OS_BASE+0x000FFF2)
219
MOUSE_BACKGROUND    equ (OS_BASE+0x000FFF4)
220
DONT_DRAW_MOUSE     equ (OS_BASE+0x000FFF5)
221
DONT_SWITCH         equ (OS_BASE+0x000FFFF)
164 serge 222
 
381 serge 223
TMP_STACK_TOP       equ 0x003EC00
164 serge 224
 
380 serge 225
FONT_II             equ (OS_BASE+0x003EC00)
226
FONT_I              equ (OS_BASE+0x003F600)
381 serge 227
DRIVE_DATA          equ (OS_BASE+0x0040000)
380 serge 228
SLOT_BASE           equ (OS_BASE+0x0080000)
381 serge 229
 
230
;unused
380 serge 231
TMP_BUFF            equ (OS_BASE+0x0090000)
164 serge 232
 
380 serge 233
VGABasePtr          equ (OS_BASE+0x00A0000)
164 serge 234
 
380 serge 235
RAMDISK             equ (OS_BASE+0x0100000)
236
RAMDISK_FAT         equ (OS_BASE+0x0280000)
237
FLOPPY_FAT          equ (OS_BASE+0x0282000)
381 serge 238
 
239
; unused?
380 serge 240
SB16_Status         equ (OS_BASE+0x02B0000)
381 serge 241
 
380 serge 242
BUTTON_INFO         equ (OS_BASE+0x02C0000)
243
RESERVED_PORTS      equ (OS_BASE+0x02D0000)
244
IRQ_SAVE            equ (OS_BASE+0x02E0000)
412 serge 245
BOOT_VAR            equ (OS_BASE+0x02f0000)
380 serge 246
IMG_BACKGROUND      equ (OS_BASE+0x0300000)
247
WinMapAddress       equ (OS_BASE+0x0460000)
248
display_data        equ (OS_BASE+0x0460000)
381 serge 249
 
250
;unused ?
380 serge 251
HD_CACHE            equ (OS_BASE+0x0600000)
381 serge 252
 
380 serge 253
stack_data_start    equ (OS_BASE+0x0700000)
254
eth_data_start      equ (OS_BASE+0x0700000)
255
stack_data          equ (OS_BASE+0x0704000)
256
stack_data_end      equ (OS_BASE+0x071ffff)
257
VMODE_BASE          equ (OS_BASE+0x0760000)
258
resendQ             equ (OS_BASE+0x0770000)
164 serge 259
 
381 serge 260
skin_data           equ (OS_BASE+0x0778000)
164 serge 261
 
378 serge 262
 
380 serge 263
tss_data            equ (OS_BASE+0x780000)
264
draw_data           equ (OS_BASE+0x988000)
164 serge 265
 
380 serge 266
HEAP_BASE           equ (OS_BASE+0x98B000)
164 serge 267
 
378 serge 268
LFB_BASE            equ 0x7DC00000
164 serge 269
 
378 serge 270
page_tabs           equ 0x7FC00000
271
master_tab          equ 0x7FDFF000
272
app_page_tabs       equ 0x7FE00000
164 serge 273
 
378 serge 274
sys_pgdir           equ OS_BASE+0x00050000
275
sys_master_tab      equ OS_BASE+0x00051000
276
sys_pgmap           equ OS_BASE+0x00052000
164 serge 277
 
278
 
279
 
378 serge 280
new_app_base        equ 0x80000000
281
 
188 serge 282
twdw                equ (CURRENT_TASK-window_data)
164 serge 283
 
284
std_application_base_address   equ new_app_base
392 serge 285
RING0_STACK_SIZE    equ (0x2000-512)    ;512 байт для контекста FPU
164 serge 286
 
378 serge 287
;PAGES_USED          equ 4
375 Ghost 288
 
188 serge 289
PG_UNMAP            equ 0x000
290
PG_MAP              equ 0x001
291
PG_WRITE            equ 0x002
292
PG_SW               equ 0x003
293
PG_USER             equ 0x005
294
PG_UW               equ 0x007
295
PG_NOCACHE          equ 0x018
296
PG_LARGE            equ 0x080
297
PG_GLOBAL           equ 0x100
164 serge 298
 
299
;;;;;;;;;;;boot time variables
300
 
301
;BOOT_BPP            equ 0x9000    ;byte   bits per pixel
302
BOOT_SCANLINE       equ 0x9001    ;word   scanline length
303
BOOT_VESA_MODE      equ 0x9008    ;word   vesa video mode
304
;;BOOT_X_RES          equ 0x900A    ;word   X res
305
;;BOOT_Y_RES          equ 0x900C    ;word   Y res
306
;;BOOT_MOUSE_PORT     equ 0x9010    ;byte   mouse port  - not used
307
BOOT_BANK_SW        equ 0x9014    ;dword  Vesa 1.2 pm bank switch
308
BOOT_LFB            equ 0x9018    ;dword  Vesa 2.0 LFB address
309
BOOT_MTRR           equ 0x901C    ;byte   0 or 1 : enable MTRR graphics acceleration
310
BOOT_LOG            equ 0x901D    ;byte   not used anymore (0 or 1 : enable system log display)
311
BOOT_DIRECT_LFB     equ 0x901E    ;byte   0 or 1 : enable direct lfb write, paging disabled
312
BOOT_PCI_DATA       equ 0x9020    ;8bytes pci data
313
BOOT_VRR            equ 0x9030    ;byte   VRR start enabled 1, 2-no
314
BOOT_IDE_BASE_ADDR  equ 0x9031   ;word   IDEContrRegsBaseAddr
315
BOOT_MEM_AMOUNT     equ 0x9034    ;dword  memory amount
316
 
317
TMP_FILE_NAME       equ     0
318
TMP_CMD_LINE        equ  1024
319
TMP_ICON_OFFS       equ  1280
320
 
321
 
322
EVENT_REDRAW       equ 0x00000001
323
EVENT_KEY          equ 0x00000002
324
EVENT_BUTTON       equ 0x00000004
325
EVENT_BACKGROUND   equ 0x00000010
326
EVENT_MOUSE        equ 0x00000020
327
EVENT_IPC          equ 0x00000040
328
EVENT_NETWORK      equ 0x00000080
329
EVENT_DEBUG        equ 0x00000100
227 serge 330
EVENT_EXTENDED     equ 0x00000200
164 serge 331
 
332
EV_INTR            equ 1
333
 
334
struc SYS_VARS
335
{ .bpp            dd ?
336
  .scanline       dd ?
337
  .vesa_mode      dd ?
338
  .x_res          dd ?
339
  .y_res          dd ?
340
  .cpu_caps       dd ?
341
                  dd ?
342
                  dd ?
343
                  dd ?
344
}
345
 
281 serge 346
struc APPOBJ           ;common object header
347
{
348
   .magic       dd ?   ;
349
   .destroy     dd ?   ;internal destructor
350
   .fd          dd ?   ;next object in list
351
   .bk          dd ?   ;prev object in list
352
   .pid         dd ?   ;owner id
353
};
354
 
355
virtual at 0
356
  APPOBJ APPOBJ
357
end virtual
358
 
359
APP_OBJ_OFFSET  equ 48
354 serge 360
APP_EV_OFFSET   equ 40
281 serge 361
 
221 serge 362
struc CURSOR
281 serge 363
{;common object header
364
   .magic       dd ?   ;'CURS'
365
   .destroy     dd ?   ;internal destructor
366
   .fd          dd ?   ;next object in list
367
   .bk          dd ?   ;prev object in list
368
   .pid         dd ?   ;owner id
369
 
370
 ;cursor data
371
   .base        dd ?   ;allocated memory
372
   .hot_x       dd ?   ;hotspot coords
221 serge 373
   .hot_y       dd ?
374
}
375
virtual at 0
376
  CURSOR CURSOR
377
end virtual
378
 
281 serge 379
CURSOR_SIZE     equ 32
221 serge 380
 
354 serge 381
struc EVENT
382
{
383
   .magic       dd ?   ;'EVNT'
384
   .destroy     dd ?   ;internal destructor
385
   .fd          dd ?   ;next object in list
386
   .bk          dd ?   ;prev object in list
387
   .pid         dd ?   ;owner id
388
 
389
   .id          dd ?   ;event uid
390
   .state       dd ?   ;internal flags
391
   .code        dd ?
392
                rd 5
393
}
394
EVENT_SIZE  equ 52
395
 
396
virtual at 0
397
  EVENT EVENT
398
end virtual
399
 
400
 
401
 
402
struc HEAP_DATA
403
{
404
   .mutex         rd 1
405
   .refcount      rd 1
406
   .heap_base     rd 1
407
   .heap_top      rd 1
408
   .app_mem       rd 1
409
}
410
 
411
HEAP_DATA_SIZE  equ 20
412
virtual at 0
413
  HEAP_DATA HEAP_DATA
414
end virtual
415
 
164 serge 416
struc BOOT_DATA
417
{ .bpp            dd ?
418
  .scanline       dd ?
419
  .vesa_mode      dd ?
420
  .x_res          dd ?
421
  .y_res          dd ?
422
  .mouse_port     dd ?
423
  .bank_switch    dd ?
424
  .lfb            dd ?
425
  .vesa_mem       dd ?
426
  .log            dd ?
427
  .direct_lfb     dd ?
428
  .pci_data       dd ?
429
;                  dd ?
430
  .vrr            dd ?
431
  .ide_base       dd ?
432
  .mem_amount     dd ?
433
  .pages_count    dd ?
434
  .pagemap_size   dd ?
435
  .kernel_max     dd ?
436
  .kernel_pages   dd ?
437
  .kernel_tables  dd ?
438
 
439
  .cpu_vendor     dd ?
440
                  dd ?
441
                  dd ?
442
  .cpu_sign       dd ?
443
  .cpu_info       dd ?
444
  .cpu_caps       dd ?
445
                  dd ?
446
                  dd ?
447
}
448
 
449
virtual at 0
450
  BOOT_DATA BOOT_DATA
451
end virtual
452
 
276 serge 453
struc MEM_STATE
454
{  .mutex             rd 1
455
   .smallmap          rd 1
456
   .treemap           rd 1
457
   .topsize           rd 1
458
   .top               rd 1
459
   .smallbins         rd 4*32
460
   .treebins          rd 32
461
}
462
 
164 serge 463
struc PG_DATA
464
{ .mem_amount        dd ?
465
  .vesa_mem          dd ?
466
  .pages_count       dd ?
467
  .pages_free        dd ?
468
  .pages_faults      dd ?
469
  .pagemap_size      dd ?
470
  .kernel_max        dd ?
471
  .kernel_pages      dd ?
472
  .kernel_tables     dd ?
473
  .sys_page_dir      dd ?
474
  .pg_mutex          dd ?
475
}
476
 
278 serge 477
;struc LIB
378 serge 478
;{ .lib_name         rb 16
479
;  .lib_base         dd ?
480
;  .lib_start        dd ?
481
;  .export           dd ?
482
;  .import           dd ?
278 serge 483
;}
164 serge 484
 
485
struc SRV
278 serge 486
{ .srv_name          rb 16           ;ASCIIZ string
487
  .magic             dd ?     ;+0x10 ;'SRV '
488
  .size              dd ?     ;+0x14 ;size of structure SRV
489
  .fd                dd ?     ;+0x18 ;next SRV descriptor
490
  .bk                dd ?     ;+0x1C ;prev SRV descriptor
491
  .base              dd ?     ;+0x20 ;service base address
492
  .entry             dd ?     ;+0x24 ;service START function
493
  .srv_proc          dd ?     ;+0x28 ;main service handler
164 serge 494
}
495
 
278 serge 496
SRV_FD_OFFSET  equ 0x18
497
SRV_SIZE       equ 44
498
 
164 serge 499
struc COFF_HEADER
500
{  .machine          dw ?
501
   .nSections        dw ?
502
   .DataTime         dd ?
503
   .pSymTable        dd ?
504
   .nSymbols         dd ?
505
   .optHeader        dw ?
506
   .flags            dw ?
507
};
508
 
509
 
510
struc COFF_SECTION
511
{  .Name             rb 8
512
   .VirtualSize      dd ?
513
   .VirtualAddress   dd ?
514
   .SizeOfRawData    dd ?
515
   .PtrRawData       dd ?
516
   .PtrReloc         dd ?
517
   .PtrLinenumbers   dd ?
518
   .NumReloc         dw ?
519
   .NumLinenum       dw ?
520
   .Characteristics  dd ?
521
}
206 serge 522
COFF_SECTION_SIZE equ 40
164 serge 523
 
524
struc COFF_RELOC
525
{  .VirtualAddress   dd ?
526
   .SymIndex         dd ?
527
   .Type             dw ?
528
}
529
 
530
struc COFF_SYM
531
{  .Name             rb 8
532
   .Value            dd ?
533
   .SectionNumber    dw ?
534
   .Type             dw ?
535
   .StorageClass     db ?
536
   .NumAuxSymbols    db ?
537
}
188 serge 538
CSYM_SIZE equ 18
164 serge 539
 
540
struc IOCTL
541
{  .handle           dd ?
542
   .io_code          dd ?
543
   .input            dd ?
544
   .inp_size         dd ?
545
   .output           dd ?
546
   .out_size         dd ?
547
}
548
 
549
virtual at 0
550
  IOCTL IOCTL
551
end virtual
552
 
278 serge 553
;virtual at 0
554
;  LIB LIB
555
;end virtual
164 serge 556
 
557
virtual at 0
558
  SRV SRV
559
end virtual
560
 
561
virtual at 0
188 serge 562
  CFH COFF_HEADER
563
end virtual
564
 
565
virtual at 0
164 serge 566
  CFS COFF_SECTION
567
end virtual
568
 
569
virtual at 0
570
  CRELOC COFF_RELOC
571
end virtual
572
 
573
virtual at 0
574
  CSYM COFF_SYM
575
end virtual
576