ReactOS 0.4.16-dev-336-gb667d82
ketypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  _CPU_INFO
 
struct  _KTRAP_FRAME
 
union  _KGDTENTRY64
 
struct  _KIDT_ACCESS
 
union  _KIDTENTRY64
 
struct  _KDESCRIPTOR
 
struct  _KSPECIAL_REGISTERS
 
struct  _KPROCESSOR_STATE
 
struct  _KREQUEST_PACKET
 
struct  _REQUEST_MAILBOX
 
struct  _KPRCB
 
struct  _KIPCR
 
struct  _KiIoAccessMap
 
struct  _KTSS64
 
struct  _KEXCEPTION_FRAME
 
struct  _MACHINE_FRAME
 
struct  _UCALLOUT_FRAME
 
struct  _KUSER_EXCEPTION_STACK
 
struct  _DISPATCHER_CONTEXT
 
struct  _KSTART_FRAME
 
struct  _KSWITCH_FRAME
 
struct  _KPROCESSOR_START_BLOCK
 

Macros

#define KF_SMEP   0x00000001
 
#define KF_RDTSC   0x00000002
 
#define KF_CR4   0x00000004
 
#define KF_CMOV   0x00000008
 
#define KF_GLOBAL_PAGE   0x00000010
 
#define KF_LARGE_PAGE   0x00000020
 
#define KF_MTRR   0x00000040
 
#define KF_CMPXCHG8B   0x00000080
 
#define KF_MMX   0x00000100
 
#define KF_DTS   0x00000200
 
#define KF_PAT   0x00000400
 
#define KF_FXSR   0x00000800
 
#define KF_FAST_SYSCALL   0x00001000
 
#define KF_XMMI   0x00002000
 
#define KF_3DNOW   0x00004000
 
#define KF_AMDK6MTRR   0x00008000
 
#define KF_XSAVEOPT   0x00008000
 
#define KF_XMMI64   0x00010000
 
#define KF_BRANCH   0x00020000
 
#define KF_00040000   0x00040000
 
#define KF_SSE3   0x00080000
 
#define KF_CMPXCHG16B   0x00100000
 
#define KF_AUTHENTICAMD   0x00200000
 
#define KF_ACNT2   0x00400000
 
#define KF_XSTATE   0x00800000
 
#define KF_GENUINE_INTEL   0x01000000
 
#define KF_02000000   0x02000000
 
#define KF_SLAT   0x04000000
 
#define KF_VIRT_FIRMWARE_ENABLED   0x08000000
 
#define KF_RDWRFSGSBASE   0x10000000
 
#define KF_NX_BIT   0x20000000
 
#define KF_NX_DISABLED   0x40000000
 
#define KF_NX_ENABLED   0x80000000
 
#define KF_RDRAND   0x0000000100000000ULL
 
#define KF_SMAP   0x0000000200000000ULL
 
#define KF_RDTSCP   0x0000000400000000ULL
 
#define KF_HUGEPAGE   0x0000002000000000ULL
 
#define KF_XSAVES   0x0000004000000000ULL
 
#define KF_FPU_LEAKAGE   0x0000020000000000ULL
 
#define KF_CAT   0x0000100000000000ULL
 
#define KF_CET_SS   0x0000400000000000ULL
 
#define KF_SSSE3   0x0000800000000000ULL
 
#define KF_SSE4_1   0x0001000000000000ULL
 
#define KF_SSE4_2   0x0002000000000000ULL
 
#define KF_XSAVEOPT_BIT   15
 
#define KF_XSTATE_BIT   23
 
#define KF_RDWRFSGSBASE_BIT   28
 
#define KF_XSAVES_BIT   38
 
#define KF_FPU_LEAKAGE_BIT   41
 
#define KF_CAT_BIT   44
 
#define DOUBLE_FAULT_STACK_SIZE   0x2000
 
#define MACHINE_TYPE_ISA   0x0000
 
#define MACHINE_TYPE_EISA   0x0001
 
#define MACHINE_TYPE_MCA   0x0002
 
#define I386_TASK_GATE   0x5
 
#define I386_TSS   0x9
 
#define I386_ACTIVE_TSS   0xB
 
#define I386_CALL_GATE   0xC
 
#define I386_INTERRUPT_GATE   0xE
 
#define I386_TRAP_GATE   0xF
 
#define RPL_MASK   0x0003
 
#define MODE_MASK   0x0001
 
#define KGDT64_NULL   0x0000
 
#define KGDT64_R0_CODE   0x0010
 
#define KGDT64_R0_DATA   0x0018
 
#define KGDT64_R3_CMCODE   0x0020
 
#define KGDT64_R3_DATA   0x0028
 
#define KGDT64_R3_CODE   0x0030
 
#define KGDT64_SYS_TSS   0x0040
 
#define KGDT64_R3_CMTEB   0x0050
 
#define KGDT64_R0_LDT   0x0060
 
#define CR4_VME   0x1
 
#define CR4_PVI   0x2
 
#define CR4_TSD   0x4
 
#define CR4_DE   0x8
 
#define CR4_PSE   0x10
 
#define CR4_PAE   0x20
 
#define CR4_MCE   0x40
 
#define CR4_PGE   0x80
 
#define CR4_FXSR   0x200
 
#define CR4_XMMEXCPT   0x400
 
#define CR4_CHANNELS   0x800
 
#define CR4_XSAVE   0x40000
 
#define DR7_LEGAL   0xFFFF0355
 
#define DR7_ACTIVE   0x00000355
 
#define DR7_TRACE_BRANCH   0x00000200
 
#define DR7_LAST_BRANCH   0x00000100
 
#define DEBUG_ACTIVE_DR7   0x0001
 
#define DEBUG_ACTIVE_INSTRUMENTED   0x0002
 
#define DEBUG_ACTIVE_DBG_INSTRUMENTED   0x0003
 
#define DEBUG_ACTIVE_MINIMAL_THREAD   0x0004
 
#define DEBUG_ACTIVE_PRIMARY_THREAD   0x0080
 
#define DEBUG_ACTIVE_PRIMARY_THREAD_BIT   0x0007
 
#define DEBUG_ACTIVE_PRIMARY_THREAD_LOCK_BIT   0x001F
 
#define DEBUG_ACTIVE_SCHEDULED_THREAD   0x0040
 
#define DEBUG_ACTIVE_SCHEDULED_THREAD_BIT   0x0006
 
#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK_BIT   0x001E
 
#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK   0x40000000
 
#define EFLAGS_CF   0x01L
 
#define EFLAGS_ZF   0x40L
 
#define EFLAGS_TF   0x100L
 
#define EFLAGS_INTERRUPT_MASK   0x200L
 
#define EFLAGS_DF   0x400L
 
#define EFLAGS_IOPL   0x3000L
 
