49 lines
1,017 B
HTML
49 lines
1,017 B
HTML
KBASE = 0xC0000000
|
|
PSIZE = 0x1000
|
|
|
|
STPDBOOT_MAGIC = 0x53545044
|
|
|
|
; --------- VERSION -------------
|
|
VERSION_MAJOR = 1
|
|
VERSION_MINOR = 0
|
|
|
|
; --------- Registers ------------
|
|
CR0_PE = 0x00000001
|
|
CR0_MP = 0x00000002
|
|
CR0_EM = 0x00000004
|
|
CR0_TS = 0x00000008
|
|
CR0_ET = 0x00000010
|
|
CR0_NE = 0x00000020
|
|
CR0_WP = 0x00010000
|
|
CR0_AM = 0x00040000
|
|
CR0_NW = 0x20000000
|
|
CR0_CD = 0x40000000
|
|
CR0_PG = 0x80000000
|
|
|
|
CR3_PWT = 0x08
|
|
CR3_PCD = 0x10
|
|
|
|
CR4_VME = 0x0000001
|
|
CR4_PVI = 0x0000002
|
|
CR4_TSD = 0x0000004
|
|
CR4_DE = 0x0000008
|
|
CR4_PSE = 0x0000010
|
|
CR4_PAE = 0x0000020
|
|
CR4_MCE = 0x0000040
|
|
CR4_PGE = 0x0000080
|
|
CR4_PCE = 0x0000100
|
|
CR4_OSDXSR = 0x0000200
|
|
CR4_OSXMMEXCPT = 0x0000400
|
|
CR4_UMIP = 0x0000800
|
|
CR4_VMXE = 0x0002000
|
|
CR4_SMXE = 0x0004000
|
|
CR4_FSGSBASE = 0x0010000
|
|
CR4_PCIDE = 0x0020000
|
|
CR4_OSXSAVE = 0x0040000
|
|
CR4_SMEP = 0x0100000
|
|
CR4_SMAP = 0x0200000
|
|
CR4_PKE = 0x0400000
|
|
CR4_CET = 0x0800000
|
|
CR4_PKS = 0x1000000
|
|
|