ReactOS  r73918
ketypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CACHE_DESCRIPTOR
 
struct  _NUMA_NODE_RELATIONSHIP
 
struct  _CACHE_RELATIONSHIP
 
struct  _GROUP_RELATIONSHIP
 
struct  _PROCESSOR_RELATIONSHIP
 
struct  _SYSTEM_LOGICAL_PROCESSOR_INFORMATION
 
struct  _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
 
struct  _KBUGCHECK_ADD_PAGES
 
struct  _KBUGCHECK_SECONDARY_DUMP_DATA
 
struct  _KBUGCHECK_DUMP_IO
 
struct  _KBUGCHECK_REASON_CALLBACK_RECORD
 
struct  _KBUGCHECK_CALLBACK_RECORD
 
struct  _KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT
 
struct  _KWAIT_BLOCK
 
struct  _KAPC
 
struct  _KDEVICE_QUEUE_ENTRY
 
struct  _KIPI_COUNTS
 
struct  _KSPIN_LOCK_QUEUE
 
struct  _KLOCK_QUEUE_HANDLE
 
struct  _KDPC
 
struct  _KDPC_WATCHDOG_INFORMATION
 
struct  _KDEVICE_QUEUE
 
struct  _DISPATCHER_HEADER
 
struct  _KEVENT
 
struct  _KSEMAPHORE
 
struct  _KGATE
 
struct  _KGUARDED_MUTEX
 
struct  _KMUTANT
 
struct  _KTIMER
 
struct  _KSYSTEM_TIME
 
struct  _XSTATE_CONTEXT
 
struct  _XSTATE_SAVE
 
struct  _CONTEXT_CHUNK
 
struct  _CONTEXT_EX
 
struct  _NT_TIB
 
struct  _NT_TIB32
 
struct  _NT_TIB64
 
struct  _TIMER_SET_COALESCABLE_TIMER_INFO
 
struct  _XSTATE_FEATURE
 
struct  _XSTATE_CONFIGURATION
 
struct  _KUSER_SHARED_DATA
 
struct  _KQUEUE
 

Macros

#define CACHE_FULLY_ASSOCIATIVE   0xFF
 
#define MAXIMUM_SUSPEND_COUNT   MAXCHAR
 
#define EVENT_QUERY_STATE   (0x0001)
 
#define EVENT_MODIFY_STATE   (0x0002)
 
#define EVENT_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3)
 
#define LTP_PC_SMT   0x1
 
#define SINGLE_GROUP_LEGACY_API   1
 
#define SEMAPHORE_QUERY_STATE   (0x0001)
 
#define SEMAPHORE_MODIFY_STATE   (0x0002)
 
#define SEMAPHORE_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3)
 
#define PF_FLOATING_POINT_PRECISION_ERRATA   0
 
#define PF_FLOATING_POINT_EMULATED   1
 
#define PF_COMPARE_EXCHANGE_DOUBLE   2
 
#define PF_MMX_INSTRUCTIONS_AVAILABLE   3
 
#define PF_PPC_MOVEMEM_64BIT_OK   4
 
#define PF_ALPHA_BYTE_INSTRUCTIONS   5
 
#define PF_XMMI_INSTRUCTIONS_AVAILABLE   6
 
#define PF_3DNOW_INSTRUCTIONS_AVAILABLE   7
 
#define PF_RDTSC_INSTRUCTION_AVAILABLE   8
 
#define PF_PAE_ENABLED   9
 
#define PF_XMMI64_INSTRUCTIONS_AVAILABLE   10
 
#define PF_SSE_DAZ_MODE_AVAILABLE   11
 
#define PF_NX_ENABLED   12
 
#define PF_SSE3_INSTRUCTIONS_AVAILABLE   13
 
#define PF_COMPARE_EXCHANGE128   14
 
#define PF_COMPARE64_EXCHANGE128   15
 
#define PF_CHANNELS_ENABLED   16
 
#define PF_XSAVE_ENABLED   17
 
#define PF_ARM_VFP_32_REGISTERS_AVAILABLE   18
 
#define PF_ARM_NEON_INSTRUCTIONS_AVAILABLE   19
 
#define PF_SECOND_LEVEL_ADDRESS_TRANSLATION   20
 
#define PF_VIRT_FIRMWARE_ENABLED   21
 
#define PF_RDWRFSGSBASE_AVAILABLE   22
 
#define PF_FASTFAIL_AVAILABLE   23
 
#define PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE   24
 
#define PF_ARM_64BIT_LOADSTORE_ATOMIC   25
 
#define PF_ARM_EXTERNAL_CACHE_AVAILABLE   26
 
#define PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE   27
 
#define PF_RDRAND_INSTRUCTION_AVAILABLE   28
 
#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE   29
 
#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE   30
 
#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE   31
 
#define MAXIMUM_WAIT_OBJECTS   64
 
#define ASSERT_APC(Object)   NT_ASSERT((Object)->Type == ApcObject)
 
#define ASSERT_DPC(Object)
 
#define ASSERT_GATE(Object)
 
#define ASSERT_DEVICE_QUEUE(Object)   NT_ASSERT((Object)->Type == DeviceQueueObject)
 
#define ASSERT_TIMER(Object)
 
#define ASSERT_MUTANT(Object)   NT_ASSERT((Object)->Header.Type == MutantObject)
 
#define ASSERT_SEMAPHORE(Object)   NT_ASSERT((Object)->Header.Type == SemaphoreObject)
 
#define ASSERT_EVENT(Object)
 
#define DPC_NORMAL   0
 
#define DPC_THREADED   1
 
#define GM_LOCK_BIT   0x1
 
#define GM_LOCK_BIT_V   0x0
 
#define GM_LOCK_WAITER_WOKEN   0x2
 
#define GM_LOCK_WAITER_INC   0x4
 
#define LOCK_QUEUE_WAIT_BIT   0
 
#define LOCK_QUEUE_OWNER_BIT   1
 
#define LOCK_QUEUE_WAIT   1
 
#define LOCK_QUEUE_OWNER   2
 
#define LOCK_QUEUE_TIMER_LOCK_SHIFT   4
 
#define LOCK_QUEUE_TIMER_TABLE_LOCKS   (1 << (8 - LOCK_QUEUE_TIMER_LOCK_SHIFT))
 
#define PROCESSOR_FEATURE_MAX   64
 
#define DBG_STATUS_CONTROL_C   1
 
#define DBG_STATUS_SYSRQ   2
 
#define DBG_STATUS_BUGCHECK_FIRST   3
 
#define DBG_STATUS_BUGCHECK_SECOND   4
 
#define DBG_STATUS_FATAL   5
 
#define DBG_STATUS_DEBUG_CONTROL   6
 
#define DBG_STATUS_WORKER   7
 
#define MAXIMUM_PROC_PER_GROUP   32
 
#define MAXIMUM_PROCESSORS   MAXIMUM_PROC_PER_GROUP
 
#define EXCEPTION_DIVIDED_BY_ZERO   0
 
#define EXCEPTION_DEBUG   1
 
#define EXCEPTION_NMI   2
 
#define EXCEPTION_INT3   3
 
#define EXCEPTION_BOUND_CHECK   5
 
#define EXCEPTION_INVALID_OPCODE   6
 
#define EXCEPTION_NPX_NOT_AVAILABLE   7
 
#define EXCEPTION_DOUBLE_FAULT   8
 
#define EXCEPTION_NPX_OVERRUN   9
 
#define EXCEPTION_INVALID_TSS   0x0A
 
#define EXCEPTION_SEGMENT_NOT_PRESENT   0x0B
 
#define EXCEPTION_STACK_FAULT   0x0C
 
#define EXCEPTION_GP_FAULT   0x0D
 
#define EXCEPTION_RESERVED_TRAP   0x0F
 
#define EXCEPTION_NPX_ERROR   0x010
 
#define EXCEPTION_ALIGNMENT_CHECK   0x011
 
#define KB_ADD_PAGES_FLAG_VIRTUAL_ADDRESS   0x00000001UL
 
#define KB_ADD_PAGES_FLAG_PHYSICAL_ADDRESS   0x00000002UL
 