#define EFLAGS_NESTED_TASK   0x4000L
 
#define EFLAGS_RF   0x10000
 
#define EFLAGS_V86_MASK   0x20000
 
#define EFLAGS_ALIGN_CHECK   0x40000
 
#define EFLAGS_VIF   0x80000
 
#define EFLAGS_VIP   0x100000
 
#define EFLAGS_ID   0x200000
 
#define EFLAGS_USER_SANITIZE   0x3F4DD7
 
#define EFLAG_SIGN   0x8000
 
#define EFLAG_ZERO   0x4000
 
#define EFLAGS_TF_MASK   0x0100
 
#define EFLAGS_TF_SHIFT   0x0008
 
#define EFLAGS_ID_MASK   0x200000
 
#define EFLAGS_IF_MASK   0x0200
 
#define EFLAGS_IF_SHIFT   0x0009
 
#define XSW_INVALID_OPERATION   0x0001
 
#define XSW_DENORMAL   0x0002
 
#define XSW_ZERO_DIVIDE   0x0004
 
#define XSW_OVERFLOW   0x0008
 
#define XSW_UNDERFLOW   0x0010
 
#define XSW_PRECISION   0x0020
 
#define XCW_INVALID_OPERATION   0x0080
 
#define XCW_DENORMAL   0x0100
 
#define XCW_ZERO_DIVIDE   0x0200
 
#define XCW_OVERFLOW   0x0400
 
#define XCW_UNDERFLOW   0x0800
 
#define XCW_PRECISION   0x1000
 
#define XCW_ROUND_CONTROL   0x6000
 
#define XCW_FLUSH_ZERO   0x8000
 
#define XSW_ERROR_MASK   0x003F
 
#define XSW_ERROR_SHIFT   7
 
#define FSW_INVALID_OPERATION   0x0001
 
#define FSW_DENORMAL   0x0002
 
#define FSW_ZERO_DIVIDE   0x0004
 
#define FSW_OVERFLOW   0x0008
 
#define FSW_UNDERFLOW   0x0010
 
#define FSW_PRECISION   0x0020
 
#define FSW_STACK_FAULT   0x0040
 
#define FSW_ERROR_SUMMARY   0x0080
 
#define FSW_CONDITION_CODE_0   0x0100
 
#define FSW_CONDITION_CODE_1   0x0200
 
#define FSW_CONDITION_CODE_2   0x0400
 
#define FSW_CONDITION_CODE_3   0x4000
 
#define FSW_ERROR_MASK   0x003F
 
#define MSR_EFER   0xC0000080
 
#define MSR_STAR   0xC0000081
 
#define MSR_LSTAR   0xC0000082
 
#define MSR_CSTAR   0xC0000083
 
#define MSR_SYSCALL_MASK   0xC0000084
 
#define MSR_FS_BASE   0xC0000100
 
#define MSR_GS_BASE   0xC0000101
 
#define MSR_GS_SWAP   0xC0000102
 
#define MSR_MCG_STATUS   0x017A
 
#define MSR_AMD_ACCESS   0x9C5A203A
 
#define MSR_IA32_MISC_ENABLE   0x000001A0
 
#define MSR_LAST_BRANCH_FROM   0x01DB
 
#define MSR_LAST_BRANCH_TO   0x01DC
 
#define MSR_LAST_EXCEPTION_FROM   0x01DD
 
#define MSR_LAST_EXCEPTION_TO   0x01DE
 
#define PAT_UC   0ULL
 
#define PAT_WC   1ULL
 
#define PAT_WT   4ULL
 
#define PAT_WP   5ULL
 
#define PAT_WB   6ULL
 
#define PAT_UCM   7ULL
 
#define MSR_SCE   0x0001
 
#define MSR_LME   0x0100
 
#define MSR_LMA   0x0400
 
#define MSR_NXE   0x0800
 
#define MSR_PAT   0x0277
 
#define MSR_DEBUG_CTL   0x01D9
 
#define MSR_XD_ENABLE_MASK   0xFFFFFFFB
 
#define MSR_DEBUG_CTL_LBR   0x0001
 
#define MSR_DEBUG_CTL_BTF   0x0002
 
#define IPI_APC   1
 
#define IPI_DPC   2
 
#define IPI_FREEZE   4
 
#define IPI_PACKET_READY   8
 
#define IPI_SYNCH_REQUEST   16
 
#define IPI_FROZEN_STATE_RUNNING   0
 
#define IPI_FROZEN_STATE_FROZEN   2
 
#define IPI_FROZEN_STATE_THAW   3
 
#define IPI_FROZEN_STATE_OWNER   4
 
#define IPI_FROZEN_STATE_TARGET_FREEZE   5
 
#define IPI_FROZEN_FLAG_ACTIVE   0x20
 
#define PRCB_MINOR_VERSION   1
 
#define PRCB_MAJOR_VERSION   1
 
#define PRCB_BUILD_DEBUG   1
 
#define PRCB_BUILD_UNIPROCESSOR   2
 
#define KEXCEPTION_ACTIVE_INTERRUPT_FRAME   0x0000
 
#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME   0x0001
 
#define KEXCEPTION_ACTIVE_SERVICE_FRAME   0x0002
 
#define INITIAL_STALL_COUNT   100
 
#define MM_HAL_VA_START   0xFFFFFFFFFFC00000ULL /* This is Vista+ */
 
#define MM_HAL_VA_END   0xFFFFFFFFFFFFFFFFULL
 
#define APIC_BASE   0xFFFFFFFFFFFE0000ULL
 
#define IO_ACCESS_MAP_NONE   0
 
#define IOPM_OFFSET   FIELD_OFFSET(KTSS, IoMaps[0].IoMap)
 
#define KiComputeIopmOffset(MapNumber)
 
#define KSEG0_BASE   0xfffff80000000000ULL
 
#define NMI_STACK_SIZE   0x2000
 
#define ISR_STACK_SIZE   0x6000
 
#define SYNCH_LEVEL   DISPATCH_LEVEL
 
#define NUMBER_POOL_LOOKASIDE_LISTS   32
 
#define _LDT_ENTRY_DEFINED
 
#define KGDTENTRY   KGDTENTRY64
 
#define PKGDTENTRY   PKGDTENTRY64
 
#define KIDTENTRY   KIDTENTRY64
 
#define PKIDTENTRY   PKIDTENTRY64
 
#define KTSS   KTSS64
 
#define PKTSS   PKTSS64
 
#define PROCESSOR_START_FLAG_FORCE_ENABLE_NX   0x0001
 

Typedefs

typedef union _CPU_INFO CPU_INFO
 
typedef union _CPU_INFOPCPU_INFO
 
typedef struct _KTRAP_FRAME KTRAP_FRAME
 
typedef struct _KTRAP_FRAMEPKTRAP_FRAME
 
typedef ULONG LDT_ENTRY
 
