2RAW(
"#include <kxamd64.inc>"),
87HEADER(
"Legacy Floating Status Bit Masks"),
102HEADER(
"Hypervisor Enlightenment Definitions"),
159HEADER(
"Machine Specific Register Numbers"),
197#if (NTDDI_VERSION >= NTDDI_WIN7)
198HEADER(
"RTL_UMS_SCHEDULER_REASON Enum Definitions"),
203HEADER(
"User mode context flag definitions"),
224HEADER(
"MXCSR Floating Control/Status Bit Masks"),
267HEADER(
"UCALLOUT_FRAME offsets (yes, Cu/Ck is ...)"),
275HEADER(
"KCALLOUT_FRAME offsets (yes, Cu/Ck is ...)"),
470#if (NTDDI_VERSION >= NTDDI_VISTA)
619OFFSET(PcLastBranchFromRip,
KIPCR, LastBranchFromRip),
620OFFSET(PcLastExceptionToRip,
KIPCR, LastExceptionToRip),
621OFFSET(PcLastExceptionFromRip,
KIPCR, LastExceptionFromRip),
629OFFSET(PcDeferredReadyListHead,
KIPCR, Prcb.DeferredReadyListHead),
637#if (NTDDI_VERSION >= NTDDI_LONGHORN)
740#if (NTDDI_VERSION >= NTDDI_WIN7)
750HEADER(
"KTRAP_FRAME offsets"),
761OFFSET(TrRax equ 0FFFFFFB0H),
762OFFSET(TrRcx equ 0FFFFFFB8H),
763OFFSET(TrRdx equ 0FFFFFFC0H),
764OFFSET(TrR8 equ 0FFFFFFC8H),
765OFFSET(TrR9 equ 0FFFFFFD0H),
766OFFSET(TrR10 equ 0FFFFFFD8H),
767OFFSET(TrR11 equ 0FFFFFFE0H),
768OFFSET(TrGsBase equ 0FFFFFFE8H),
769OFFSET(TrGsSwap equ 0FFFFFFE8H),
770OFFSET(TrXmm0 equ 0FFFFFFF0H),
776OFFSET(TrFaultAddress equ 00050
H),
783OFFSET(TrDebugControl equ 00088
H),
784OFFSET(TrLastBranchToRip equ 00090
H),
785OFFSET(TrLastBranchFromRip equ 00098
H),
786OFFSET(TrLastExceptionToRip equ 000A0H),
787OFFSET(TrLastExceptionFromRip equ 000A8H),
788OFFSET(TrSegDs equ 000B0H),
789OFFSET(TrSegEs equ 000B2H),
790OFFSET(TrSegFs equ 000B4H),
791OFFSET(TrSegGs equ 000B6H),
792OFFSET(TrTrapFrame equ 000B8H),
797OFFSET(TrErrorCode equ 000E0H),
799OFFSET(TrSegCs equ 000F0H),
800OFFSET(TrLogging equ 000F3H),
801OFFSET(TrEFlags equ 000F8H),
817#if (NTDDI_VERSION >= NTDDI_WIN7)
828OFFSET(UchStackTop, KUMS_CONTEXT_HEADER, StackTop),
830OFFSET(UchRspOffset, KUMS_CONTEXT_HEADER, RspOffset),
832OFFSET(UchFltSave, KUMS_CONTEXT_HEADER, FltSave),
834OFFSET(UchTrapFrame, KUMS_CONTEXT_HEADER, TrapFrame),
835OFFSET(UchExceptionFrame, KUMS_CONTEXT_HEADER, ExceptionFrame),
836SIZE(KUMS_CONTEXT_HEADER_LENGTH, KUMS_CONTEXT_HEADER),
839OFFSET(UcbUmsTeb, UMS_CONTROL_BLOCK, UmsTeb),
844#if (NTDDI_VERSION >= NTDDI_WIN10)
862#if (NTDDI_VERSION >= NTDDI_VISTA)
869#if (NTDDI_VERSION >= NTDDI_VISTA)
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
#define CONSTANTX(name, value)
#define ProcessorStartBlockLength
#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME
#define KEXCEPTION_ACTIVE_INTERRUPT_FRAME
#define KEXCEPTION_ACTIVE_SERVICE_FRAME
static PLARGE_INTEGER Time
_In_ NDIS_ERROR_CODE ErrorCode
#define MSR_LAST_BRANCH_FROM
#define DEBUG_ACTIVE_PRIMARY_THREAD_LOCK_BIT
#define MSR_LAST_BRANCH_TO
#define PROCESSOR_START_FLAG_FORCE_ENABLE_NX
#define FSW_CONDITION_CODE_2
#define FSW_ERROR_SUMMARY
#define FSW_CONDITION_CODE_1
#define XSW_INVALID_OPERATION
#define DEBUG_ACTIVE_SCHEDULED_THREAD_BIT
#define MSR_LAST_EXCEPTION_TO
#define DEBUG_ACTIVE_MINIMAL_THREAD
#define KF_RDWRFSGSBASE_BIT
#define DEBUG_ACTIVE_INSTRUMENTED
#define FSW_INVALID_OPERATION
#define MACHINE_TYPE_EISA
#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK_BIT
#define MSR_LAST_EXCEPTION_FROM
#define MSR_IA32_MISC_ENABLE
#define MAX_SYSCALL_PARAM_SIZE
#define XCW_INVALID_OPERATION
#define FSW_CONDITION_CODE_3
#define FSW_CONDITION_CODE_0
#define DEBUG_ACTIVE_SCHEDULED_THREAD
#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK
#define DEBUG_ACTIVE_PRIMARY_THREAD_BIT
#define XCW_ROUND_CONTROL
#define DEBUG_ACTIVE_PRIMARY_THREAD
#define DEBUG_ACTIVE_DBG_INSTRUMENTED
#define EXCEPTION_INVALID_TSS
#define EXCEPTION_DOUBLE_FAULT
#define EXCEPTION_DIVIDED_BY_ZERO
#define EXCEPTION_BOUND_CHECK
#define CONTEXT_FRAME_LENGTH
#define KTHREAD_WAIT_IRQL
#define EXCEPTION_NPX_OVERRUN
#define EXCEPTION_NPX_ERROR
#define EXCEPTION_RESERVED_TRAP
#define EXCEPTION_NPX_NOT_AVAILABLE
#define EXCEPTION_ALIGNMENT_CHECK
#define EXCEPTION_INVALID_OPCODE
#define EXCEPTION_SEGMENT_NOT_PRESENT
#define EXCEPTION_STACK_FAULT
#define KTRAP_FRAME_LENGTH
#define EXCEPTION_GP_FAULT
#define UMSCTX_SUSPENDED_MASK
#define UMSCTX_DENY_RUNNING_ON_SELF_THREAD_MASK
#define UMSCTX_VOLATILE_CONTEXT_MASK
#define UMSCTX_TERMINATED_MASK
#define UMSCTX_DEBUG_ACTIVE_MASK
@ UMSCTX_VOLATILE_CONTEXT_BIT
@ UMSCTX_SCHEDULED_THREAD_BIT
@ UMSCTX_DEBUG_ACTIVE_BIT
@ UMSCTX_DENY_RUNNING_ON_SELF_THREAD_BIT
@ UmsSchedulerThreadBlocked
@ UmsSchedulerThreadYield
#define UMSCTX_SCHEDULED_THREAD_MASK
_IRQL_requires_same_ _In_ PVOID EstablisherFrame
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT * ContextRecord
_In_ ULONG _In_ ULONG _In_ ULONG Length
_Out_ PKAPC_STATE ApcState
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
static int Link(const char **args)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
_Must_inspect_result_ _In_ ULONG Flags
_In_ PKSERVICE_ROUTINE ServiceRoutine
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL SynchronizeIrql
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL _In_ KINTERRUPT_MODE _In_ BOOLEAN _In_ KAFFINITY _In_ BOOLEAN FloatingSave
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL _In_ KINTERRUPT_MODE _In_ BOOLEAN ShareVector
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID ServiceContext
#define XSTATE_MASK_LEGACY_FLOATING_POINT
#define XSTATE_MASK_LEGACY
#define PF_COMPARE_EXCHANGE128
#define XSTATE_MASK_LEGACY_SSE
_In_ KPROCESSOR_MODE PreviousMode