#define KB_ADD_PAGES_FLAG_ADDITIONAL_RANGES_EXIST   0x80000000UL
 
#define KE_PROCESSOR_CHANGE_ADD_EXISTING   1
 
#define INVALID_PROCESSOR_INDEX   0xffffffff
 
#define THREAD_WAIT_OBJECTS   3
 
#define KAPC_OFFSET_TO_SPARE_BYTE0   FIELD_OFFSET(KAPC, SpareByte0)
 
#define KAPC_OFFSET_TO_SPARE_BYTE1   FIELD_OFFSET(KAPC, SpareByte1)
 
#define KAPC_OFFSET_TO_SPARE_LONG   FIELD_OFFSET(KAPC, SpareLong0)
 
#define KAPC_OFFSET_TO_SYSTEMARGUMENT1   FIELD_OFFSET(KAPC, SystemArgument1)
 
#define KAPC_OFFSET_TO_SYSTEMARGUMENT2   FIELD_OFFSET(KAPC, SystemArgument2)
 
#define KAPC_OFFSET_TO_APCSTATEINDEX   FIELD_OFFSET(KAPC, ApcStateIndex)
 
#define KAPC_ACTUAL_LENGTH   (FIELD_OFFSET(KAPC, Inserted) + sizeof(BOOLEAN))
 
#define TIMER_EXPIRED_INDEX_BITS   6
 
#define TIMER_PROCESSOR_INDEX_BITS   5
 
#define KSEMAPHORE_ACTUAL_LENGTH   (FIELD_OFFSET(KSEMAPHORE, Limit) + sizeof(LONG))
 
#define TIMER_TABLE_SIZE   512
 
#define TIMER_TABLE_SHIFT   9
 
#define KTIMER_ACTUAL_LENGTH   (FIELD_OFFSET(KTIMER, Period) + sizeof(LONG))
 
#define IsNEC_98   (FALSE)
 
#define IsNotNEC_98   (TRUE)
 
#define SetNEC_98
 
#define SetNotNEC_98
 
#define XSAVE_ALIGN   64
 
#define MINIMAL_XSTATE_AREA_LENGTH   sizeof(XSAVE_AREA)
 
#define CONTEXT_EX_LENGTH   ALIGN_UP_BY(sizeof(CONTEXT_EX), STACK_ALIGN)
 
#define NX_SUPPORT_POLICY_ALWAYSOFF   0
 
#define NX_SUPPORT_POLICY_ALWAYSON   1
 
#define NX_SUPPORT_POLICY_OPTIN   2
 
#define NX_SUPPORT_POLICY_OPTOUT   3
 
#define XSTATE_LEGACY_FLOATING_POINT   0
 
#define XSTATE_LEGACY_SSE   1
 
#define XSTATE_GSSE   2
 
#define XSTATE_MASK_LEGACY_FLOATING_POINT   (1LL << (XSTATE_LEGACY_FLOATING_POINT))
 
#define XSTATE_MASK_LEGACY_SSE   (1LL << (XSTATE_LEGACY_SSE))
 
#define XSTATE_MASK_LEGACY   (XSTATE_MASK_LEGACY_FLOATING_POINT | XSTATE_MASK_LEGACY_SSE)
 
#define XSTATE_MASK_GSSE   (1LL << (XSTATE_GSSE))
 
#define MAXIMUM_XSTATE_FEATURES   64
 
#define MAX_WOW64_SHARED_ENTRIES   16
 
#define KAPC_STATE_ACTUAL_LENGTH   (FIELD_OFFSET(KAPC_STATE, UserApcPending) + sizeof(BOOLEAN))
 
#define ASSERT_QUEUE(Q)   ASSERT(((Q)->Header.Type & KOBJECT_TYPE_MASK) == QueueObject);
 

Typedefs

typedef CCHAR KPROCESSOR_MODE
 
typedef LONG KPRIORITY
 
typedef enum _MODE MODE
 
typedef enum _PROCESSOR_CACHE_TYPE PROCESSOR_CACHE_TYPE
 
typedef struct _CACHE_DESCRIPTOR CACHE_DESCRIPTOR
 
typedef struct _CACHE_DESCRIPTORPCACHE_DESCRIPTOR
 
typedef struct
_NUMA_NODE_RELATIONSHIP 
NUMA_NODE_RELATIONSHIP
 
typedef struct
_NUMA_NODE_RELATIONSHIP
PNUMA_NODE_RELATIONSHIP
 
typedef struct _CACHE_RELATIONSHIP CACHE_RELATIONSHIP
 
typedef struct
_CACHE_RELATIONSHIP
PCACHE_RELATIONSHIP
 
typedef struct _GROUP_RELATIONSHIP GROUP_RELATIONSHIP
 
typedef struct
_GROUP_RELATIONSHIP
PGROUP_RELATIONSHIP
 
typedef enum
_LOGICAL_PROCESSOR_RELATIONSHIP 
LOGICAL_PROCESSOR_RELATIONSHIP
 
typedef struct
_PROCESSOR_RELATIONSHIP 
PROCESSOR_RELATIONSHIP
 
typedef struct
_PROCESSOR_RELATIONSHIP
PPROCESSOR_RELATIONSHIP
 
typedef struct
_SYSTEM_LOGICAL_PROCESSOR_INFORMATION 
SYSTEM_LOGICAL_PROCESSOR_INFORMATION
 
typedef struct
_SYSTEM_LOGICAL_PROCESSOR_INFORMATION
PSYSTEM_LOGICAL_PROCESSOR_INFORMATION
 
typedef struct
_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX 
SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
 
typedef struct
_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
 
typedef
KBUGCHECK_REASON_CALLBACK_ROUTINE * 
PKBUGCHECK_REASON_CALLBACK_ROUTINE
 
typedef struct _KBUGCHECK_ADD_PAGES KBUGCHECK_ADD_PAGES
 
typedef struct
_KBUGCHECK_ADD_PAGES
PKBUGCHECK_ADD_PAGES
 
typedef struct
_KBUGCHECK_SECONDARY_DUMP_DATA 
KBUGCHECK_SECONDARY_DUMP_DATA
 
typedef struct
_KBUGCHECK_SECONDARY_DUMP_DATA
PKBUGCHECK_SECONDARY_DUMP_DATA
 
typedef enum
_KBUGCHECK_DUMP_IO_TYPE 
KBUGCHECK_DUMP_IO_TYPE
 
typedef struct _KBUGCHECK_DUMP_IO KBUGCHECK_DUMP_IO
 
typedef struct _KBUGCHECK_DUMP_IOPKBUGCHECK_DUMP_IO
 
typedef struct
_KBUGCHECK_REASON_CALLBACK_RECORD 
KBUGCHECK_REASON_CALLBACK_RECORD
 
typedef struct
_KBUGCHECK_REASON_CALLBACK_RECORD
PKBUGCHECK_REASON_CALLBACK_RECORD
 
typedef enum
_KBUGCHECK_BUFFER_DUMP_STATE 
KBUGCHECK_BUFFER_DUMP_STATE
 
typedef
KBUGCHECK_CALLBACK_ROUTINE * 
PKBUGCHECK_CALLBACK_ROUTINE
 
typedef struct
_KBUGCHECK_CALLBACK_RECORD 
KBUGCHECK_CALLBACK_RECORD
 
typedef struct
_KBUGCHECK_CALLBACK_RECORD
PKBUGCHECK_CALLBACK_RECORD
 
typedef NMI_CALLBACK * PNMI_CALLBACK
 
typedef enum
_KE_PROCESSOR_CHANGE_NOTIFY_STATE 
KE_PROCESSOR_CHANGE_NOTIFY_STATE
 
typedef struct
_KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT 
KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT
 
typedef struct
_KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT
PKE_PROCESSOR_CHANGE_NOTIFY_CONTEXT
 
typedef
PROCESSOR_CALLBACK_FUNCTION * 
PPROCESSOR_CALLBACK_FUNCTION
 
typedef enum _KINTERRUPT_POLARITY KINTERRUPT_POLARITY
 