typedef union _KGDTENTRY64 KGDTENTRY64
 
typedef union _KGDTENTRY64PKGDTENTRY64
 
typedef struct _KIDT_ACCESS KIDT_ACCESS
 
typedef struct _KIDT_ACCESSPKIDT_ACCESS
 
typedef union _KIDTENTRY64 KIDTENTRY64
 
typedef union _KIDTENTRY64PKIDTENTRY64
 
typedef struct _KDESCRIPTOR KDESCRIPTOR
 
typedef struct _KDESCRIPTORPKDESCRIPTOR
 
typedef struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
 
typedef struct _KSPECIAL_REGISTERSPKSPECIAL_REGISTERS
 
typedef struct _KPROCESSOR_STATE KPROCESSOR_STATE
 
typedef struct _KPROCESSOR_STATEPKPROCESSOR_STATE
 
typedef struct _KREQUEST_PACKET KREQUEST_PACKET
 
typedef struct _KREQUEST_PACKETPKREQUEST_PACKET
 
typedef struct _REQUEST_MAILBOX REQUEST_MAILBOX
 
typedef struct _REQUEST_MAILBOXPREQUEST_MAILBOX
 
typedef struct _KPRCB KPRCB
 
typedef struct _KPRCBPKPRCB
 
typedef struct _KIPCR KIPCR
 
typedef struct _KIPCRPKIPCR
 
typedef struct _KiIoAccessMap KIIO_ACCESS_MAP
 
typedef struct _KTSS64 KTSS64
 
typedef struct _KTSS64PKTSS64
 
typedef struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
 
typedef struct _KEXCEPTION_FRAMEPKEXCEPTION_FRAME
 
typedef struct _MACHINE_FRAME MACHINE_FRAME
 
typedef struct _MACHINE_FRAMEPMACHINE_FRAME
 
typedef KEXCEPTION_FRAME KCALLOUT_FRAME
 
typedef KEXCEPTION_FRAMEPKCALLOUT_FRAME
 
typedef struct _UCALLOUT_FRAME UCALLOUT_FRAME
 
typedef struct _UCALLOUT_FRAMEPUCALLOUT_FRAME
 
typedef struct _KUSER_EXCEPTION_STACK KUSER_EXCEPTION_STACK
 
typedef struct _KUSER_EXCEPTION_STACKPKUSER_EXCEPTION_STACK
 
typedef struct _DISPATCHER_CONTEXT DISPATCHER_CONTEXT
 
typedef struct _DISPATCHER_CONTEXTPDISPATCHER_CONTEXT
 
typedef struct _KSTART_FRAME KSTART_FRAME
 
typedef struct _KSTART_FRAMEPKSTART_FRAME
 
typedef struct _KSWITCH_FRAME KSWITCH_FRAME
 
typedef struct _KSWITCH_FRAMEPKSWITCH_FRAME
 
typedef struct _KPROCESSOR_START_BLOCK KPROCESSOR_START_BLOCK
 
typedef struct _KPROCESSOR_START_BLOCKPKPROCESSOR_START_BLOCK
 

Enumerations

enum  CPU_VENDORS {
  CPU_UNKNOWN , CPU_AMD , CPU_INTEL , CPU_VIA ,
  CPU_UNKNOWN = 0 , CPU_NONE = 0 , CPU_INTEL = 1 , CPU_AMD = 2 ,
  CPU_CYRIX = 3 , CPU_TRANSMETA = 4 , CPU_VIA = 5 , CPU_CENTAUR = CPU_VIA ,
  CPU_RISE = 6 , CPU_UNKNOWN = 7
}
 

Functions

FORCEINLINE struct _KPRCBKeGetCurrentPrcb (VOID)
 

Macro Definition Documentation

◆ _LDT_ENTRY_DEFINED

#define _LDT_ENTRY_DEFINED

Definition at line 470 of file ketypes.h.

◆ APIC_BASE

#define APIC_BASE   0xFFFFFFFFFFFE0000ULL

Definition at line 328 of file ketypes.h.

◆ CR4_CHANNELS

#define CR4_CHANNELS   0x800

Definition at line 144 of file ketypes.h.

◆ CR4_DE

#define CR4_DE   0x8

Definition at line 137 of file ketypes.h.

◆ CR4_FXSR

#define CR4_FXSR   0x200

Definition at line 142 of file ketypes.h.

◆ CR4_MCE

#define CR4_MCE   0x40

Definition at line 140 of file ketypes.h.

◆ CR4_PAE

#define CR4_PAE   0x20

Definition at line 139 of file ketypes.h.

◆ CR4_PGE

#define CR4_PGE   0x80

Definition at line 141 of file ketypes.h.

◆ CR4_PSE

#define CR4_PSE   0x10

Definition at line 138 of file ketypes.h.

◆ CR4_PVI

#define CR4_PVI   0x2

Definition at line 135 of file ketypes.h.

◆ CR4_TSD

#define CR4_TSD   0x4

Definition at line 136 of file ketypes.h.

◆ CR4_VME

#define CR4_VME   0x1

Definition at line 134 of file ketypes.h.

◆ CR4_XMMEXCPT

#define CR4_XMMEXCPT   0x400

Definition at line 143 of file ketypes.h.

◆ CR4_XSAVE

#define CR4_XSAVE   0x40000

Definition at line 145 of file ketypes.h.

◆ DEBUG_ACTIVE_DBG_INSTRUMENTED

#define DEBUG_ACTIVE_DBG_INSTRUMENTED   0x0003

Definition at line 160 of file ketypes.h.

◆ DEBUG_ACTIVE_DR7

#define DEBUG_ACTIVE_DR7   0x0001

Definition at line 158 of file ketypes.h.

◆ DEBUG_ACTIVE_INSTRUMENTED

#define DEBUG_ACTIVE_INSTRUMENTED   0x0002

Definition at line 159 of file ketypes.h.

◆ DEBUG_ACTIVE_MINIMAL_THREAD

#define DEBUG_ACTIVE_MINIMAL_THREAD   0x0004

Definition at line 161 of file ketypes.h.

◆ DEBUG_ACTIVE_PRIMARY_THREAD

#define DEBUG_ACTIVE_PRIMARY_THREAD   0x0080

Definition at line 162 of file ketypes.h.

◆ DEBUG_ACTIVE_PRIMARY_THREAD_BIT

#define DEBUG_ACTIVE_PRIMARY_THREAD_BIT   0x0007

Definition at line 163 of file ketypes.h.

◆ DEBUG_ACTIVE_PRIMARY_THREAD_LOCK_BIT

#define DEBUG_ACTIVE_PRIMARY_THREAD_LOCK_BIT   0x001F

Definition at line 164 of file ketypes.h.

◆ DEBUG_ACTIVE_SCHEDULED_THREAD

