2010-06-25 18:47:51 +02:00
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
;; ;;
|
|
|
|
|
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
|
|
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
|
;; ;;
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
|
|
$Revision$
|
|
|
|
|
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
dpl0 equ 10010000b ; data read dpl0
|
|
|
|
|
drw0 equ 10010010b ; data read/write dpl0
|
|
|
|
|
drw3 equ 11110010b ; data read/write dpl3
|
|
|
|
|
cpl0 equ 10011010b ; code read dpl0
|
|
|
|
|
cpl3 equ 11111010b ; code read dpl3
|
|
|
|
|
|
|
|
|
|
D32 equ 01000000b ; 32bit segment
|
|
|
|
|
G32 equ 10000000b ; page gran
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;cpu_caps flags;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
|
|
CPU_386 equ 3
|
|
|
|
|
CPU_486 equ 4
|
|
|
|
|
CPU_PENTIUM equ 5
|
2011-05-30 12:11:03 +02:00
|
|
|
|
CPU_P6 equ 6
|
2010-06-25 18:47:51 +02:00
|
|
|
|
CPU_PENTIUM4 equ 0x0F
|
|
|
|
|
|
2011-08-14 11:08:02 +02:00
|
|
|
|
PLATFORM equ 0x14
|
|
|
|
|
PLATFORM_RS780 equ 0x0F
|
|
|
|
|
PLATFORM_RS880 equ 0x10
|
|
|
|
|
PLATFORM_FUSION equ 0x14
|
2011-07-23 17:27:18 +02:00
|
|
|
|
|
2010-06-25 18:47:51 +02:00
|
|
|
|
CAPS_FPU equ 00 ;on-chip x87 floating point unit
|
|
|
|
|
CAPS_VME equ 01 ;virtual-mode enhancements
|
|
|
|
|
CAPS_DE equ 02 ;debugging extensions
|
|
|
|
|
CAPS_PSE equ 03 ;page-size extensions
|
|
|
|
|
CAPS_TSC equ 04 ;time stamp counter
|
|
|
|
|
CAPS_MSR equ 05 ;model-specific registers
|
|
|
|
|
CAPS_PAE equ 06 ;physical-address extensions
|
|
|
|
|
CAPS_MCE equ 07 ;machine check exception
|
|
|
|
|
CAPS_CX8 equ 08 ;CMPXCHG8B instruction
|
|
|
|
|
CAPS_APIC equ 09 ;on-chip advanced programmable
|
2011-05-30 12:11:03 +02:00
|
|
|
|
; interrupt controller
|
2010-06-25 18:47:51 +02:00
|
|
|
|
; 10 ;unused
|
|
|
|
|
CAPS_SEP equ 11 ;SYSENTER and SYSEXIT instructions
|
|
|
|
|
CAPS_MTRR equ 12 ;memory-type range registers
|
|
|
|
|
CAPS_PGE equ 13 ;page global extension
|
|
|
|
|
CAPS_MCA equ 14 ;machine check architecture
|
|
|
|
|
CAPS_CMOV equ 15 ;conditional move instructions
|
|
|
|
|
CAPS_PAT equ 16 ;page attribute table
|
|
|
|
|
|
|
|
|
|
CAPS_PSE36 equ 17 ;page-size extensions
|
|
|
|
|
CAPS_PSN equ 18 ;processor serial number
|
|
|
|
|
CAPS_CLFLUSH equ 19 ;CLFUSH instruction
|
|
|
|
|
|
|
|
|
|
CAPS_DS equ 21 ;debug store
|
|
|
|
|
CAPS_ACPI equ 22 ;thermal monitor and software
|
2011-05-30 12:11:03 +02:00
|
|
|
|
;controlled clock supported
|
2010-06-25 18:47:51 +02:00
|
|
|
|
CAPS_MMX equ 23 ;MMX instructions
|
|
|
|
|
CAPS_FXSR equ 24 ;FXSAVE and FXRSTOR instructions
|
|
|
|
|
CAPS_SSE equ 25 ;SSE instructions
|
|
|
|
|
CAPS_SSE2 equ 26 ;SSE2 instructions
|
|
|
|
|
CAPS_SS equ 27 ;self-snoop
|
|
|
|
|
CAPS_HTT equ 28 ;hyper-threading technology
|
|
|
|
|
CAPS_TM equ 29 ;thermal monitor supported
|
|
|
|
|
CAPS_IA64 equ 30 ;IA64 capabilities
|
|
|
|
|
CAPS_PBE equ 31 ;pending break enable
|
|
|
|
|
|
|
|
|
|
;ecx
|
|
|
|
|
CAPS_SSE3 equ 32 ;SSE3 instructions
|
|
|
|
|
; 33
|
|
|
|
|
; 34
|
|
|
|
|
CAPS_MONITOR equ 35 ;MONITOR/MWAIT instructions
|
|
|
|
|
CAPS_DS_CPL equ 36 ;
|
|
|
|
|
CAPS_VMX equ 37 ;virtual mode extensions
|
|
|
|
|
; 38 ;
|
|
|
|
|
CAPS_EST equ 39 ;enhansed speed step
|
|
|
|
|
CAPS_TM2 equ 40 ;thermal monitor2 supported
|
|
|
|
|
; 41
|
|
|
|
|
CAPS_CID equ 42 ;
|
|
|
|
|
; 43
|
|
|
|
|
; 44
|
|
|
|
|
CAPS_CX16 equ 45 ;CMPXCHG16B instruction
|
|
|
|
|
CAPS_xTPR equ 46 ;
|
|
|
|
|
;
|
|
|
|
|
;reserved
|
|
|
|
|
;
|
|
|
|
|
;ext edx /ecx
|
|
|
|
|
CAPS_SYSCAL equ 64 ;
|
|
|
|
|
CAPS_XD equ 65 ;execution disable
|
|
|
|
|
CAPS_FFXSR equ 66 ;
|
2011-03-04 13:09:10 +01:00
|
|
|
|
CAPS_RDTSCP equ 67 ; not used anywhere
|
2010-06-25 18:47:51 +02:00
|
|
|
|
CAPS_X64 equ 68 ;
|
|
|
|
|
CAPS_3DNOW equ 69 ;
|
|
|
|
|
CAPS_3DNOWEXT equ 70 ;
|
|
|
|
|
CAPS_LAHF equ 71 ;
|
|
|
|
|
CAPS_CMP_LEG equ 72 ;
|
|
|
|
|
CAPS_SVM equ 73 ;secure virual machine
|
|
|
|
|
CAPS_ALTMOVCR8 equ 74 ;
|
|
|
|
|
|
|
|
|
|
; CPU MSR names
|
2011-05-30 12:11:03 +02:00
|
|
|
|
MSR_SYSENTER_CS equ 0x174
|
|
|
|
|
MSR_SYSENTER_ESP equ 0x175
|
|
|
|
|
MSR_SYSENTER_EIP equ 0x176
|
|
|
|
|
MSR_AMD_EFER equ 0xC0000080 ; Extended Feature Enable Register
|
|
|
|
|
MSR_AMD_STAR equ 0xC0000081 ; SYSCALL/SYSRET Target Address Register
|
|
|
|
|
|
|
|
|
|
CR0_PE equ 0x00000001 ;protected mode
|
|
|
|
|
CR0_MP equ 0x00000002 ;monitor fpu
|
|
|
|
|
CR0_EM equ 0x00000004 ;fpu emulation
|
|
|
|
|
CR0_TS equ 0x00000008 ;task switch
|
|
|
|
|
CR0_ET equ 0x00000010 ;extension type hardcoded to 1
|
|
|
|
|
CR0_NE equ 0x00000020 ;numeric error
|
|
|
|
|
CR0_WP equ 0x00010000 ;write protect
|
|
|
|
|
CR0_AM equ 0x00040000 ;alignment check
|
|
|
|
|
CR0_NW equ 0x20000000 ;not write-through
|
|
|
|
|
CR0_CD equ 0x40000000 ;cache disable
|
|
|
|
|
CR0_PG equ 0x80000000 ;paging
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CR4_VME equ 0x0001
|
|
|
|
|
CR4_PVI equ 0x0002
|
|
|
|
|
CR4_TSD equ 0x0004
|
2011-05-30 12:11:03 +02:00
|
|
|
|
CR4_DE equ 0x0008
|
2010-06-25 18:47:51 +02:00
|
|
|
|
CR4_PSE equ 0x0010
|
|
|
|
|
CR4_PAE equ 0x0020
|
|
|
|
|
CR4_MCE equ 0x0040
|
|
|
|
|
CR4_PGE equ 0x0080
|
|
|
|
|
CR4_PCE equ 0x0100
|
|
|
|
|
CR4_OSFXSR equ 0x0200
|
|
|
|
|
CR4_OSXMMEXPT equ 0x0400
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
SSE_IE equ 0x0001
|
|
|
|
|
SSE_DE equ 0x0002
|
|
|
|
|
SSE_ZE equ 0x0004
|
|
|
|
|
SSE_OE equ 0x0008
|
|
|
|
|
SSE_UE equ 0x0010
|
|
|
|
|
SSE_PE equ 0x0020
|
2010-06-25 18:47:51 +02:00
|
|
|
|
SSE_DAZ equ 0x0040
|
2011-05-30 12:11:03 +02:00
|
|
|
|
SSE_IM equ 0x0080
|
|
|
|
|
SSE_DM equ 0x0100
|
|
|
|
|
SSE_ZM equ 0x0200
|
|
|
|
|
SSE_OM equ 0x0400
|
|
|
|
|
SSE_UM equ 0x0800
|
|
|
|
|
SSE_PM equ 0x1000
|
|
|
|
|
SSE_FZ equ 0x8000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
SSE_INIT equ (SSE_IM+SSE_DM+SSE_ZM+SSE_OM+SSE_UM+SSE_PM)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struc TSS
|
|
|
|
|
{
|
|
|
|
|
._back rw 2
|
|
|
|
|
._esp0 rd 1
|
|
|
|
|
._ss0 rw 2
|
|
|
|
|
._esp1 rd 1
|
|
|
|
|
._ss1 rw 2
|
|
|
|
|
._esp2 rd 1
|
|
|
|
|
._ss2 rw 2
|
|
|
|
|
._cr3 rd 1
|
|
|
|
|
._eip rd 1
|
|
|
|
|
._eflags rd 1
|
|
|
|
|
._eax rd 1
|
|
|
|
|
._ecx rd 1
|
|
|
|
|
._edx rd 1
|
|
|
|
|
._ebx rd 1
|
|
|
|
|
._esp rd 1
|
|
|
|
|
._ebp rd 1
|
|
|
|
|
._esi rd 1
|
|
|
|
|
._edi rd 1
|
2011-05-30 12:11:03 +02:00
|
|
|
|
._es rw 2
|
|
|
|
|
._cs rw 2
|
|
|
|
|
._ss rw 2
|
|
|
|
|
._ds rw 2
|
|
|
|
|
._fs rw 2
|
|
|
|
|
._gs rw 2
|
2010-06-25 18:47:51 +02:00
|
|
|
|
._ldt rw 2
|
|
|
|
|
._trap rw 1
|
2011-05-30 12:11:03 +02:00
|
|
|
|
._io rw 1
|
|
|
|
|
rb 24
|
2010-06-25 18:47:51 +02:00
|
|
|
|
._io_map_0 rb 4096
|
|
|
|
|
._io_map_1 rb 4096
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
TSS TSS
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
TSS_SIZE equ (128+8192)
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
OS_BASE equ 0x80000000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
window_data equ (OS_BASE+0x0001000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
CURRENT_TASK equ (OS_BASE+0x0003000)
|
|
|
|
|
TASK_COUNT equ (OS_BASE+0x0003004)
|
|
|
|
|
TASK_BASE equ (OS_BASE+0x0003010)
|
|
|
|
|
TASK_DATA equ (OS_BASE+0x0003020)
|
|
|
|
|
TASK_EVENT equ (OS_BASE+0x0003020)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2013-05-02 00:17:31 +02:00
|
|
|
|
WIN_STACK equ (OS_BASE+0x0005000)
|
|
|
|
|
WIN_POS equ (OS_BASE+0x0005400)
|
|
|
|
|
idts equ (OS_BASE+0x0005800)
|
|
|
|
|
PUTPIXEL equ (OS_BASE+0x0006820)
|
|
|
|
|
GETPIXEL equ (OS_BASE+0x0006824)
|
2011-06-12 19:56:51 +02:00
|
|
|
|
mouseunder equ (OS_BASE+0x0006900)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2013-05-17 19:17:20 +02:00
|
|
|
|
IDE_DMA equ 0x0007000
|
|
|
|
|
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
MOUSE_VISIBLE equ (OS_BASE+0x000F204)
|
|
|
|
|
WIN_TEMP_XY equ (OS_BASE+0x000F300)
|
|
|
|
|
KEY_COUNT equ (OS_BASE+0x000F400)
|
|
|
|
|
KEY_BUFF equ (OS_BASE+0x000F401)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
BTN_COUNT equ (OS_BASE+0x000F500)
|
|
|
|
|
BTN_BUFF equ (OS_BASE+0x000F501)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
CPU_FREQ equ (OS_BASE+0x000F600)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
;unused ? no active references
|
|
|
|
|
MOUSE_PORT equ (OS_BASE+0x000F604)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
;unused
|
|
|
|
|
PS2_CHUNK equ (OS_BASE+0x000FB00)
|
|
|
|
|
|
|
|
|
|
MOUSE_SCROLL_H equ (OS_BASE+0x000FB08)
|
|
|
|
|
MOUSE_X equ (OS_BASE+0x000FB0A)
|
|
|
|
|
MOUSE_Y equ (OS_BASE+0x000FB0C)
|
|
|
|
|
MOUSE_SCROLL_V equ (OS_BASE+0x000FB0E)
|
|
|
|
|
|
|
|
|
|
MOUSE_COLOR_MEM equ (OS_BASE+0x000FB10)
|
|
|
|
|
COLOR_TEMP equ (OS_BASE+0x000FB30)
|
|
|
|
|
BTN_DOWN equ (OS_BASE+0x000FB40)
|
|
|
|
|
MOUSE_DOWN equ (OS_BASE+0x000FB44)
|
|
|
|
|
X_UNDER equ (OS_BASE+0x000FB4A)
|
|
|
|
|
Y_UNDER equ (OS_BASE+0x000FB4C)
|
|
|
|
|
ScreenBPP equ (OS_BASE+0x000FBF1)
|
|
|
|
|
|
|
|
|
|
;unused ? only one reference
|
2010-06-25 18:47:51 +02:00
|
|
|
|
MOUSE_BUFF_COUNT equ (OS_BASE+0x000FCFF)
|
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
Screen_Max_X equ (OS_BASE+0x000FE00)
|
|
|
|
|
Screen_Max_Y equ (OS_BASE+0x000FE04)
|
|
|
|
|
BytesPerScanLine equ (OS_BASE+0x000FE08)
|
|
|
|
|
SCR_MODE equ (OS_BASE+0x000FE0C)
|
|
|
|
|
|
|
|
|
|
KERNEL_ALLOC_FLAG equ (OS_BASE+0x000FE70)
|
|
|
|
|
mmio_pcie_cfg_addr equ (OS_BASE+0x000FE74)
|
|
|
|
|
mmio_pcie_cfg_lim equ (OS_BASE+0x000FE78)
|
|
|
|
|
mmio_pcie_cfg_pdes equ (OS_BASE+0x000FE7C)
|
|
|
|
|
PCIe_bus_range equ (OS_BASE+0x000FE7E)
|
|
|
|
|
|
|
|
|
|
UserDMAaddr equ (OS_BASE+0x000FE80)
|
|
|
|
|
LFBAddress equ (OS_BASE+0x000FE84)
|
|
|
|
|
BTN_ADDR equ (OS_BASE+0x000FE88)
|
|
|
|
|
MEM_AMOUNT equ (OS_BASE+0x000FE8C)
|
2011-05-30 12:11:03 +02:00
|
|
|
|
|
|
|
|
|
SYS_SHUTDOWN equ (OS_BASE+0x000FF00)
|
|
|
|
|
TASK_ACTIVATE equ (OS_BASE+0x000FF01)
|
|
|
|
|
|
2010-06-25 18:47:51 +02:00
|
|
|
|
REDRAW_BACKGROUND equ (OS_BASE+0x000FFF0)
|
|
|
|
|
BACKGROUND_CHANGED equ (OS_BASE+0x000FFF1)
|
2011-05-30 12:11:03 +02:00
|
|
|
|
BANK_RW equ (OS_BASE+0x000FFF2)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
MOUSE_BACKGROUND equ (OS_BASE+0x000FFF4)
|
|
|
|
|
DONT_DRAW_MOUSE equ (OS_BASE+0x000FFF5)
|
2011-05-30 12:11:03 +02:00
|
|
|
|
DONT_SWITCH equ (OS_BASE+0x000FFFF)
|
|
|
|
|
|
2013-05-17 19:17:20 +02:00
|
|
|
|
FONT_II equ (OS_BASE+0x005DC00)
|
|
|
|
|
FONT_I equ (OS_BASE+0x005E600)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2013-05-17 19:17:20 +02:00
|
|
|
|
TMP_STACK_TOP equ 0x006C000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2013-05-17 19:17:20 +02:00
|
|
|
|
mmio_pte equ 0x006E000
|
2011-05-30 12:11:03 +02:00
|
|
|
|
sys_pgdir equ (OS_BASE+0x006F000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
DRIVE_DATA equ (OS_BASE+0x0070000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
SLOT_BASE equ (OS_BASE+0x0080000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
|
2013-05-02 00:17:31 +02:00
|
|
|
|
;VGABasePtr equ (OS_BASE+0x00A0000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
RAMDISK equ (OS_BASE+0x0100000)
|
2011-06-12 19:56:51 +02:00
|
|
|
|
RAMDISK_FAT equ (OS_BASE+0x0280000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-08-14 11:08:02 +02:00
|
|
|
|
CLEAN_ZONE equ 0x280000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
BUTTON_INFO equ (OS_BASE+0x02C0000)
|
|
|
|
|
RESERVED_PORTS equ (OS_BASE+0x02D0000)
|
|
|
|
|
IRQ_SAVE equ (OS_BASE+0x02E0000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
stack_data_start equ (OS_BASE+0x0300000)
|
|
|
|
|
eth_data_start equ (OS_BASE+0x0300000)
|
|
|
|
|
stack_data equ (OS_BASE+0x0304000)
|
|
|
|
|
stack_data_end equ (OS_BASE+0x031ffff)
|
|
|
|
|
resendQ equ (OS_BASE+0x0320000)
|
2013-05-17 19:17:20 +02:00
|
|
|
|
BgrAuxTable equ (OS_BASE+0x0328000)
|
2011-06-12 19:56:51 +02:00
|
|
|
|
skin_data equ (OS_BASE+0x0330000)
|
|
|
|
|
draw_data equ (OS_BASE+0x0338000);
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
BgrDrawMode equ (OS_BASE+0x033BFF4)
|
|
|
|
|
BgrDataWidth equ (OS_BASE+0x033BFF8)
|
|
|
|
|
BgrDataHeight equ (OS_BASE+0x033BFFC)
|
|
|
|
|
BOOT_VAR equ (OS_BASE+0x0340000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
sys_pgmap equ (OS_BASE+0x0350000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
UPPER_KERNEL_PAGES equ (OS_BASE+0x0400000)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-06-12 19:56:51 +02:00
|
|
|
|
virtual at (OS_BASE+0x05FFF80)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
tss TSS
|
|
|
|
|
end virtual
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
HEAP_BASE equ (OS_BASE+0x0800000)
|
2011-08-14 11:08:02 +02:00
|
|
|
|
HEAP_MIN_SIZE equ 0x02000000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
PCIe_CONFIG_SPACE equ 0xF0000000
|
2010-06-25 19:44:14 +02:00
|
|
|
|
USER_DMA_BUFFER equ 0xFD000000 ; linear addr.
|
2011-08-14 11:08:02 +02:00
|
|
|
|
USER_DMA_SIZE equ 0x00800000
|
2013-05-17 19:17:20 +02:00
|
|
|
|
FUSION_MMIO equ 0xFD800000
|
|
|
|
|
LAPIC_BAR equ 0xFD800000 ; ==
|
2010-06-25 19:44:14 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
page_tabs equ 0xFDC00000
|
|
|
|
|
app_page_tabs equ 0xFDC00000
|
|
|
|
|
kernel_tabs equ (page_tabs+ (OS_BASE shr 10)) ;0xFDE00000
|
|
|
|
|
master_tab equ (page_tabs+ (page_tabs shr 10)) ;0xFDFF70000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
LFB_BASE equ 0xFE000000
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
new_app_base equ 0;
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
twdw equ 0x2000 ;(CURRENT_TASK-window_data)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
std_application_base_address equ new_app_base
|
2011-05-30 12:11:03 +02:00
|
|
|
|
RING0_STACK_SIZE equ (0x2000 - 512) ;512 <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FPU
|
|
|
|
|
|
|
|
|
|
REG_SS equ (RING0_STACK_SIZE-4)
|
|
|
|
|
REG_APP_ESP equ (RING0_STACK_SIZE-8)
|
|
|
|
|
REG_EFLAGS equ (RING0_STACK_SIZE-12)
|
|
|
|
|
REG_CS equ (RING0_STACK_SIZE-16)
|
|
|
|
|
REG_EIP equ (RING0_STACK_SIZE-20)
|
|
|
|
|
REG_EAX equ (RING0_STACK_SIZE-24)
|
|
|
|
|
REG_ECX equ (RING0_STACK_SIZE-28)
|
|
|
|
|
REG_EDX equ (RING0_STACK_SIZE-32)
|
|
|
|
|
REG_EBX equ (RING0_STACK_SIZE-36)
|
|
|
|
|
REG_ESP equ (RING0_STACK_SIZE-40) ;RING0_STACK_SIZE-20
|
|
|
|
|
REG_EBP equ (RING0_STACK_SIZE-44)
|
|
|
|
|
REG_ESI equ (RING0_STACK_SIZE-48)
|
|
|
|
|
REG_EDI equ (RING0_STACK_SIZE-52)
|
|
|
|
|
REG_RET equ (RING0_STACK_SIZE-56) ;irq0.return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PG_UNMAP equ 0x000
|
|
|
|
|
PG_MAP equ 0x001
|
|
|
|
|
PG_WRITE equ 0x002
|
|
|
|
|
PG_SW equ 0x003
|
|
|
|
|
PG_USER equ 0x005
|
|
|
|
|
PG_UW equ 0x007
|
|
|
|
|
PG_NOCACHE equ 0x018
|
|
|
|
|
PG_LARGE equ 0x080
|
|
|
|
|
PG_GLOBAL equ 0x100
|
|
|
|
|
|
|
|
|
|
PG_SHARED equ 0x200
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;boot time variables
|
|
|
|
|
|
|
|
|
|
;BOOT_BPP equ 0x9000 ;byte bits per pixel
|
2011-05-30 12:11:03 +02:00
|
|
|
|
BOOT_SCANLINE equ 0x9001 ;word scanline length
|
|
|
|
|
BOOT_VESA_MODE equ 0x9008 ;word vesa video mode
|
2010-06-25 18:47:51 +02:00
|
|
|
|
;;BOOT_X_RES equ 0x900A ;word X res
|
|
|
|
|
;;BOOT_Y_RES equ 0x900C ;word Y res
|
|
|
|
|
;;BOOT_MOUSE_PORT equ 0x9010 ;byte mouse port - not used
|
2011-05-30 12:11:03 +02:00
|
|
|
|
BOOT_BANK_SW equ 0x9014 ;dword Vesa 1.2 pm bank switch
|
|
|
|
|
BOOT_LFB equ 0x9018 ;dword Vesa 2.0 LFB address
|
|
|
|
|
BOOT_MTRR equ 0x901C ;byte 0 or 1 : enable MTRR graphics acceleration
|
|
|
|
|
BOOT_LOG equ 0x901D ;byte not used anymore (0 or 1 : enable system log display)
|
|
|
|
|
BOOT_DIRECT_LFB equ 0x901E ;byte 0 or 1 : enable direct lfb write, paging disabled
|
|
|
|
|
BOOT_PCI_DATA equ 0x9020 ;8bytes pci data
|
|
|
|
|
BOOT_VRR equ 0x9030 ;byte VRR start enabled 1, 2-no
|
|
|
|
|
BOOT_IDE_BASE_ADDR equ 0x9031 ;word IDEContrRegsBaseAddr
|
|
|
|
|
BOOT_MEM_AMOUNT equ 0x9034 ;dword memory amount
|
|
|
|
|
|
|
|
|
|
TMP_FILE_NAME equ 0
|
|
|
|
|
TMP_CMD_LINE equ 1024
|
|
|
|
|
TMP_ICON_OFFS equ 1280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EVENT_REDRAW equ 0x00000001
|
|
|
|
|
EVENT_KEY equ 0x00000002
|
|
|
|
|
EVENT_BUTTON equ 0x00000004
|
2010-06-25 18:47:51 +02:00
|
|
|
|
EVENT_BACKGROUND equ 0x00000010
|
2011-05-30 12:11:03 +02:00
|
|
|
|
EVENT_MOUSE equ 0x00000020
|
|
|
|
|
EVENT_IPC equ 0x00000040
|
|
|
|
|
EVENT_NETWORK equ 0x00000080
|
|
|
|
|
EVENT_DEBUG equ 0x00000100
|
|
|
|
|
EVENT_EXTENDED equ 0x00000200
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
EV_INTR equ 1
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
struc THR_DATA
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
rb (8192-512)
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.pl0_stack:
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.fpu_state rb 512
|
|
|
|
|
.tls_page rb 4096
|
|
|
|
|
.pdbr rb 4096
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
THR_DATA_SIZE equ 4096*4
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
virtual at (OS_BASE-THR_DATA_SIZE)
|
|
|
|
|
thr_data THR_DATA
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
struc SYS_VARS
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .bpp dd ?
|
|
|
|
|
.scanline dd ?
|
|
|
|
|
.vesa_mode dd ?
|
|
|
|
|
.x_res dd ?
|
|
|
|
|
.y_res dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
struc APPOBJ ;common object header
|
2010-06-25 18:47:51 +02:00
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.magic dd ? ;
|
|
|
|
|
.destroy dd ? ;internal destructor
|
|
|
|
|
.fd dd ? ;next object in list
|
|
|
|
|
.bk dd ? ;prev object in list
|
|
|
|
|
.pid dd ? ;owner id
|
2010-06-25 18:47:51 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
APPOBJ APPOBJ
|
|
|
|
|
end virtual
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
APP_OBJ_OFFSET equ 48
|
|
|
|
|
APP_EV_OFFSET equ 40
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
struc CURSOR
|
|
|
|
|
{
|
|
|
|
|
;common object header
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.magic dd ? ;'CURS'
|
|
|
|
|
.destroy dd ? ;internal destructor
|
|
|
|
|
.fd dd ? ;next object in list
|
|
|
|
|
.bk dd ? ;prev object in list
|
|
|
|
|
.pid dd ? ;owner id
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
;cursor data
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.base dd ? ;allocated memory
|
|
|
|
|
.hot_x dd ? ;hotspot coords
|
|
|
|
|
.hot_y dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.list_next dd ? ;next cursor in cursor list
|
|
|
|
|
.list_prev dd ? ;prev cursor in cursor list
|
|
|
|
|
.dev_obj dd ? ;device depended data
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
.sizeof:
|
|
|
|
|
}
|
|
|
|
|
virtual at 0
|
|
|
|
|
CURSOR CURSOR
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struc EVENT
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.magic dd ? ;'EVNT'
|
|
|
|
|
.destroy dd ? ;internal destructor
|
|
|
|
|
.fd dd ? ;next object in list
|
|
|
|
|
.bk dd ? ;prev object in list
|
|
|
|
|
.pid dd ? ;owner id
|
|
|
|
|
|
|
|
|
|
.id dd ? ;event uid
|
|
|
|
|
.state dd ? ;internal flags
|
|
|
|
|
.code dd ?
|
|
|
|
|
rd 5
|
|
|
|
|
.size = $ - .magic
|
|
|
|
|
.codesize = $ - .code
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
EVENT EVENT
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struc SMEM
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.bk dd ?
|
|
|
|
|
.fd dd ? ;+4
|
|
|
|
|
.base dd ? ;+8
|
|
|
|
|
.size dd ? ;+12
|
|
|
|
|
.access dd ? ;+16
|
|
|
|
|
.refcount dd ? ;+20
|
|
|
|
|
.name rb 32 ;+24
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.sizeof:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struc SMAP
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.magic dd ? ; SMAP
|
|
|
|
|
.destroy dd ? ;internal destructor
|
|
|
|
|
.fd dd ? ;next object in list
|
|
|
|
|
.bk dd ? ;prev object in list
|
|
|
|
|
.pid dd ? ;owner id
|
|
|
|
|
|
|
|
|
|
.base dd ? ;mapped base
|
|
|
|
|
.parent dd ? ;SMEM
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.sizeof:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
SMEM SMEM
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
SMAP SMAP
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
struc DLLDESCR
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.bk dd ?
|
|
|
|
|
.fd dd ? ;+4
|
|
|
|
|
.data dd ? ;+8
|
|
|
|
|
.size dd ? ;+12
|
|
|
|
|
.timestamp dq ?
|
|
|
|
|
.refcount dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.defaultbase dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.coff_hdr dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.symbols_ptr dd ?
|
|
|
|
|
.symbols_num dd ?
|
|
|
|
|
.symbols_lim dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.exports dd ? ;export table
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.name:
|
|
|
|
|
.sizeof:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struc HDLL
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.fd dd ? ;next object in list
|
|
|
|
|
.bk dd ? ;prev object in list
|
|
|
|
|
.pid dd ? ;owner id
|
|
|
|
|
|
|
|
|
|
.base dd ? ;mapped base
|
|
|
|
|
.size dd ? ;mapped size
|
|
|
|
|
.refcount dd ? ;reference counter for this process and this lib
|
|
|
|
|
.parent dd ? ;DLLDESCR
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.sizeof:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
DLLDESCR DLLDESCR
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
HDLL HDLL
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
struc display_t
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.x dd ?
|
|
|
|
|
.y dd ?
|
|
|
|
|
.width dd ?
|
|
|
|
|
.height dd ?
|
|
|
|
|
.bpp dd ?
|
|
|
|
|
.vrefresh dd ?
|
|
|
|
|
.pitch dd ?
|
|
|
|
|
.lfb dd ?
|
|
|
|
|
|
|
|
|
|
.modes dd ?
|
|
|
|
|
.ddev dd ?
|
|
|
|
|
.connector dd ?
|
|
|
|
|
.crtc dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
.cr_list.next dd ?
|
|
|
|
|
.cr_list.prev dd ?
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.cursor dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
|
|
|
|
|
.init_cursor dd ?
|
|
|
|
|
.select_cursor dd ?
|
|
|
|
|
.show_cursor dd ?
|
|
|
|
|
.move_cursor dd ?
|
|
|
|
|
.restore_cursor dd ?
|
|
|
|
|
.disable_mouse dd ?
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
display_t display_t
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
struc HEAP_DATA
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.mutex rd 1
|
|
|
|
|
.refcount rd 1
|
|
|
|
|
.heap_base rd 1
|
|
|
|
|
.heap_top rd 1
|
|
|
|
|
.app_mem rd 1
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
HEAP_DATA_SIZE equ 20
|
2010-06-25 18:47:51 +02:00
|
|
|
|
virtual at 0
|
|
|
|
|
HEAP_DATA HEAP_DATA
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
struc BOOT_DATA
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .bpp dd ?
|
|
|
|
|
.scanline dd ?
|
|
|
|
|
.vesa_mode dd ?
|
|
|
|
|
.x_res dd ?
|
|
|
|
|
.y_res dd ?
|
|
|
|
|
.mouse_port dd ?
|
|
|
|
|
.bank_switch dd ?
|
|
|
|
|
.lfb dd ?
|
|
|
|
|
.vesa_mem dd ?
|
|
|
|
|
.log dd ?
|
|
|
|
|
.direct_lfb dd ?
|
|
|
|
|
.pci_data dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
; dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.vrr dd ?
|
|
|
|
|
.ide_base dd ?
|
|
|
|
|
.mem_amount dd ?
|
|
|
|
|
.pages_count dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.pagemap_size dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.kernel_max dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.kernel_pages dd ?
|
|
|
|
|
.kernel_tables dd ?
|
|
|
|
|
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.cpu_vendor dd ?
|
|
|
|
|
dd ?
|
|
|
|
|
dd ?
|
|
|
|
|
.cpu_sign dd ?
|
|
|
|
|
.cpu_info dd ?
|
|
|
|
|
.cpu_caps dd ?
|
|
|
|
|
dd ?
|
|
|
|
|
dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
BOOT_DATA BOOT_DATA
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
struc MEM_STATE
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .mutex rd 1
|
|
|
|
|
.smallmap rd 1
|
|
|
|
|
.treemap rd 1
|
|
|
|
|
.topsize rd 1
|
|
|
|
|
.top rd 1
|
|
|
|
|
.smallbins rd 4*32
|
|
|
|
|
.treebins rd 32
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struc PG_DATA
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .mem_amount dd ?
|
|
|
|
|
.vesa_mem dd ?
|
|
|
|
|
.pages_count dd ?
|
|
|
|
|
.pages_free dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.pages_faults dd ?
|
|
|
|
|
.pagemap_size dd ?
|
|
|
|
|
.kernel_pages dd ?
|
|
|
|
|
.kernel_tables dd ?
|
|
|
|
|
.sys_page_dir dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.pg_mutex dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
;struc LIB
|
|
|
|
|
;{ .lib_name rb 16
|
|
|
|
|
; .lib_base dd ?
|
|
|
|
|
; .lib_start dd ?
|
|
|
|
|
; .export dd ?
|
|
|
|
|
; .import dd ?
|
|
|
|
|
;}
|
|
|
|
|
|
|
|
|
|
struc SRV
|
|
|
|
|
{
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.srv_name rb 16 ;ASCIIZ string
|
|
|
|
|
.magic dd ? ;+0x10 ;'SRV '
|
|
|
|
|
.size dd ? ;+0x14 ;size of structure SRV
|
|
|
|
|
.fd dd ? ;+0x18 ;next SRV descriptor
|
|
|
|
|
.bk dd ? ;+0x1C ;prev SRV descriptor
|
|
|
|
|
.base dd ? ;+0x20 ;service base address
|
|
|
|
|
.entry dd ? ;+0x24 ;service START function
|
|
|
|
|
.srv_proc dd ? ;+0x28 ;user mode service handler
|
|
|
|
|
.srv_proc_ex dd ? ;+0x2C ;kernel mode service handler
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.sizeof:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SRV_FD_OFFSET equ 0x18
|
|
|
|
|
|
|
|
|
|
DRV_ENTRY equ 1
|
|
|
|
|
DRV_EXIT equ -1
|
|
|
|
|
|
|
|
|
|
struc COFF_HEADER
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .machine dw ?
|
|
|
|
|
.nSections dw ?
|
|
|
|
|
.DataTime dd ?
|
|
|
|
|
.pSymTable dd ?
|
|
|
|
|
.nSymbols dd ?
|
|
|
|
|
.optHeader dw ?
|
|
|
|
|
.flags dw ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struc COFF_SECTION
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .Name rb 8
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.VirtualSize dd ?
|
|
|
|
|
.VirtualAddress dd ?
|
|
|
|
|
.SizeOfRawData dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.PtrRawData dd ?
|
|
|
|
|
.PtrReloc dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.PtrLinenumbers dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.NumReloc dw ?
|
|
|
|
|
.NumLinenum dw ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.Characteristics dd ?
|
|
|
|
|
}
|
|
|
|
|
COFF_SECTION_SIZE equ 40
|
|
|
|
|
|
|
|
|
|
struc COFF_RELOC
|
|
|
|
|
{ .VirtualAddress dd ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.SymIndex dd ?
|
|
|
|
|
.Type dw ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struc COFF_SYM
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .Name rb 8
|
|
|
|
|
.Value dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.SectionNumber dw ?
|
2011-05-30 12:11:03 +02:00
|
|
|
|
.Type dw ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
.StorageClass db ?
|
|
|
|
|
.NumAuxSymbols db ?
|
|
|
|
|
}
|
|
|
|
|
CSYM_SIZE equ 18
|
|
|
|
|
|
|
|
|
|
struc IOCTL
|
2011-05-30 12:11:03 +02:00
|
|
|
|
{ .handle dd ?
|
|
|
|
|
.io_code dd ?
|
|
|
|
|
.input dd ?
|
|
|
|
|
.inp_size dd ?
|
|
|
|
|
.output dd ?
|
|
|
|
|
.out_size dd ?
|
2010-06-25 18:47:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
IOCTL IOCTL
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
;virtual at 0
|
|
|
|
|
; LIB LIB
|
|
|
|
|
;end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
SRV SRV
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
CFH COFF_HEADER
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
CFS COFF_SECTION
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
CRELOC COFF_RELOC
|
|
|
|
|
end virtual
|
|
|
|
|
|
|
|
|
|
virtual at 0
|
|
|
|
|
CSYM COFF_SYM
|
|
|
|
|
end virtual
|