typedef enum _KINTERRUPT_POLARITYPKINTERRUPT_POLARITY
 
typedef enum _KPROFILE_SOURCE KPROFILE_SOURCE
 
typedef enum _KWAIT_REASON KWAIT_REASON
 
typedef struct _KWAIT_BLOCK KWAIT_BLOCK
 
typedef struct _KWAIT_BLOCKPKWAIT_BLOCK
 
typedef struct _KWAIT_BLOCKPRKWAIT_BLOCK
 
typedef enum _KINTERRUPT_MODE KINTERRUPT_MODE
 
typedef KSTART_ROUTINE * PKSTART_ROUTINE
 
typedef VOID(NTAPIPKINTERRUPT_ROUTINE )(VOID)
 
typedef KSERVICE_ROUTINE * PKSERVICE_ROUTINE
 
typedef KMESSAGE_SERVICE_ROUTINE * PKMESSAGE_SERVICE_ROUTINE
 
typedef enum _KD_OPTION KD_OPTION
 
typedef struct _KAPC KAPC
 
typedef struct _KAPCPKAPC
 
typedef struct _KAPC PRKAPC
 
typedef struct _KDEVICE_QUEUE_ENTRY KDEVICE_QUEUE_ENTRY
 
typedef struct
_KDEVICE_QUEUE_ENTRY
PKDEVICE_QUEUE_ENTRY
 
typedef struct _KDEVICE_QUEUE_ENTRY PRKDEVICE_QUEUE_ENTRY
 
typedef PVOID PKIPI_CONTEXT
 
typedef VOID(NTAPIPKIPI_WORKER )(IN OUT PKIPI_CONTEXT PacketContext, IN PVOID Parameter1 OPTIONAL, IN PVOID Parameter2 OPTIONAL, IN PVOID Parameter3 OPTIONAL)
 
typedef struct _KIPI_COUNTS KIPI_COUNTS
 
typedef struct _KIPI_COUNTSPKIPI_COUNTS
 
typedef KIPI_BROADCAST_WORKER * PKIPI_BROADCAST_WORKER
 
typedef ULONG_PTR KSPIN_LOCK
 
typedef ULONG_PTRPKSPIN_LOCK
 
typedef struct _KSPIN_LOCK_QUEUE KSPIN_LOCK_QUEUE
 
typedef struct _KSPIN_LOCK_QUEUEPKSPIN_LOCK_QUEUE
 
typedef struct _KLOCK_QUEUE_HANDLE KLOCK_QUEUE_HANDLE
 
typedef struct
_KLOCK_QUEUE_HANDLE
PKLOCK_QUEUE_HANDLE
 
typedef enum
_KSPIN_LOCK_QUEUE_NUMBER 
KSPIN_LOCK_QUEUE_NUMBER
 
typedef enum
_KSPIN_LOCK_QUEUE_NUMBER
PKSPIN_LOCK_QUEUE_NUMBER
 
typedef KDEFERRED_ROUTINE * PKDEFERRED_ROUTINE
 
typedef enum _KDPC_IMPORTANCE KDPC_IMPORTANCE
 
typedef struct _KDPC KDPC
 
typedef struct _KDPCPKDPC
 
typedef struct _KDPC PRKDPC
 
typedef struct
_KDPC_WATCHDOG_INFORMATION 
KDPC_WATCHDOG_INFORMATION
 
typedef struct
_KDPC_WATCHDOG_INFORMATION
PKDPC_WATCHDOG_INFORMATION
 
typedef struct _KDEVICE_QUEUE KDEVICE_QUEUE
 
typedef struct _KDEVICE_QUEUEPKDEVICE_QUEUE
 
typedef struct _KDEVICE_QUEUE PRKDEVICE_QUEUE
 
typedef struct _DISPATCHER_HEADER DISPATCHER_HEADER
 
typedef struct _DISPATCHER_HEADERPDISPATCHER_HEADER
 
typedef struct _KEVENT KEVENT
 
typedef struct _KEVENTPKEVENT
 
typedef struct _KEVENT PRKEVENT
 
typedef struct _KSEMAPHORE KSEMAPHORE
 
typedef struct _KSEMAPHOREPKSEMAPHORE
 
typedef struct _KSEMAPHORE PRKSEMAPHORE
 
typedef struct _KGATE KGATE
 
typedef struct _KGATEPKGATE
 
typedef struct _KGATE PRKGATE
 
typedef struct _KGUARDED_MUTEX KGUARDED_MUTEX
 
typedef struct _KGUARDED_MUTEXPKGUARDED_MUTEX
 
typedef struct _KMUTANT KMUTANT
 
typedef struct _KMUTANTPKMUTANT
 
typedef struct _KMUTANT PRKMUTANT
 
typedef struct _KMUTANT KMUTEX
 
typedef struct _KMUTANTPKMUTEX
 
typedef struct _KMUTANT PRKMUTEX
 
typedef struct _KTIMER KTIMER
 
typedef struct _KTIMERPKTIMER
 
typedef struct _KTIMER PRKTIMER
 
typedef enum _LOCK_OPERATION LOCK_OPERATION
 
typedef KSYNCHRONIZE_ROUTINE * PKSYNCHRONIZE_ROUTINE
 
typedef enum _POOL_TYPE POOL_TYPE
 
typedef enum
_ALTERNATIVE_ARCHITECTURE_TYPE 
ALTERNATIVE_ARCHITECTURE_TYPE
 
typedef struct _KSYSTEM_TIME KSYSTEM_TIME
 
typedef struct _KSYSTEM_TIMEPKSYSTEM_TIME
 
typedef struct _XSTATE_CONTEXT XSTATE_CONTEXT
 
typedef struct _XSTATE_CONTEXTPXSTATE_CONTEXT
 
typedef struct _XSTATE_SAVE XSTATE_SAVE
 
typedef struct _XSTATE_SAVEPXSTATE_SAVE
 
typedef struct _CONTEXT_CHUNK CONTEXT_CHUNK
 
typedef struct _CONTEXT_CHUNKPCONTEXT_CHUNK
 
typedef struct _CONTEXT_EX CONTEXT_EX
 
typedef struct _CONTEXT_EXPCONTEXT_EX
 
typedef struct _NT_TIB NT_TIB
 
typedef struct _NT_TIBPNT_TIB
 
typedef struct _NT_TIB32 NT_TIB32
 
typedef struct _NT_TIB32PNT_TIB32
 
typedef struct _NT_TIB64 NT_TIB64
 
typedef struct _NT_TIB64PNT_TIB64
 
typedef EXPAND_STACK_CALLOUT * PEXPAND_STACK_CALLOUT
 
typedef VOID(NTAPIPTIMER_APC_ROUTINE )(_In_ PVOID TimerContext, _In_ ULONG TimerLowValue, _In_ LONG TimerHighValue)
 
typedef enum
_TIMER_SET_INFORMATION_CLASS 
TIMER_SET_INFORMATION_CLASS
 
typedef struct
_TIMER_SET_COALESCABLE_TIMER_INFO 
TIMER_SET_COALESCABLE_TIMER_INFO
 
typedef struct
_TIMER_SET_COALESCABLE_TIMER_INFO
PTIMER_SET_COALESCABLE_TIMER_INFO
 
typedef struct _XSTATE_FEATURE XSTATE_FEATURE
 
typedef struct _XSTATE_FEATUREPXSTATE_FEATURE
 
typedef struct
_XSTATE_CONFIGURATION 
XSTATE_CONFIGURATION
 
typedef struct
_XSTATE_CONFIGURATION
PXSTATE_CONFIGURATION
 
typedef struct _KUSER_SHARED_DATA KUSER_SHARED_DATA
 
typedef struct _KUSER_SHARED_DATAPKUSER_SHARED_DATA
 
typedef struct _KQUEUE KQUEUE
 
typedef struct _KQUEUEPKQUEUE
 
typedef struct _KQUEUE PRKQUEUE
 

Enumerations

enum  _MODE { KernelMode, UserMode, MaximumMode }
 
enum  _PROCESSOR_CACHE_TYPE { CacheUnified, CacheInstruction, CacheData, CacheTrace }
 