#define DEBUG_ACTIVE_SCHEDULED_THREAD   0x0040

Definition at line 165 of file ketypes.h.

◆ DEBUG_ACTIVE_SCHEDULED_THREAD_BIT

#define DEBUG_ACTIVE_SCHEDULED_THREAD_BIT   0x0006

Definition at line 166 of file ketypes.h.

◆ DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK

#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK   0x40000000

Definition at line 168 of file ketypes.h.

◆ DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK_BIT

#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK_BIT   0x001E

Definition at line 167 of file ketypes.h.

◆ DOUBLE_FAULT_STACK_SIZE

#define DOUBLE_FAULT_STACK_SIZE   0x2000

Definition at line 86 of file ketypes.h.

◆ DR7_ACTIVE

#define DR7_ACTIVE   0x00000355

Definition at line 151 of file ketypes.h.

◆ DR7_LAST_BRANCH

#define DR7_LAST_BRANCH   0x00000100

Definition at line 153 of file ketypes.h.

◆ DR7_LEGAL

#define DR7_LEGAL   0xFFFF0355

Definition at line 150 of file ketypes.h.

◆ DR7_TRACE_BRANCH

#define DR7_TRACE_BRANCH   0x00000200

Definition at line 152 of file ketypes.h.

◆ EFLAG_SIGN

#define EFLAG_SIGN   0x8000

Definition at line 188 of file ketypes.h.

◆ EFLAG_ZERO

#define EFLAG_ZERO   0x4000

Definition at line 189 of file ketypes.h.

◆ EFLAGS_ALIGN_CHECK

#define EFLAGS_ALIGN_CHECK   0x40000

Definition at line 183 of file ketypes.h.

◆ EFLAGS_CF

#define EFLAGS_CF   0x01L

Definition at line 173 of file ketypes.h.

◆ EFLAGS_DF

#define EFLAGS_DF   0x400L

Definition at line 177 of file ketypes.h.

◆ EFLAGS_ID

#define EFLAGS_ID   0x200000

Definition at line 186 of file ketypes.h.

◆ EFLAGS_ID_MASK

#define EFLAGS_ID_MASK   0x200000

Definition at line 192 of file ketypes.h.

◆ EFLAGS_IF_MASK

#define EFLAGS_IF_MASK   0x0200

Definition at line 193 of file ketypes.h.

◆ EFLAGS_IF_SHIFT

#define EFLAGS_IF_SHIFT   0x0009

Definition at line 194 of file ketypes.h.

◆ EFLAGS_INTERRUPT_MASK

#define EFLAGS_INTERRUPT_MASK   0x200L

Definition at line 176 of file ketypes.h.

◆ EFLAGS_IOPL

#define EFLAGS_IOPL   0x3000L

Definition at line 178 of file ketypes.h.

◆ EFLAGS_NESTED_TASK

#define EFLAGS_NESTED_TASK   0x4000L

Definition at line 179 of file ketypes.h.

◆ EFLAGS_RF

#define EFLAGS_RF   0x10000

Definition at line 181 of file ketypes.h.

◆ EFLAGS_TF

#define EFLAGS_TF   0x100L

Definition at line 175 of file ketypes.h.

◆ EFLAGS_TF_MASK

#define EFLAGS_TF_MASK   0x0100

Definition at line 190 of file ketypes.h.

◆ EFLAGS_TF_SHIFT

#define EFLAGS_TF_SHIFT   0x0008

Definition at line 191 of file ketypes.h.

◆ EFLAGS_USER_SANITIZE

#define EFLAGS_USER_SANITIZE   0x3F4DD7

Definition at line 187 of file ketypes.h.

◆ EFLAGS_V86_MASK

#define EFLAGS_V86_MASK   0x20000

Definition at line 182 of file ketypes.h.

◆ EFLAGS_VIF

#define EFLAGS_VIF   0x80000

Definition at line 184 of file ketypes.h.

◆ EFLAGS_VIP

#define EFLAGS_VIP   0x100000

Definition at line 185 of file ketypes.h.

◆ EFLAGS_ZF

#define EFLAGS_ZF   0x40L

Definition at line 174 of file ketypes.h.

◆ FSW_CONDITION_CODE_0

#define FSW_CONDITION_CODE_0   0x0100

Definition at line 227 of file ketypes.h.

◆ FSW_CONDITION_CODE_1

#define FSW_CONDITION_CODE_1   0x0200

Definition at line 228 of file ketypes.h.

◆ FSW_CONDITION_CODE_2

#define FSW_CONDITION_CODE_2   0x0400

Definition at line 229 of file ketypes.h.

◆ FSW_CONDITION_CODE_3

#define FSW_CONDITION_CODE_3   0x4000

Definition at line 230 of file ketypes.h.

◆ FSW_DENORMAL

#define FSW_DENORMAL   0x0002

Definition at line 220 of file ketypes.h.

◆ FSW_ERROR_MASK

#define FSW_ERROR_MASK   0x003F

Definition at line 231 of file ketypes.h.

◆ FSW_ERROR_SUMMARY

#define FSW_ERROR_SUMMARY   0x0080

Definition at line 226 of file ketypes.h.

◆ FSW_INVALID_OPERATION

#define FSW_INVALID_OPERATION   0x0001

Definition at line 219 of file ketypes.h.

◆ FSW_OVERFLOW

#define FSW_OVERFLOW   0x0008

Definition at line 222 of file ketypes.h.

◆ FSW_PRECISION

#define FSW_PRECISION   0x0020

Definition at line 224 of file ketypes.h.

◆ FSW_STACK_FAULT

#define FSW_STACK_FAULT   0x0040

Definition at line 225 of file ketypes.h.

◆ FSW_UNDERFLOW

#define FSW_UNDERFLOW   0x0010

Definition at line 223 of file ketypes.h.

◆ FSW_ZERO_DIVIDE

#define FSW_ZERO_DIVIDE   0x0004

Definition at line 221 of file ketypes.h.

◆ I386_ACTIVE_TSS

#define I386_ACTIVE_TSS   0xB

Definition at line 111 of file ketypes.h.

◆ I386_CALL_GATE

#define I386_CALL_GATE   0xC

Definition at line 112 of file ketypes.h.

◆ I386_INTERRUPT_GATE

#define I386_INTERRUPT_GATE   0xE

Definition at line 113 of file ketypes.h.

◆ I386_TASK_GATE

#define I386_TASK_GATE   0x5

Definition at line 109 of file ketypes.h.

◆ I386_TRAP_GATE

#define I386_TRAP_GATE   0xF

Definition at line 114 of file ketypes.h.

◆ I386_TSS

#define I386_TSS   0x9

Definition at line 110 of file ketypes.h.

◆ INITIAL_STALL_COUNT

#define INITIAL_STALL_COUNT   100

Definition at line 325 of file ketypes.h.

