Go to the source code of this file.
◆ APC_LEVEL
◆ CLOCK_LEVEL
◆ CMCI_LEVEL
◆ CONTEXT_ALL
◆ CONTEXT_AMD64
#define CONTEXT_AMD64 0x100000 |
◆ CONTEXT_CONTROL
◆ CONTEXT_DEBUG_REGISTERS
◆ CONTEXT_EXCEPTION_ACTIVE
#define CONTEXT_EXCEPTION_ACTIVE 0x8000000 |
◆ CONTEXT_EXCEPTION_REPORTING
#define CONTEXT_EXCEPTION_REPORTING 0x80000000 |
◆ CONTEXT_EXCEPTION_REQUEST
#define CONTEXT_EXCEPTION_REQUEST 0x40000000 |
◆ CONTEXT_FLOATING_POINT
◆ CONTEXT_FULL
◆ CONTEXT_INTEGER
◆ CONTEXT_SEGMENTS
◆ CONTEXT_SERVICE_ACTIVE
#define CONTEXT_SERVICE_ACTIVE 0x10000000 |
◆ CONTEXT_XSTATE
◆ DbgRaiseAssertionFailure
Definition at line 177 of file ke.h.
◆ DISPATCH_LEVEL
◆ DRS_LEVEL
◆ EFLAG_SELECT
◆ EFLAG_SIGN
◆ EFLAG_ZERO
◆ EXCEPTION_EXECUTE_FAULT
#define EXCEPTION_EXECUTE_FAULT 8 |
◆ EXCEPTION_READ_FAULT
#define EXCEPTION_READ_FAULT 0 |
◆ EXCEPTION_WRITE_FAULT
#define EXCEPTION_WRITE_FAULT 1 |
◆ FastFence
#define FastFence __faststorefence |
Definition at line 50 of file ke.h.
◆ HIGH_LEVEL
◆ INITIAL_FPCSR
◆ INITIAL_MXCSR
◆ IPI_LEVEL
◆ KeFlushIoBuffers
#define KeFlushIoBuffers |
( |
|
_Mdl, |
|
|
|
_ReadOperation, |
|
|
|
_DmaOperation |
|
) |
| |
Definition at line 174 of file ke.h.
◆ KeGetDcacheFillSize
Definition at line 46 of file ke.h.
◆ KeMemoryBarrierWithoutFence
Definition at line 66 of file ke.h.
◆ KeQueryInterruptTime
Definition at line 37 of file ke.h.
◆ KeQuerySystemTime
Definition at line 40 of file ke.h.
◆ KeQueryTickCount
Definition at line 43 of file ke.h.
◆ KeRaiseIrql
Definition at line 102 of file ke.h.
◆ KERNEL_LARGE_STACK_COMMIT
◆ KERNEL_LARGE_STACK_SIZE
#define KERNEL_LARGE_STACK_SIZE 0x12000 |
◆ KERNEL_MCA_EXCEPTION_STACK_SIZE
#define KERNEL_MCA_EXCEPTION_STACK_SIZE 0x2000 |
◆ KERNEL_STACK_SIZE
#define KERNEL_STACK_SIZE 0x6000 |
◆ KI_USER_SHARED_DATA
#define KI_USER_SHARED_DATA 0xFFFFF78000000000ULL |
◆ LFENCE_ACQUIRE
Definition at line 54 of file ke.h.
◆ LoadFence
Definition at line 51 of file ke.h.
◆ LOW_LEVEL
◆ MemoryBarrier
#define MemoryBarrier __faststorefence |
Definition at line 49 of file ke.h.
◆ MemoryFence
Definition at line 52 of file ke.h.
◆ PAGE_SHIFT
◆ PAGE_SIZE
◆ PASSIVE_LEVEL
◆ PAUSE_PROCESSOR
◆ PCR_MAJOR_VERSION
Definition at line 291 of file ke.h.
◆ PCR_MINOR_VERSION
Definition at line 290 of file ke.h.
◆ POWER_LEVEL
◆ PROFILE_LEVEL
◆ SharedInterruptTime
◆ SharedSystemTime
◆ SharedTickCount
◆ SharedUserData
◆ StoreFence
Definition at line 53 of file ke.h.
◆ YieldProcessor
Definition at line 48 of file ke.h.
◆ KPCR
◆ PKPCR
◆ PXMM_SAVE_AREA32
Definition at line 35 of file ke.h.
◆ XMM_SAVE_AREA32
Definition at line 35 of file ke.h.
◆ $if() [1/2]
Definition at line 180 of file ke.h.
219 {
258 union {
260 struct {
281 M128A VectorRegister[26];
#define DECLSPEC_ALIGN(x)
XSAVE_FORMAT XMM_SAVE_AREA32
◆ $if() [2/2]
Kernel definitions for AMD64
Definition at line 1 of file ke.h.
◆ _Always_()
◆ _IRQL_requires_max_() [1/2]
Definition at line 104 of file ke.h.
111{
113}
KIRQL FASTCALL KfRaiseIrql(IN KIRQL NewIrql)
◆ _IRQL_requires_max_() [2/2]
Definition at line 68 of file ke.h.
73{
74 return (
KIRQL)__readcr8();
75}
◆ _Kernel_requires_resource_held_()
_Kernel_requires_resource_held_ |
( |
FloatState |
| ) |
|
Definition at line 149 of file ke.h.
154{
157}
#define UNREFERENCED_PARAMETER(P)
◆ _Kernel_requires_resource_not_held_()
_Kernel_requires_resource_not_held_ |
( |
FloatState |
| ) |
|
Definition at line 137 of file ke.h.
◆ _Success_()
◆ KeGetCurrentProcessorIndex()
◆ KeGetCurrentProcessorNumber()
Definition at line 341 of file ke.h.
342{
343 return __readgsbyte(0x184);
344}
Referenced by _Requires_lock_held_(), APICSetup(), ExfAcquireRundownProtectionCacheAware(), ExfAcquireRundownProtectionCacheAwareEx(), ExfReleaseRundownProtectionCacheAware(), ExfReleaseRundownProtectionCacheAwareEx(), IOAPICMaskIrq(), IOAPICUnmaskIrq(), KdpSwitchProcessor(), KiDeferredReadyThread(), KiIpiServiceRoutine(), KiSetPriorityThread(), KxSwitchKdProcessor(), MpsTimerHandler(), NdisAcquireReadWriteLock(), NdisReleaseReadWriteLock(), NtGetCurrentProcessorNumber(), ParaNdis_ProcessRxPath(), ProIndicatePacket(), and ProTransferData().
◆ KeGetCurrentThread()
Definition at line 128 of file ke.h.
129{
130 return (
struct _KTHREAD *)__readgsqword(0x188);
131}
◆ KeGetPcr()
Definition at line 331 of file ke.h.
332{
334}
#define FIELD_OFFSET(t, f)
◆ KeMemoryBarrier()
Definition at line 58 of file ke.h.
Referenced by KeStartAllProcessors(), KiProcessorFreezeHandler(), KiSystemStartup(), KxFreezeExecution(), KxSwitchKdProcessor(), KxThawExecution(), virtqueue_add_buf_packed(), virtqueue_add_buf_split(), virtqueue_enable_cb_delayed_packed(), virtqueue_enable_cb_delayed_split(), virtqueue_enable_cb_prepare_packed(), virtqueue_enable_cb_split(), virtqueue_get_buf_packed(), virtqueue_get_buf_split(), virtqueue_kick_always_packed(), virtqueue_kick_always_split(), virtqueue_kick_prepare_packed(), virtqueue_kick_prepare_split(), and virtqueue_poll_packed().
◆ KeRaiseIrqlToSynchLevel()
Definition at line 117 of file ke.h.
118{
119#ifdef CONFIG_SMP
121#else
123#endif
124}
◆ CONTEXT
Definition at line 288 of file ke.h.
◆ KFLOATING_SAVE
Definition at line 33 of file ke.h.
◆ PKFLOATING_SAVE
Definition at line 33 of file ke.h.