enum  _LOGICAL_PROCESSOR_RELATIONSHIP {
  RelationProcessorCore, RelationNumaNode, RelationCache, RelationProcessorPackage,
  RelationGroup, RelationAll = 0xffff
}
 
enum  _KBUGCHECK_DUMP_IO_TYPE {
  KbDumpIoInvalid, KbDumpIoHeader, KbDumpIoBody, KbDumpIoSecondaryData,
  KbDumpIoComplete
}
 
enum  _KBUGCHECK_BUFFER_DUMP_STATE {
  BufferEmpty, BufferInserted, BufferStarted, BufferFinished,
  BufferIncomplete
}
 
enum  _KE_PROCESSOR_CHANGE_NOTIFY_STATE { KeProcessorAddStartNotify = 0, KeProcessorAddCompleteNotify, KeProcessorAddFailureNotify }
 
enum  _KINTERRUPT_POLARITY { InterruptPolarityUnknown, InterruptActiveHigh, InterruptActiveLow }
 
enum  _KPROFILE_SOURCE {
  ProfileTime, ProfileAlignmentFixup, ProfileTotalIssues, ProfilePipelineDry,
  ProfileLoadInstructions, ProfilePipelineFrozen, ProfileBranchInstructions, ProfileTotalNonissues,
  ProfileDcacheMisses, ProfileIcacheMisses, ProfileCacheMisses, ProfileBranchMispredictions,
  ProfileStoreInstructions, ProfileFpInstructions, ProfileIntegerInstructions, Profile2Issue,
  Profile3Issue, Profile4Issue, ProfileSpecialInstructions, ProfileTotalCycles,
  ProfileIcacheIssues, ProfileDcacheAccesses, ProfileMemoryBarrierCycles, ProfileLoadLinkedIssues,
  ProfileMaximum, ProfileTime, ProfileAlignmentFixup, ProfileTotalIssues,
  ProfilePipelineDry, ProfileLoadInstructions, ProfilePipelineFrozen, ProfileBranchInstructions,
  ProfileTotalNonissues, ProfileDcacheMisses, ProfileIcacheMisses, ProfileCacheMisses,
  ProfileBranchMispredictions, ProfileStoreInstructions, ProfileFpInstructions, ProfileIntegerInstructions,
  Profile2Issue, Profile3Issue, Profile4Issue, ProfileSpecialInstructions,
  ProfileTotalCycles, ProfileIcacheIssues, ProfileDcacheAccesses, ProfileMemoryBarrierCycles,
  ProfileLoadLinkedIssues, ProfileMaximum
}
 
enum  _KWAIT_REASON {
  Executive, FreePage, PageIn, PoolAllocation,
  DelayExecution, Suspended, UserRequest, WrExecutive,
  WrFreePage, WrPageIn, WrPoolAllocation, WrDelayExecution,
  WrSuspended, WrUserRequest, WrEventPair, WrQueue,
  WrLpcReceive, WrLpcReply, WrVirtualMemory, WrPageOut,
  WrRendezvous, WrKeyedEvent, WrTerminated, WrProcessInSwap,
  WrCpuRateControl, WrCalloutStack, WrKernel, WrResource,
  WrPushLock, WrMutex, WrQuantumEnd, WrDispatchInt,
  WrPreempted, WrYieldExecution, WrFastMutex, WrGuardedMutex,
  WrRundown, MaximumWaitReason
}
 
enum  _KINTERRUPT_MODE { LevelSensitive, Latched, LevelSensitive, Latched }
 
enum  _KD_OPTION { KD_OPTION_SET_BLOCK_ENABLE }
 
enum  _KSPIN_LOCK_QUEUE_NUMBER {
  LockQueueDispatcherLock, LockQueueExpansionLock, LockQueuePfnLock, LockQueueSystemSpaceLock,
  LockQueueVacbLock, LockQueueMasterLock, LockQueueNonPagedPoolLock, LockQueueIoCancelLock,
  LockQueueWorkQueueLock, LockQueueIoVpbLock, LockQueueIoDatabaseLock, LockQueueIoCompletionLock,
  LockQueueNtfsStructLock, LockQueueAfdWorkQueueLock, LockQueueBcbLock, LockQueueMmNonPagedPoolLock,
  LockQueueUnusedSpare16, LockQueueTimerTableLock, LockQueueMaximumLock = LockQueueTimerTableLock + LOCK_QUEUE_TIMER_TABLE_LOCKS
}
 
enum  _KDPC_IMPORTANCE { LowImportance, MediumImportance, HighImportance, MediumHighImportance }
 
enum  _LOCK_OPERATION { IoReadAccess, IoWriteAccess, IoModifyAccess }
 
enum  _POOL_TYPE {
  NonPagedPool, PagedPool, NonPagedPoolMustSucceed, DontUseThisType,
  NonPagedPoolCacheAligned, PagedPoolCacheAligned, NonPagedPoolCacheAlignedMustS, MaxPoolType,
  NonPagedPoolSession = 32, PagedPoolSession, NonPagedPoolMustSucceedSession, DontUseThisTypeSession,
  NonPagedPoolCacheAlignedSession, PagedPoolCacheAlignedSession, NonPagedPoolCacheAlignedMustSSession
}
 
enum  _ALTERNATIVE_ARCHITECTURE_TYPE { StandardDesign, NEC98x86, EndAlternatives }
 
enum  _TIMER_SET_INFORMATION_CLASS { TimerSetCoalescableTimer, MaxTimerInfoClass }
 