◆ IO_ACCESS_MAP_NONE

#define IO_ACCESS_MAP_NONE   0

Definition at line 333 of file ketypes.h.

◆ IOPM_OFFSET

#define IOPM_OFFSET   FIELD_OFFSET(KTSS, IoMaps[0].IoMap)

Definition at line 334 of file ketypes.h.

◆ IPI_APC

#define IPI_APC   1

Definition at line 286 of file ketypes.h.

◆ IPI_DPC

#define IPI_DPC   2

Definition at line 287 of file ketypes.h.

◆ IPI_FREEZE

#define IPI_FREEZE   4

Definition at line 288 of file ketypes.h.

◆ IPI_FROZEN_FLAG_ACTIVE

#define IPI_FROZEN_FLAG_ACTIVE   0x20

Definition at line 305 of file ketypes.h.

◆ IPI_FROZEN_STATE_FROZEN

#define IPI_FROZEN_STATE_FROZEN   2

Definition at line 301 of file ketypes.h.

◆ IPI_FROZEN_STATE_OWNER

#define IPI_FROZEN_STATE_OWNER   4

Definition at line 303 of file ketypes.h.

◆ IPI_FROZEN_STATE_RUNNING

#define IPI_FROZEN_STATE_RUNNING   0

Definition at line 300 of file ketypes.h.

◆ IPI_FROZEN_STATE_TARGET_FREEZE

#define IPI_FROZEN_STATE_TARGET_FREEZE   5

Definition at line 304 of file ketypes.h.

◆ IPI_FROZEN_STATE_THAW

#define IPI_FROZEN_STATE_THAW   3

Definition at line 302 of file ketypes.h.

◆ IPI_PACKET_READY

#define IPI_PACKET_READY   8

Definition at line 289 of file ketypes.h.

◆ IPI_SYNCH_REQUEST

#define IPI_SYNCH_REQUEST   16

Definition at line 290 of file ketypes.h.

◆ ISR_STACK_SIZE

#define ISR_STACK_SIZE   0x6000

Definition at line 346 of file ketypes.h.

◆ KEXCEPTION_ACTIVE_EXCEPTION_FRAME

#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME   0x0001

Definition at line 319 of file ketypes.h.

◆ KEXCEPTION_ACTIVE_INTERRUPT_FRAME

#define KEXCEPTION_ACTIVE_INTERRUPT_FRAME   0x0000

Definition at line 318 of file ketypes.h.

◆ KEXCEPTION_ACTIVE_SERVICE_FRAME

#define KEXCEPTION_ACTIVE_SERVICE_FRAME   0x0002

Definition at line 320 of file ketypes.h.

◆ KF_00040000

#define KF_00040000   0x00040000

Definition at line 50 of file ketypes.h.

◆ KF_02000000

#define KF_02000000   0x02000000

Definition at line 57 of file ketypes.h.

◆ KF_3DNOW

#define KF_3DNOW   0x00004000

Definition at line 45 of file ketypes.h.

◆ KF_ACNT2

#define KF_ACNT2   0x00400000

Definition at line 54 of file ketypes.h.

◆ KF_AMDK6MTRR

#define KF_AMDK6MTRR   0x00008000

Definition at line 46 of file ketypes.h.

◆ KF_AUTHENTICAMD

#define KF_AUTHENTICAMD   0x00200000

Definition at line 53 of file ketypes.h.

◆ KF_BRANCH

#define KF_BRANCH   0x00020000

Definition at line 49 of file ketypes.h.

◆ KF_CAT

#define KF_CAT   0x0000100000000000ULL

Definition at line 70 of file ketypes.h.

◆ KF_CAT_BIT

#define KF_CAT_BIT   44

Definition at line 81 of file ketypes.h.

◆ KF_CET_SS

#define KF_CET_SS   0x0000400000000000ULL

Definition at line 71 of file ketypes.h.

◆ KF_CMOV

#define KF_CMOV   0x00000008

Definition at line 34 of file ketypes.h.

◆ KF_CMPXCHG16B

#define KF_CMPXCHG16B   0x00100000

Definition at line 52 of file ketypes.h.

◆ KF_CMPXCHG8B

#define KF_CMPXCHG8B   0x00000080

Definition at line 38 of file ketypes.h.

◆ KF_CR4

#define KF_CR4   0x00000004

Definition at line 33 of file ketypes.h.

◆ KF_DTS

#define KF_DTS   0x00000200

Definition at line 40 of file ketypes.h.

◆ KF_FAST_SYSCALL

#define KF_FAST_SYSCALL   0x00001000

Definition at line 43 of file ketypes.h.

◆ KF_FPU_LEAKAGE

#define KF_FPU_LEAKAGE   0x0000020000000000ULL

Definition at line 69 of file ketypes.h.

◆ KF_FPU_LEAKAGE_BIT

#define KF_FPU_LEAKAGE_BIT   41

Definition at line 80 of file ketypes.h.

◆ KF_FXSR

#define KF_FXSR   0x00000800

Definition at line 42 of file ketypes.h.

◆ KF_GENUINE_INTEL

#define KF_GENUINE_INTEL   0x01000000

Definition at line 56 of file ketypes.h.

◆ KF_GLOBAL_PAGE

#define KF_GLOBAL_PAGE   0x00000010

Definition at line 35 of file ketypes.h.

◆ KF_HUGEPAGE

#define KF_HUGEPAGE   0x0000002000000000ULL

Definition at line 67 of file ketypes.h.

◆ KF_LARGE_PAGE

#define KF_LARGE_PAGE   0x00000020

Definition at line 36 of file ketypes.h.

◆ KF_MMX

#define KF_MMX   0x00000100

Definition at line 39 of file ketypes.h.

◆ KF_MTRR

#define KF_MTRR   0x00000040

Definition at line 37 of file ketypes.h.

◆ KF_NX_BIT

#define KF_NX_BIT   0x20000000

Definition at line 61 of file ketypes.h.

◆ KF_NX_DISABLED

#define KF_NX_DISABLED   0x40000000

Definition at line 62 of file ketypes.h.

◆ KF_NX_ENABLED

#define KF_NX_ENABLED   0x80000000

Definition at line 63 of file ketypes.h.

◆ KF_PAT

#define KF_PAT   0x00000400

Definition at line 41 of file ketypes.h.

◆ KF_RDRAND

#define KF_RDRAND   0x0000000100000000ULL

Definition at line 64 of file ketypes.h.

◆ KF_RDTSC

#define KF_RDTSC   0x00000002

Definition at line 32 of file ketypes.h.

◆ KF_RDTSCP

#define KF_RDTSCP   0x0000000400000000ULL

Definition at line 66 of file ketypes.h.

◆ KF_RDWRFSGSBASE

#define KF_RDWRFSGSBASE   0x10000000

Definition at line 60 of file ketypes.h.

◆ KF_RDWRFSGSBASE_BIT

#define KF_RDWRFSGSBASE_BIT   28

Definition at line 78 of file ketypes.h.

◆ KF_SLAT

#define KF_SLAT   0x04000000

Definition at line 58 of file ketypes.h.

◆ KF_SMAP

#define KF_SMAP   0x0000000200000000ULL

Definition at line 65 of file ketypes.h.

◆ KF_SMEP

#define KF_SMEP   0x00000001

Definition at line 31 of file ketypes.h.

◆ KF_SSE3

#define KF_SSE3   0x00080000

Definition at line 51 of file ketypes.h.

◆ KF_SSE4_1

#define KF_SSE4_1   0x0001000000000000ULL

Definition at line 73 of file ketypes.h.

◆ KF_SSE4_2

#define KF_SSE4_2   0x0002000000000000ULL

Definition at line 74 of file ketypes.h.

◆ KF_SSSE3

#define KF_SSSE3   0x0000800000000000ULL

Definition at line 72 of file ketypes.h.

◆ KF_VIRT_FIRMWARE_ENABLED

#define KF_VIRT_FIRMWARE_ENABLED   0x08000000

Definition at line 59 of file ketypes.h.

◆ KF_XMMI

#define KF_XMMI   0x00002000

Definition at line 44 of file ketypes.h.

◆ KF_XMMI64

#define KF_XMMI64   0x00010000

Definition at line 48 of file ketypes.h.

◆ KF_XSAVEOPT

#define KF_XSAVEOPT   0x00008000

Definition at line 47 of file ketypes.h.

◆ KF_XSAVEOPT_BIT

#define KF_XSAVEOPT_BIT   15

Definition at line 76 of file ketypes.h.

◆ KF_XSAVES

#define KF_XSAVES   0x0000004000000000ULL

Definition at line 68 of file ketypes.h.

◆ KF_XSAVES_BIT

#define KF_XSAVES_BIT   38

Definition at line 79 of file ketypes.h.

◆ KF_XSTATE

#define KF_XSTATE   0x00800000

Definition at line 55 of file ketypes.h.

◆ KF_XSTATE_BIT

#define KF_XSTATE_BIT   23

Definition at line 77 of file ketypes.h.

◆ KGDT64_NULL

#define KGDT64_NULL   0x0000

Definition at line 121 of file ketypes.h.

◆ KGDT64_R0_CODE

#define KGDT64_R0_CODE   0x0010

Definition at line 122 of file ketypes.h.

◆ KGDT64_R0_DATA

#define KGDT64_R0_DATA   0x0018

Definition at line 123 of file ketypes.h.

◆ KGDT64_R0_LDT

#define KGDT64_R0_LDT   0x0060

Definition at line 129 of file ketypes.h.

◆ KGDT64_R3_CMCODE

#define KGDT64_R3_CMCODE   0x0020

Definition at line 124 of file ketypes.h.

◆ KGDT64_R3_CMTEB

#define KGDT64_R3_CMTEB   0x0050

Definition at line 128 of file ketypes.h.

◆ KGDT64_R3_CODE

#define KGDT64_R3_CODE   0x0030

Definition at line 126 of file ketypes.h.

◆ KGDT64_R3_DATA

#define KGDT64_R3_DATA   0x0028

Definition at line 125 of file ketypes.h.

◆ KGDT64_SYS_TSS

#define KGDT64_SYS_TSS   0x0040

Definition at line 127 of file ketypes.h.

◆ KGDTENTRY

Definition at line 511 of file ketypes.h.

◆ KiComputeIopmOffset

#define KiComputeIopmOffset (   MapNumber)
Value:
(MapNumber == IO_ACCESS_MAP_NONE) ? \
(USHORT)(sizeof(KTSS)) : \
(USHORT)(FIELD_OFFSET(KTSS, IoMaps[MapNumber-1].IoMap))
#define KTSS
Definition: ketypes.h:995
#define IO_ACCESS_MAP_NONE
Definition: ketypes.h:333
unsigned short USHORT
Definition: pedump.c:61
Definition: ketypes.h:844
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255

Definition at line 335 of file ketypes.h.

◆ KIDTENTRY

Definition at line 553 of file ketypes.h.

◆ KSEG0_BASE

#define KSEG0_BASE   0xfffff80000000000ULL

Definition at line 343 of file ketypes.h.

◆ KTSS

Definition at line 995 of file ketypes.h.

◆ MACHINE_TYPE_EISA

#define MACHINE_TYPE_EISA   0x0001

Definition at line 103 of file ketypes.h.

◆ MACHINE_TYPE_ISA

#define MACHINE_TYPE_ISA   0x0000

Definition at line 102 of file ketypes.h.

◆ MACHINE_TYPE_MCA

#define MACHINE_TYPE_MCA   0x0002

Definition at line 104 of file ketypes.h.

◆ MM_HAL_VA_END

#define MM_HAL_VA_END   0xFFFFFFFFFFFFFFFFULL

Definition at line 327 of file ketypes.h.

◆ MM_HAL_VA_START

#define MM_HAL_VA_START   0xFFFFFFFFFFC00000ULL /* This is Vista+ */

Definition at line 326 of file ketypes.h.

◆ MODE_MASK

#define MODE_MASK   0x0001

Definition at line 120 of file ketypes.h.

◆ MSR_AMD_ACCESS

#define MSR_AMD_ACCESS   0x9C5A203A

Definition at line 245 of file ketypes.h.

◆ MSR_CSTAR

#define MSR_CSTAR   0xC0000083

Definition at line 239 of file ketypes.h.

◆ MSR_DEBUG_CTL

#define MSR_DEBUG_CTL   0x01D9

Definition at line 270 of file ketypes.h.

◆ MSR_DEBUG_CTL_BTF

#define MSR_DEBUG_CTL_BTF   0x0002

Definition at line 281 of file ketypes.h.

◆ MSR_DEBUG_CTL_LBR

#define MSR_DEBUG_CTL_LBR   0x0001

Definition at line 280 of file ketypes.h.

◆ MSR_EFER

#define MSR_EFER   0xC0000080

Definition at line 236 of file ketypes.h.

◆ MSR_FS_BASE

#define MSR_FS_BASE   0xC0000100

Definition at line 241 of file ketypes.h.

◆ MSR_GS_BASE

#define MSR_GS_BASE   0xC0000101

Definition at line 242 of file ketypes.h.

◆ MSR_GS_SWAP

#define MSR_GS_SWAP   0xC0000102

Definition at line 243 of file ketypes.h.

◆ MSR_IA32_MISC_ENABLE

#define MSR_IA32_MISC_ENABLE   0x000001A0

Definition at line 246 of file ketypes.h.

◆ MSR_LAST_BRANCH_FROM