Functions

 $if (_WDMDDK_) typedef UCHAR KIRQL
 
 $endif (_WDMDDK_) $if(_WDMDDK_||_WINNT_) typedef struct _PROCESSOR_GROUP_INFO
 
 $endif (_WDMDDK_||_WINNT_) $if(_WDMDDK_) typedef enum _KBUGCHECK_CALLBACK_REASON
 
 _Function_class_ (KBUGCHECK_REASON_CALLBACK_ROUTINE) _IRQL_requires_same_ typedef VOID(NTAPI KBUGCHECK_REASON_CALLBACK_ROUTINE)(_In_ KBUGCHECK_CALLBACK_REASON Reason
 
 _Function_class_ (KBUGCHECK_CALLBACK_ROUTINE) _IRQL_requires_same_ typedef VOID(NTAPI KBUGCHECK_CALLBACK_ROUTINE)(IN PVOID Buffer
 
 _Function_class_ (NMI_CALLBACK) _IRQL_requires_same_ typedef BOOLEAN(NTAPI NMI_CALLBACK)(_In_opt_ PVOID Context
 
_IRQL_requires_same_ _Function_class_ (PROCESSOR_CALLBACK_FUNCTION) typedef VOID(NTAPI PROCESSOR_CALLBACK_FUNCTION)(_In_ PVOID CallbackContext
 
_IRQL_requires_same_ _Function_class_ (KSTART_ROUTINE) typedef VOID(NTAPI KSTART_ROUTINE)(_In_ PVOID StartContext)
 
 _Function_class_ (KSERVICE_ROUTINE) _IRQL_requires_(HIGH_LEVEL) _IRQL_requires_same_ typedef BOOLEAN(NTAPI KSERVICE_ROUTINE)(_In_ struct _KINTERRUPT *Interrupt
 
 _Function_class_ (KMESSAGE_SERVICE_ROUTINE) _IRQL_requires_same_ typedef BOOLEAN(NTAPI KMESSAGE_SERVICE_ROUTINE)(_In_ struct _KINTERRUPT *Interrupt
 
_IRQL_requires_same_ _Function_class_ (KIPI_BROADCAST_WORKER) _IRQL_requires_(IPI_LEVEL) typedef ULONG_PTR(NTAPI KIPI_BROADCAST_WORKER)(_In_ ULONG_PTR Argument)
 
 _Function_class_ (KDEFERRED_ROUTINE) _IRQL_requires_(DISPATCH_LEVEL) _IRQL_requires_same_ typedef VOID(NTAPI KDEFERRED_ROUTINE)(_In_ struct _KDPC *Dpc
 
 _Function_class_ (KSYNCHRONIZE_ROUTINE) _IRQL_requires_same_ typedef BOOLEAN(NTAPI KSYNCHRONIZE_ROUTINE)(_In_ PVOID SynchronizeContext)
 
struct DECLSPEC_ALIGN (16) _M128A
 
struct DECLSPEC_ALIGN (8) _XSAVE_AREA_HEADER
 
 C_ASSERT ((sizeof(XSAVE_FORMAT)&(XSAVE_ALIGN-1))==0)
 
 C_ASSERT ((FIELD_OFFSET(XSAVE_AREA, Header)&(XSAVE_ALIGN-1))==0)
 
 C_ASSERT (MINIMAL_XSTATE_AREA_LENGTH==512+64)
 
_IRQL_requires_same_ _Function_class_ (EXPAND_STACK_CALLOUT) typedef VOID(NTAPI EXPAND_STACK_CALLOUT)(_In_opt_ PVOID Parameter)
 
 $endif (_NTDDK_) $if(_NTIFS_) typedef struct _KAPC_STATE
 

Variables

PKIRQL
 
 PROCESSOR_GROUP_INFO
 
PPROCESSOR_GROUP_INFO
 
 KBUGCHECK_CALLBACK_REASON
 
_In_ struct
_KBUGCHECK_REASON_CALLBACK_RECORD
Record
 
_In_ struct
_KBUGCHECK_REASON_CALLBACK_RECORD
_Inout_ PVOID 
ReasonSpecificData
 
_In_ struct
_KBUGCHECK_REASON_CALLBACK_RECORD
_Inout_ PVOID _In_ ULONG 
ReasonSpecificDataLength
 
IN ULONG Length
 
_In_ BOOLEAN Handled
 
_IRQL_requires_same_ _In_
PKE_PROCESSOR_CHANGE_NOTIFY_CONTEXT 
ChangeContext
 
_IRQL_requires_same_ _In_
PKE_PROCESSOR_CHANGE_NOTIFY_CONTEXT
_Inout_ PNTSTATUS 
OperationStatus
 
_In_ PVOID ServiceContext
 
_In_ PVOID _In_ ULONG MessageID
 
_In_opt_ PVOID DeferredContext
 
_In_opt_ PVOID _In_opt_ PVOID SystemArgument1
 
_In_opt_ PVOID _In_opt_ PVOID
_In_opt_ PVOID 
SystemArgument2
 
 M128A
 
PM128A
 
 XSAVE_FORMAT
 
PXSAVE_FORMAT
 
 XSAVE_AREA_HEADER
 
PXSAVE_AREA_HEADER
 
 XSAVE_AREA
 
PXSAVE_AREA
 
NTSYSAPI volatile CCHAR KeNumberProcessors
 
 EXCEPTION_REGISTRATION_RECORD
 
PEXCEPTION_REGISTRATION_RECORD
 
 KAPC_STATE
 
PKAPC_STATE
 
*RESTRICTED_POINTER PRKAPC_STATE
 

Macro Definition Documentation

#define ASSERT_APC (   Object)    NT_ASSERT((Object)->Type == ApcObject)
#define ASSERT_DPC (   Object)
Value:
NT_ASSERT(((Object)->Type == 0) || \
((Object)->Type == DpcObject) || \
Type
Definition: Type.h:6
static IUnknown Object
Definition: main.c:512
#define NT_ASSERT
Definition: rtlfuncs.h:3312

Referenced by KeInsertQueueDpc(), KeRemoveQueueDpc(), KeSetImportanceDpc(), and KeSetTargetProcessorDpc().

#define ASSERT_EVENT (   Object)
Value:
((Object)->Header.Type == SynchronizationEvent))
Definition: Header.h:8
static IUnknown Object
Definition: main.c:512
#define NT_ASSERT
Definition: rtlfuncs.h:3312

Referenced by KeClearEvent(), KePulseEvent(), KeReadStateEvent(), KeResetEvent(), and KeSetEvent().

#define ASSERT_GATE (   Object)
Value:
#define KOBJECT_TYPE_MASK
Definition: ketypes.h:120
Definition: Header.h:8
static IUnknown Object
Definition: main.c:512
#define NT_ASSERT
Definition: rtlfuncs.h:3312

Referenced by KeSignalGateBoostPriority(), and KeWaitForGate().

#define ASSERT_SEMAPHORE (   Object)    NT_ASSERT((Object)->Header.Type == SemaphoreObject)
#define ASSERT_TIMER (   Object)
Value:
((Object)->Header.Type == TimerSynchronizationObject))
Definition: Header.h:8
static IUnknown Object
Definition: main.c:512
#define NT_ASSERT
Definition: rtlfuncs.h:3312

Referenced by KeCancelTimer(), KeReadStateTimer(), and KeSetTimerEx().

#define CACHE_FULLY_ASSOCIATIVE   0xFF

Definition at line 16 of file ketypes.h.

#define CONTEXT_EX_LENGTH   ALIGN_UP_BY(sizeof(CONTEXT_EX), STACK_ALIGN)

Definition at line 1009 of file ketypes.h.

#define DBG_STATUS_BUGCHECK_FIRST   3
#define DBG_STATUS_BUGCHECK_SECOND   4
#define DBG_STATUS_CONTROL_C   1
#define DBG_STATUS_DEBUG_CONTROL   6
#define DBG_STATUS_FATAL   5
#define DBG_STATUS_SYSRQ   2
#define DBG_STATUS_WORKER   7
#define DPC_THREADED   1
#define EVENT_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3)

Definition at line 21 of file ketypes.h.

#define EVENT_MODIFY_STATE   (0x0002)

Definition at line 20 of file ketypes.h.

#define EVENT_QUERY_STATE   (0x0001)

Definition at line 19 of file ketypes.h.

#define EXCEPTION_ALIGNMENT_CHECK   0x011
#define EXCEPTION_BOUND_CHECK   5
#define EXCEPTION_DEBUG   1
#define EXCEPTION_DIVIDED_BY_ZERO   0
#define EXCEPTION_DOUBLE_FAULT   8
#define EXCEPTION_GP_FAULT   0x0D
#define EXCEPTION_INT3   3
#define EXCEPTION_INVALID_OPCODE   6
#define EXCEPTION_INVALID_TSS   0x0A
#define EXCEPTION_NMI   2
#define EXCEPTION_NPX_ERROR   0x010
#define EXCEPTION_NPX_NOT_AVAILABLE   7
#define EXCEPTION_NPX_OVERRUN   9
#define EXCEPTION_RESERVED_TRAP   0x0F
#define EXCEPTION_SEGMENT_NOT_PRESENT   0x0B
#define EXCEPTION_STACK_FAULT   0x0C
#define GM_LOCK_WAITER_WOKEN   0x2
#define INVALID_PROCESSOR_INDEX   0xffffffff

Definition at line 366 of file ketypes.h.

#define IsNEC_98   (FALSE)

Definition at line 877 of file ketypes.h.

#define IsNotNEC_98   (TRUE)

Definition at line 881 of file ketypes.h.

#define KAPC_ACTUAL_LENGTH   (FIELD_OFFSET(KAPC, Inserted) + sizeof(BOOLEAN))

Definition at line 549 of file ketypes.h.

#define KAPC_OFFSET_TO_APCSTATEINDEX   FIELD_OFFSET(KAPC, ApcStateIndex)

Definition at line 548 of file ketypes.h.

#define KAPC_OFFSET_TO_SPARE_BYTE0   FIELD_OFFSET(KAPC, SpareByte0)

Definition at line 543 of file ketypes.h.

#define KAPC_OFFSET_TO_SPARE_BYTE1   FIELD_OFFSET(KAPC, SpareByte1)

Definition at line 544 of file ketypes.h.

#define KAPC_OFFSET_TO_SPARE_LONG   FIELD_OFFSET(KAPC, SpareLong0)

Definition at line 545 of file ketypes.h.

#define KAPC_OFFSET_TO_SYSTEMARGUMENT1   FIELD_OFFSET(KAPC, SystemArgument1)

Definition at line 546 of file ketypes.h.

#define KAPC_OFFSET_TO_SYSTEMARGUMENT2   FIELD_OFFSET(KAPC, SystemArgument2)

Definition at line 547 of file ketypes.h.

#define KAPC_STATE_ACTUAL_LENGTH   (FIELD_OFFSET(KAPC_STATE, UserApcPending) + sizeof(BOOLEAN))

Definition at line 1260 of file ketypes.h.

Referenced by KiMoveApcState().

#define KB_ADD_PAGES_FLAG_ADDITIONAL_RANGES_EXIST   0x80000000UL

Definition at line 295 of file ketypes.h.

#define KB_ADD_PAGES_FLAG_PHYSICAL_ADDRESS   0x00000002UL

Definition at line 294 of file ketypes.h.

#define KB_ADD_PAGES_FLAG_VIRTUAL_ADDRESS   0x00000001UL

Definition at line 293 of file ketypes.h.

#define KE_PROCESSOR_CHANGE_ADD_EXISTING   1

Definition at line 364 of file ketypes.h.

#define KSEMAPHORE_ACTUAL_LENGTH   (FIELD_OFFSET(KSEMAPHORE, Limit) + sizeof(LONG))

Definition at line 793 of file ketypes.h.

#define KTIMER_ACTUAL_LENGTH   (FIELD_OFFSET(KTIMER, Period) + sizeof(LONG))

Definition at line 841 of file ketypes.h.

#define LOCK_QUEUE_OWNER   2
#define LOCK_QUEUE_OWNER_BIT   1
#define LOCK_QUEUE_TIMER_LOCK_SHIFT   4
#define LOCK_QUEUE_TIMER_TABLE_LOCKS   (1 << (8 - LOCK_QUEUE_TIMER_LOCK_SHIFT))

Referenced by KiInitSpinLocks().

#define LOCK_QUEUE_WAIT   1
#define LOCK_QUEUE_WAIT_BIT   0
#define LTP_PC_SMT   0x1

Definition at line 23 of file ketypes.h.

#define MAX_WOW64_SHARED_ENTRIES   16

Definition at line 1126 of file ketypes.h.

#define MAXIMUM_PROC_PER_GROUP   32
#define MAXIMUM_PROCESSORS   MAXIMUM_PROC_PER_GROUP
#define MAXIMUM_SUSPEND_COUNT   MAXCHAR

Definition at line 17 of file ketypes.h.

#define MAXIMUM_WAIT_OBJECTS   64
#define MAXIMUM_XSTATE_FEATURES   64

Definition at line 1112 of file ketypes.h.

#define MINIMAL_XSTATE_AREA_LENGTH   sizeof(XSAVE_AREA)

Definition at line 990 of file ketypes.h.

#define NX_SUPPORT_POLICY_ALWAYSOFF   0

Definition at line 1068 of file ketypes.h.

Referenced by KiInitializeKernel(), and KiInitializeKernelMachineDependent().

#define NX_SUPPORT_POLICY_ALWAYSON   1
#define NX_SUPPORT_POLICY_OPTIN   2

Definition at line 1070 of file ketypes.h.

Referenced by KiInitializeKernel(), and KiInitializeKernelMachineDependent().

#define NX_SUPPORT_POLICY_OPTOUT   3

Definition at line 1071 of file ketypes.h.

Referenced by KiInitializeKernel(), and KiInitializeKernelMachineDependent().

#define PF_ALPHA_BYTE_INSTRUCTIONS   5
#define PF_ARM_64BIT_LOADSTORE_ATOMIC   25
#define PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE   24
#define PF_ARM_EXTERNAL_CACHE_AVAILABLE   26
#define PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE   27
#define PF_ARM_NEON_INSTRUCTIONS_AVAILABLE   19
#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE   31
#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE   30
#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE   29
#define PF_ARM_VFP_32_REGISTERS_AVAILABLE   18
#define PF_CHANNELS_ENABLED   16
#define PF_COMPARE64_EXCHANGE128   15
#define PF_COMPARE_EXCHANGE128   14
#define PF_COMPARE_EXCHANGE_DOUBLE   2
#define PF_FASTFAIL_AVAILABLE   23
#define PF_FLOATING_POINT_EMULATED   1

Referenced by KiInitMachineDependent().

#define PF_FLOATING_POINT_PRECISION_ERRATA   0

Referenced by KiInitMachineDependent().

#define PF_NX_ENABLED   12
#define PF_PPC_MOVEMEM_64BIT_OK   4
#define PF_RDRAND_INSTRUCTION_AVAILABLE   28
#define PF_RDTSC_INSTRUCTION_AVAILABLE   8
#define PF_RDWRFSGSBASE_AVAILABLE   22
#define PF_SECOND_LEVEL_ADDRESS_TRANSLATION   20
#define PF_SSE3_INSTRUCTIONS_AVAILABLE   13
#define PF_SSE_DAZ_MODE_AVAILABLE   11
#define PF_VIRT_FIRMWARE_ENABLED   21
#define PF_XSAVE_ENABLED   17
#define PROCESSOR_FEATURE_MAX   64
#define SEMAPHORE_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3)

Definition at line 31 of file ketypes.h.

#define SEMAPHORE_MODIFY_STATE   (0x0002)

Definition at line 30 of file ketypes.h.

#define SEMAPHORE_QUERY_STATE   (0x0001)

Definition at line 29 of file ketypes.h.

#define SetNEC_98

Definition at line 885 of file ketypes.h.

#define SetNotNEC_98

Definition at line 889 of file ketypes.h.

#define SINGLE_GROUP_LEGACY_API   1

Definition at line 26 of file ketypes.h.

#define THREAD_WAIT_OBJECTS   3

Definition at line 465 of file ketypes.h.

Referenced by KeInitThread(), KeWaitForMultipleObjects(), and NtWaitForMultipleObjects().

#define TIMER_EXPIRED_INDEX_BITS   6

Definition at line 710 of file ketypes.h.

#define TIMER_PROCESSOR_INDEX_BITS   5

Definition at line 711 of file ketypes.h.

#define TIMER_TABLE_SHIFT   9

Definition at line 822 of file ketypes.h.

#define XSAVE_ALIGN   64

Definition at line 989 of file ketypes.h.

#define XSTATE_GSSE   2

Definition at line 1105 of file ketypes.h.

#define XSTATE_LEGACY_FLOATING_POINT   0

Definition at line 1103 of file ketypes.h.

#define XSTATE_LEGACY_SSE   1

Definition at line 1104 of file ketypes.h.

#define XSTATE_MASK_GSSE   (1LL << (XSTATE_GSSE))

Definition at line 1110 of file ketypes.h.

Definition at line 1109 of file ketypes.h.

#define XSTATE_MASK_LEGACY_FLOATING_POINT   (1LL << (XSTATE_LEGACY_FLOATING_POINT))

Definition at line 1107 of file ketypes.h.

#define XSTATE_MASK_LEGACY_SSE   (1LL << (XSTATE_LEGACY_SSE))

Definition at line 1108 of file ketypes.h.

Typedef Documentation

typedef struct _KAPC KAPC
typedef struct _KDPC KDPC
typedef struct _KGATE KGATE
typedef LONG KPRIORITY

Definition at line 8 of file ketypes.h.

Definition at line 7 of file ketypes.h.

Definition at line 592 of file ketypes.h.

typedef enum _MODE MODE
typedef EXPAND_STACK_CALLOUT* PEXPAND_STACK_CALLOUT

Definition at line 1078 of file ketypes.h.

typedef struct _KAPC * PKAPC
typedef KBUGCHECK_CALLBACK_ROUTINE* PKBUGCHECK_CALLBACK_ROUTINE

Definition at line 320 of file ketypes.h.

typedef KBUGCHECK_REASON_CALLBACK_ROUTINE* PKBUGCHECK_REASON_CALLBACK_ROUTINE

Definition at line 259 of file ketypes.h.

typedef KDEFERRED_ROUTINE* PKDEFERRED_ROUTINE

Definition at line 663 of file ketypes.h.

typedef struct _KDPC * PKDPC
typedef struct _KEVENT * PKEVENT
typedef struct _KGATE * PKGATE
typedef VOID(NTAPI * PKINTERRUPT_ROUTINE)(VOID)

Definition at line 475 of file ketypes.h.

typedef KIPI_BROADCAST_WORKER* PKIPI_BROADCAST_WORKER

Definition at line 590 of file ketypes.h.

Definition at line 558 of file ketypes.h.

typedef VOID(NTAPI * PKIPI_WORKER)(IN OUT PKIPI_CONTEXT PacketContext, IN PVOID Parameter1 OPTIONAL, IN PVOID Parameter2 OPTIONAL, IN PVOID Parameter3 OPTIONAL)

Definition at line 561 of file ketypes.h.

typedef KMESSAGE_SERVICE_ROUTINE* PKMESSAGE_SERVICE_ROUTINE

Definition at line 494 of file ketypes.h.

typedef struct _KMUTANT * PKMUTEX
typedef struct _KQUEUE * PKQUEUE
typedef KSERVICE_ROUTINE* PKSERVICE_ROUTINE

Definition at line 485 of file ketypes.h.

Definition at line 592 of file ketypes.h.

typedef KSTART_ROUTINE* PKSTART_ROUTINE

Definition at line 472 of file ketypes.h.

typedef KSYNCHRONIZE_ROUTINE* PKSYNCHRONIZE_ROUTINE

Definition at line 848 of file ketypes.h.

typedef struct _KTIMER * PKTIMER
typedef NMI_CALLBACK* PNMI_CALLBACK

Definition at line 338 of file ketypes.h.

typedef struct _NT_TIB * PNT_TIB
typedef PROCESSOR_CALLBACK_FUNCTION* PPROCESSOR_CALLBACK_FUNCTION

Definition at line 362 of file ketypes.h.

typedef struct _KAPC PRKAPC
typedef struct _KDPC PRKDPC
typedef VOID(NTAPI * PTIMER_APC_ROUTINE)(_In_ PVOID TimerContext, _In_ ULONG TimerLowValue, _In_ LONG TimerHighValue)

Definition at line 1081 of file ketypes.h.

Enumeration Type Documentation

Enumerator
StandardDesign 
NEC98x86 
EndAlternatives 

Definition at line 868 of file ketypes.h.

868  {
870  NEC98x86,
enum _ALTERNATIVE_ARCHITECTURE_TYPE ALTERNATIVE_ARCHITECTURE_TYPE
Enumerator
BufferEmpty 
BufferInserted 
BufferStarted 
BufferFinished 
BufferIncomplete 

Definition at line 306 of file ketypes.h.

306  {
307  BufferEmpty,
enum _KBUGCHECK_BUFFER_DUMP_STATE KBUGCHECK_BUFFER_DUMP_STATE
Enumerator
KbDumpIoInvalid 
KbDumpIoHeader 
KbDumpIoBody 
KbDumpIoSecondaryData 
KbDumpIoComplete 

Definition at line 278 of file ketypes.h.

Enumerator
KD_OPTION_SET_BLOCK_ENABLE 

Definition at line 496 of file ketypes.h.

496  {
498 } KD_OPTION;
enum _KD_OPTION KD_OPTION
Enumerator
LowImportance 
MediumImportance 
HighImportance 
MediumHighImportance 

Definition at line 665 of file ketypes.h.

665  {
enum _KDPC_IMPORTANCE KDPC_IMPORTANCE
Enumerator
KeProcessorAddStartNotify 
KeProcessorAddCompleteNotify 
KeProcessorAddFailureNotify 

Definition at line 340 of file ketypes.h.

Enumerator
LevelSensitive 
Latched 
LevelSensitive 
Latched 

Definition at line 460 of file ketypes.h.

460  {
462  Latched
enum _KINTERRUPT_MODE KINTERRUPT_MODE
Enumerator
InterruptPolarityUnknown 
InterruptActiveHigh 
InterruptActiveLow 

Definition at line 368 of file ketypes.h.

368  {
enum _KINTERRUPT_POLARITY * PKINTERRUPT_POLARITY
enum _KINTERRUPT_POLARITY KINTERRUPT_POLARITY
Enumerator
ProfileTime 
ProfileAlignmentFixup 
ProfileTotalIssues 
ProfilePipelineDry 
ProfileLoadInstructions 
ProfilePipelineFrozen 
ProfileBranchInstructions 
ProfileTotalNonissues 
ProfileDcacheMisses 
ProfileIcacheMisses 
ProfileCacheMisses 
ProfileBranchMispredictions 
ProfileStoreInstructions 
ProfileFpInstructions 
ProfileIntegerInstructions 
Profile2Issue 
Profile3Issue 
Profile4Issue 
ProfileSpecialInstructions 
ProfileTotalCycles 
ProfileIcacheIssues 
ProfileDcacheAccesses 
ProfileMemoryBarrierCycles 
ProfileLoadLinkedIssues 
ProfileMaximum 
ProfileTime 
ProfileAlignmentFixup 
ProfileTotalIssues 
ProfilePipelineDry 
ProfileLoadInstructions 
ProfilePipelineFrozen 
ProfileBranchInstructions 
ProfileTotalNonissues 
ProfileDcacheMisses 
ProfileIcacheMisses 
ProfileCacheMisses 
ProfileBranchMispredictions 
ProfileStoreInstructions 
ProfileFpInstructions 
ProfileIntegerInstructions 
Profile2Issue 
Profile3Issue 
Profile4Issue 
ProfileSpecialInstructions 
ProfileTotalCycles 
ProfileIcacheIssues 
ProfileDcacheAccesses 
ProfileMemoryBarrierCycles 
ProfileLoadLinkedIssues 
ProfileMaximum 

Definition at line 374 of file ketypes.h.

374  {
375  ProfileTime,
enum _KPROFILE_SOURCE KPROFILE_SOURCE
Enumerator
LockQueueDispatcherLock 
LockQueueExpansionLock 
LockQueuePfnLock 
LockQueueSystemSpaceLock 
LockQueueVacbLock 
LockQueueMasterLock 
LockQueueNonPagedPoolLock 
LockQueueIoCancelLock 
LockQueueWorkQueueLock 
LockQueueIoVpbLock 
LockQueueIoDatabaseLock 
LockQueueIoCompletionLock 
LockQueueNtfsStructLock 
LockQueueAfdWorkQueueLock 
LockQueueBcbLock 
LockQueueMmNonPagedPoolLock 
LockQueueUnusedSpare16 
LockQueueTimerTableLock 
LockQueueMaximumLock 

Definition at line 630 of file ketypes.h.

630  {
649  LockQueueMaximumLock = LockQueueTimerTableLock + LOCK_QUEUE_TIMER_TABLE_LOCKS
#define LOCK_QUEUE_TIMER_TABLE_LOCKS
enum _KSPIN_LOCK_QUEUE_NUMBER * PKSPIN_LOCK_QUEUE_NUMBER
enum _KSPIN_LOCK_QUEUE_NUMBER KSPIN_LOCK_QUEUE_NUMBER
Enumerator
Executive 
FreePage 
PageIn 
PoolAllocation 
DelayExecution 
Suspended 
UserRequest 
WrExecutive 
WrFreePage 
WrPageIn 
WrPoolAllocation 
WrDelayExecution 
WrSuspended 
WrUserRequest 
WrEventPair 
WrQueue 
WrLpcReceive 
WrLpcReply 
WrVirtualMemory 
WrPageOut 
WrRendezvous 
WrKeyedEvent 
WrTerminated 
WrProcessInSwap 
WrCpuRateControl 
WrCalloutStack 
WrKernel 
WrResource 
WrPushLock 
WrMutex 
WrQuantumEnd 
WrDispatchInt 
WrPreempted 
WrYieldExecution 
WrFastMutex 
WrGuardedMutex 
WrRundown 
MaximumWaitReason 

Definition at line 402 of file ketypes.h.

402  {
403  Executive,
404  FreePage,
405  PageIn,
408  Suspended,
409  UserRequest,
410  WrExecutive,
411  WrFreePage,
412  WrPageIn,
415  WrSuspended,
417  WrEventPair,
418  WrQueue,
419  WrLpcReceive,
420  WrLpcReply,
422  WrPageOut,
423  WrRendezvous,
424  WrKeyedEvent,
425  WrTerminated,
429  WrKernel,
430  WrResource,
431  WrPushLock,
432  WrMutex,
433  WrQuantumEnd,
435  WrPreempted,
437  WrFastMutex,
439  WrRundown,
441 } KWAIT_REASON;
enum _KWAIT_REASON KWAIT_REASON
Enumerator
IoReadAccess 
IoWriteAccess 
IoModifyAccess 

Definition at line 835 of file ketypes.h.

835  {
836  IoReadAccess,
enum _LOCK_OPERATION LOCK_OPERATION
Enumerator
RelationProcessorCore 
RelationNumaNode 
RelationCache 
RelationProcessorPackage 
RelationGroup 
RelationAll 

Definition at line 81 of file ketypes.h.

Enumerator
KernelMode 
UserMode 
MaximumMode 

Definition at line 10 of file ketypes.h.

10  {
11  KernelMode,
12  UserMode,
14 } MODE;
enum _MODE MODE
Enumerator
NonPagedPool 
PagedPool 
NonPagedPoolMustSucceed 
DontUseThisType 
NonPagedPoolCacheAligned 
PagedPoolCacheAligned 
NonPagedPoolCacheAlignedMustS 
MaxPoolType 
NonPagedPoolSession 
PagedPoolSession 
NonPagedPoolMustSucceedSession 
DontUseThisTypeSession 
NonPagedPoolCacheAlignedSession 
PagedPoolCacheAlignedSession 
NonPagedPoolCacheAlignedMustSSession 

Definition at line 850 of file ketypes.h.

Enumerator
CacheUnified 
CacheInstruction 
CacheData 
CacheTrace 

Definition at line 43 of file ketypes.h.

43  {
46  CacheData,
enum _PROCESSOR_CACHE_TYPE PROCESSOR_CACHE_TYPE
Enumerator
TimerSetCoalescableTimer 
MaxTimerInfoClass 

Definition at line 1086 of file ketypes.h.

1086  {
enum _TIMER_SET_INFORMATION_CLASS TIMER_SET_INFORMATION_CLASS

Function Documentation

$endif ( _WDMDDK_  )

Definition at line 33 of file ketypes.h.

36  {
37  UCHAR MaximumProcessorCount;
38  UCHAR ActiveProcessorCount;
39  UCHAR Reserved[38];
40  KAFFINITY ActiveProcessorMask;
* PPROCESSOR_GROUP_INFO
Definition: ketypes.h:41
unsigned char UCHAR
Definition: xmlstorage.h:181
ULONG PVOID Reserved
Definition: ntimage.h:533
ULONG_PTR KAFFINITY
Definition: compat.h:75
PROCESSOR_GROUP_INFO
Definition: ketypes.h:41
$endif ( _WDMDDK_||  _WINNT_)

Definition at line 123 of file ketypes.h.

241  {
242  KbCallbackInvalid,
243  KbCallbackReserved1,
244  KbCallbackSecondaryDumpData,
245  KbCallbackDumpIo,
246  KbCallbackAddPages
KBUGCHECK_CALLBACK_REASON
Definition: ketypes.h:247
$endif ( _NTDDK_  )

Definition at line 1250 of file ketypes.h.

1252  {
1253  LIST_ENTRY ApcListHead[MaximumMode];
1255  BOOLEAN KernelApcInProgress;
1256  BOOLEAN KernelApcPending;
1257  BOOLEAN UserApcPending;
KAPC_STATE
Definition: ketypes.h:1258
unsigned char BOOLEAN
#define RESTRICTED_POINTER
Definition: ntbasedef.h:97
Definition: typedefs.h:118
*RESTRICTED_POINTER PRKAPC_STATE
Definition: ketypes.h:1258
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:219
* PKAPC_STATE
Definition: ketypes.h:1258
$if ( _WDMDDK_  )

Kernel definitions for AMD64

Kernel definitions for ARM

Definition at line 1 of file ke.h.

31 {
32  ULONG Dummy;
struct _KFLOATING_SAVE KFLOATING_SAVE
struct _KFLOATING_SAVE * PKFLOATING_SAVE
unsigned int ULONG
Definition: retypes.h:1
_Function_class_ ( KBUGCHECK_REASON_CALLBACK_ROUTINE  )
_Function_class_ ( KBUGCHECK_CALLBACK_ROUTINE  )
_Function_class_ ( NMI_CALLBACK  )
_IRQL_requires_same_ _Function_class_ ( PROCESSOR_CALLBACK_FUNCTION  )
_IRQL_requires_same_ _Function_class_ ( KSTART_ROUTINE  )
_Function_class_ ( KSERVICE_ROUTINE  )
_Function_class_ ( KMESSAGE_SERVICE_ROUTINE  )
_IRQL_requires_same_ _Function_class_ ( KIPI_BROADCAST_WORKER  )
_Function_class_ ( KDEFERRED_ROUTINE  )
_Function_class_ ( KSYNCHRONIZE_ROUTINE  )
_IRQL_requires_same_ _Function_class_ ( EXPAND_STACK_CALLOUT  )
C_ASSERT ( (sizeof(XSAVE_FORMAT)&(XSAVE_ALIGN-1))  = =0)
C_ASSERT ( (FIELD_OFFSET(XSAVE_AREA, Header)&(XSAVE_ALIGN-1))  = =0)
C_ASSERT ( MINIMAL_XSTATE_AREA_LENGTH  = =512+64)
struct DECLSPEC_ALIGN ( 16  )

Definition at line 900 of file ketypes.h.

900  {
901  ULONGLONG Low;
902  LONGLONG High;
903 } M128A, *PM128A;
M128A
Definition: ketypes.h:903
Definition: strmini.h:380
* PM128A
Definition: ketypes.h:903
int64_t LONGLONG
Definition: typedefs.h:67
uint64_t ULONGLONG
Definition: typedefs.h:66
Definition: strmini.h:378
struct DECLSPEC_ALIGN ( )

Definition at line 931 of file ketypes.h.

931  {
932  ULONG64 Mask;
933  ULONG64 Reserved[7];
uint64_t ULONG64
Definition: typedefs.h:66
ULONG PVOID Reserved
Definition: ntimage.h:533
* PXSAVE_AREA_HEADER
Definition: ketypes.h:934
XSAVE_AREA_HEADER
Definition: ketypes.h:934

Variable Documentation

Definition at line 360 of file ketypes.h.

Definition at line 1027 of file ketypes.h.

KBUGCHECK_CALLBACK_REASON

Definition at line 247 of file ketypes.h.

Definition at line 319 of file ketypes.h.

M128A

Definition at line 903 of file ketypes.h.

Referenced by $if().

_In_ PVOID _In_ ULONG MessageID

Definition at line 492 of file ketypes.h.

Referenced by RegistrationNotificationProc().

Definition at line 1027 of file ketypes.h.

* PKAPC_STATE

Definition at line 1258 of file ketypes.h.

Referenced by KeRemoveQueueApc(), and KiInsertQueueApc().

* PKIRQL

Definition at line 6 of file ketypes.h.

* PM128A

Definition at line 903 of file ketypes.h.

* PPROCESSOR_GROUP_INFO

Definition at line 41 of file ketypes.h.

* RESTRICTED_POINTER PRKAPC_STATE

Definition at line 1258 of file ketypes.h.

PROCESSOR_GROUP_INFO

Definition at line 41 of file ketypes.h.

* PXSAVE_AREA

Definition at line 939 of file ketypes.h.

* PXSAVE_AREA_HEADER

Definition at line 934 of file ketypes.h.

* PXSAVE_FORMAT

Definition at line 929 of file ketypes.h.

Definition at line 256 of file ketypes.h.

Definition at line 256 of file ketypes.h.

_In_ PVOID ServiceContext

Definition at line 484 of file ketypes.h.

XSAVE_AREA

Definition at line 939 of file ketypes.h.

XSAVE_AREA_HEADER

Definition at line 934 of file ketypes.h.

XSAVE_FORMAT

Definition at line 929 of file ketypes.h.