#define MSR_LAST_BRANCH_FROM   0x01DB

Definition at line 247 of file ketypes.h.

◆ MSR_LAST_BRANCH_TO

#define MSR_LAST_BRANCH_TO   0x01DC

Definition at line 248 of file ketypes.h.

◆ MSR_LAST_EXCEPTION_FROM

#define MSR_LAST_EXCEPTION_FROM   0x01DD

Definition at line 249 of file ketypes.h.

◆ MSR_LAST_EXCEPTION_TO

#define MSR_LAST_EXCEPTION_TO   0x01DE

Definition at line 250 of file ketypes.h.

◆ MSR_LMA

#define MSR_LMA   0x0400

Definition at line 267 of file ketypes.h.

◆ MSR_LME

#define MSR_LME   0x0100

Definition at line 266 of file ketypes.h.

◆ MSR_LSTAR

#define MSR_LSTAR   0xC0000082

Definition at line 238 of file ketypes.h.

◆ MSR_MCG_STATUS

#define MSR_MCG_STATUS   0x017A

Definition at line 244 of file ketypes.h.

◆ MSR_NXE

#define MSR_NXE   0x0800

Definition at line 268 of file ketypes.h.

◆ MSR_PAT

#define MSR_PAT   0x0277

Definition at line 269 of file ketypes.h.

◆ MSR_SCE

#define MSR_SCE   0x0001

Definition at line 265 of file ketypes.h.

◆ MSR_STAR

#define MSR_STAR   0xC0000081

Definition at line 237 of file ketypes.h.

◆ MSR_SYSCALL_MASK

#define MSR_SYSCALL_MASK   0xC0000084

Definition at line 240 of file ketypes.h.

◆ MSR_XD_ENABLE_MASK

#define MSR_XD_ENABLE_MASK   0xFFFFFFFB

Definition at line 275 of file ketypes.h.

◆ NMI_STACK_SIZE

#define NMI_STACK_SIZE   0x2000

Definition at line 345 of file ketypes.h.

◆ NUMBER_POOL_LOOKASIDE_LISTS

#define NUMBER_POOL_LOOKASIDE_LISTS   32

Definition at line 360 of file ketypes.h.

◆ PAT_UC

#define PAT_UC   0ULL

Definition at line 255 of file ketypes.h.

◆ PAT_UCM

#define PAT_UCM   7ULL

Definition at line 260 of file ketypes.h.

◆ PAT_WB

#define PAT_WB   6ULL

Definition at line 259 of file ketypes.h.

◆ PAT_WC

#define PAT_WC   1ULL

Definition at line 256 of file ketypes.h.

◆ PAT_WP

#define PAT_WP   5ULL

Definition at line 258 of file ketypes.h.

◆ PAT_WT

#define PAT_WT   4ULL

Definition at line 257 of file ketypes.h.

◆ PKGDTENTRY

Definition at line 512 of file ketypes.h.

◆ PKIDTENTRY

Definition at line 554 of file ketypes.h.

◆ PKTSS

Definition at line 996 of file ketypes.h.

◆ PRCB_BUILD_DEBUG

#define PRCB_BUILD_DEBUG   1

Definition at line 312 of file ketypes.h.

◆ PRCB_BUILD_UNIPROCESSOR

#define PRCB_BUILD_UNIPROCESSOR   2

Definition at line 313 of file ketypes.h.

◆ PRCB_MAJOR_VERSION

#define PRCB_MAJOR_VERSION   1

Definition at line 311 of file ketypes.h.

◆ PRCB_MINOR_VERSION

#define PRCB_MINOR_VERSION   1

Definition at line 310 of file ketypes.h.

◆ PROCESSOR_START_FLAG_FORCE_ENABLE_NX

#define PROCESSOR_START_FLAG_FORCE_ENABLE_NX   0x0001

Definition at line 1126 of file ketypes.h.

◆ RPL_MASK

#define RPL_MASK   0x0003

Definition at line 119 of file ketypes.h.

◆ SYNCH_LEVEL

#define SYNCH_LEVEL   DISPATCH_LEVEL

Definition at line 352 of file ketypes.h.

◆ XCW_DENORMAL

#define XCW_DENORMAL   0x0100

Definition at line 206 of file ketypes.h.

◆ XCW_FLUSH_ZERO

#define XCW_FLUSH_ZERO   0x8000

Definition at line 212 of file ketypes.h.

◆ XCW_INVALID_OPERATION

#define XCW_INVALID_OPERATION   0x0080

Definition at line 205 of file ketypes.h.

◆ XCW_OVERFLOW

#define XCW_OVERFLOW   0x0400

Definition at line 208 of file ketypes.h.

◆ XCW_PRECISION

#define XCW_PRECISION   0x1000

Definition at line 210 of file ketypes.h.

◆ XCW_ROUND_CONTROL

#define XCW_ROUND_CONTROL   0x6000

Definition at line 211 of file ketypes.h.

◆ XCW_UNDERFLOW

#define XCW_UNDERFLOW   0x0800

Definition at line 209 of file ketypes.h.

◆ XCW_ZERO_DIVIDE

#define XCW_ZERO_DIVIDE   0x0200

Definition at line 207 of file ketypes.h.

◆ XSW_DENORMAL

#define XSW_DENORMAL   0x0002

Definition at line 200 of file ketypes.h.

◆ XSW_ERROR_MASK

#define XSW_ERROR_MASK   0x003F

Definition at line 213 of file ketypes.h.

◆ XSW_ERROR_SHIFT

#define XSW_ERROR_SHIFT   7

Definition at line 214 of file ketypes.h.

◆ XSW_INVALID_OPERATION

#define XSW_INVALID_OPERATION   0x0001

Definition at line 199 of file ketypes.h.

◆ XSW_OVERFLOW

#define XSW_OVERFLOW   0x0008

Definition at line 202 of file ketypes.h.

◆ XSW_PRECISION

#define XSW_PRECISION   0x0020

Definition at line 204 of file ketypes.h.

◆ XSW_UNDERFLOW

#define XSW_UNDERFLOW   0x0010

Definition at line 203 of file ketypes.h.

◆ XSW_ZERO_DIVIDE

#define XSW_ZERO_DIVIDE   0x0004

Definition at line 201 of file ketypes.h.

Typedef Documentation

◆ CPU_INFO

typedef union _CPU_INFO CPU_INFO

◆ DISPATCHER_CONTEXT

◆ KCALLOUT_FRAME

Definition at line 1059 of file ketypes.h.

◆ KDESCRIPTOR

◆ KEXCEPTION_FRAME

◆ KGDTENTRY64

typedef union _KGDTENTRY64 KGDTENTRY64

◆ KIDT_ACCESS

◆ KIDTENTRY64

typedef union _KIDTENTRY64 KIDTENTRY64

◆ KIIO_ACCESS_MAP

◆ KIPCR

typedef struct _KIPCR KIPCR

◆ KPRCB

typedef struct _KPRCB KPRCB

◆ KPROCESSOR_START_BLOCK

◆ KPROCESSOR_STATE

◆ KREQUEST_PACKET

◆ KSPECIAL_REGISTERS

◆ KSTART_FRAME

◆ KSWITCH_FRAME

◆ KTRAP_FRAME

◆ KTSS64

◆ KUSER_EXCEPTION_STACK

◆ LDT_ENTRY

typedef ULONG LDT_ENTRY

Definition at line 471 of file ketypes.h.

◆ MACHINE_FRAME

◆ PCPU_INFO

typedef union _CPU_INFO * PCPU_INFO

◆ PDISPATCHER_CONTEXT

◆ PKCALLOUT_FRAME

Definition at line 1059 of file ketypes.h.

◆ PKDESCRIPTOR

◆ PKEXCEPTION_FRAME

◆ PKGDTENTRY64

typedef union _KGDTENTRY64 * PKGDTENTRY64

◆ PKIDT_ACCESS

◆ PKIDTENTRY64

typedef union _KIDTENTRY64 * PKIDTENTRY64

◆ PKIPCR

typedef struct _KIPCR * PKIPCR

◆ PKPRCB

typedef struct _KPRCB * PKPRCB

◆ PKPROCESSOR_START_BLOCK

◆ PKPROCESSOR_STATE

◆ PKREQUEST_PACKET

◆ PKSPECIAL_REGISTERS

◆ PKSTART_FRAME

◆ PKSWITCH_FRAME

◆ PKTRAP_FRAME

◆ PKTSS64

typedef struct _KTSS64 * PKTSS64

◆ PKUSER_EXCEPTION_STACK

◆ PMACHINE_FRAME

◆ PREQUEST_MAILBOX

◆ PUCALLOUT_FRAME

◆ REQUEST_MAILBOX

◆ UCALLOUT_FRAME

Enumeration Type Documentation

◆ CPU_VENDORS

Enumerator
CPU_UNKNOWN 
CPU_AMD 
CPU_INTEL 
CPU_VIA 
CPU_UNKNOWN 
CPU_NONE 
CPU_INTEL 
CPU_AMD 
CPU_CYRIX 
CPU_TRANSMETA 
CPU_VIA 
CPU_CENTAUR 
CPU_RISE 
CPU_UNKNOWN 

Definition at line 91 of file ketypes.h.

92{
94 CPU_AMD,
CPU_VENDORS
Definition: ketypes.h:92
@ CPU_VIA
Definition: ketypes.h:96
@ CPU_INTEL
Definition: ketypes.h:95
@ CPU_UNKNOWN
Definition: ketypes.h:93
@ CPU_AMD
Definition: ketypes.h:94

Function Documentation

◆ KeGetCurrentPrcb()

FORCEINLINE struct _KPRCB * KeGetCurrentPrcb ( VOID  )

Definition at line 1150 of file ketypes.h.

1151{
1152 return (struct _KPRCB *)__readgsqword(FIELD_OFFSET(KIPCR, CurrentPrcb));
1153}

Referenced by _IRQL_requires_max_(), _IRQL_requires_min_(), _Requires_lock_held_(), _Requires_lock_not_held_(), APICCalibrateTimer(), DpcHandler(), DriverEntry(), ExAllocatePoolWithTag(), ExFreePoolWithTag(), ExGetCurrentProcessorCounts(), ExGetCurrentProcessorCpuUsage(), ExInitPoolLookasidePointers(), HalEnableSystemInterrupt(), HalInitSystem(), HalpFlushTLB(), HalpInitializeTsc(), HalpRegisterInternalBusHandlers(), HalpSetupProcessorsTable(), HalRequestIpiSpecifyVector(), IoAllocateIrp(), IoFreeIrp(), IoGetStackLimits(), IopFreeMiniPacket(), IoSetIoCompletion(), KdbPrintStringWorker(), KdEnterDebugger(), KdpCommandString(), KdpGetContext(), KdpGetContextEx(), KdpPrintString(), KdpPromptString(), KdpReport(), KdpSetCommonState(), KdpSetContext(), KdpSetContextEx(), KdpSetContextState(), KdpSymbol(), KdReportProcessorChange(), Ke386IoSetAccessProcess(), Ke386SetIoAccessMap(), KeAcquireQueuedSpinLock(), KeAcquireQueuedSpinLockRaiseToSynch(), KeBugCheckWithTf(), KeDelayExecutionThread(), KeFlushEntireTb(), KeGenericCallDpc(), KeInsertQueueDpc(), KeIpiGenericCall(), KeIsExecutingDpc(), KeReleaseQueuedSpinLock(), KeRemoveQueue(), KeRevertToUserAffinityThread(), KeSaveFloatingPointState(), KeSetSystemAffinityThread(), KeSignalGateBoostPriority(), KeTerminateThread(), KeTryToAcquireQueuedSpinLock(), KeTryToAcquireQueuedSpinLockRaiseToSynch(), KeUpdateRunTime(), KeUpdateSystemTime(), KeWaitForGate(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), Ki386PerfEnd(), KiAcquireDeviceQueueLock(), KiAdjustQuantumThread(), KiChainedDispatch(), KiCheckTimerTable(), KiDeliverApc(), KiDispatchException(), KiExitDispatcher(), KiFlushNPXState(), KiGetCacheInformation(), KiGetCpuVendor(), KiGetFeatureBits(), KiHandleDebugRegistersOnTrapEntry(), KiIdleLoop(), KiInitializeHandBuiltThread(), KiInitMachineDependent(), KiInterruptDispatch(), KiIpiServiceRoutine(), KiLoadFastSyscallMachineSpecificRegisters(), KiNpxHandler(), KiProcessorFreezeHandler(), KiReleaseDeviceQueueLock(), KiRestoreProcessorState(), KiRundownThread(), KiSaveProcessorState(), KiSetCR0Bits(), KiSetProcessorType(), KiSystemServiceHandler(), KiSystemStartupBootStack(), KiTimerExpiration(), KiTimerListExpire(), KiTrap07Handler(), KiTrap10Handler(), KiTrap13Handler(), KiUnexpectedInterruptTailHandler(), KxFreezeExecution(), KxSwitchKdProcessor(), KxThawExecution(), MiComputeColorInformation(), MiDispatchFault(), MiResolveDemandZeroFault(), MiResolveProtoPteFault(), MiResolveTransitionFault(), MmArmAccessFault(), NtPowerInformation(), NtQueryInformationProcess(), NtYieldExecution(), ObInitSystem(), ObpAllocateObjectCreateInfoBuffer(), ObpFreeCapturedAttributes(), PspUserThreadStartup(), RtlpHandleDpcStackException(), and START_TEST().