3RAW(
"#include <kxarm.h>"),
87#if (NTDDI_VERSION >= NTDDI_WIN10)
88HEADER(
"Handle table entry definition"),
89#define EXHANDLE_TABLE_ENTRY_LOCK 0x1
90#define EXHANDLE_REFERENCE_SHIFT 0x1b
91#define EXHANDLE_REF_ACQUIRE_LOCK 0xffffffff
92#define EXHANDLE_REPLENISH_REFS 0x8
93#define EXHANDLE_CACHED_REFS 0x1f
327OFFSET(PcDeferredReadyListHead,
KIPCR, Prcb.DeferredReadyListHead),
352OFFSET(PbCoresPerPhysicalProcessor,
KPRCB, CoresPerPhysicalProcessor),
353OFFSET(PbLogicalProcessorsPerCore,
KPRCB, LogicalProcessorsPerCore),
379#if (NTDDI_VERSION >= NTDDI_LONGHORN)
382OFFSET(PbDpcListHead,
KPRCB, DpcData[0].DpcListHead),
395#if (NTDDI_VERSION >= NTDDI_WIN8)
400OFFSET(PbDpcSetEventRequest,
KPRCB, DpcSetEventRequest),
416#if (NTDDI_VERSION >= NTDDI_WIN8)
428OFFSET(PbSpinLockAcquireCount,
KPRCB, SynchCounters.SpinLockAcquireCount),
439HEADER(
"UCALLOUT_FRAME offsets (yes, Cu/Ck is confusing...)"),
447HEADER(
"KCALLOUT_FRAME offsets (yes, Cu/Ck is confusing...)"),
483#define TRAP_TYPE_INTERRUPT 0x1
484#define TRAP_TYPE_SYSCALL 0x2
485#define TRAP_TYPE_UNDEFINED 0x3
486#define TRAP_TYPE_DATA_ABORT 0x4
487#define TRAP_TYPE_PREFETCH_ABORT 0x5
488#define TRAP_TYPE_RESET 0x6
489#define TRAP_TYPE_FIQ 0x7
490#define THUMB_BREAKPOINT 0xdefe
491#define THUMB_DEBUG_SERVICE 0xdefd
492#define THUMB_ASSERT 0xdefc
493#define THUMB_FASTFAIL 0xdefb
494#define THUMB_READ_CYCLES 0xdefa
495#define THUMB_DIVIDE_BY_0 0xdef9
496#define ARM_EXCEPTION_VECTOR 0xffff0000
497#define KI_DPC_INTERRUPT_FLAGS 0x2f
498#define KI_EXCEPTION_HARDWARE_ERROR 0x10000005
499#define KTRAP_FRAME_ARGUMENTS 0x38
500#define ARM_RED_ZONE_BYTES 0x8
502#define FAST_FAIL_DEPRECATED_SERVICE_INVOKED 0x1b
504#define CP14_DBGBCR_MISMATCH_BIT 0x400000
505#define CP14_DBGBCR_ENABLE_BIT 0x1
507#define CP15_CPACR_D32DIS 0x80000000
508#define CP15_CPACR_ASEDIS 0x40000000
509#define CP15_CPACR_VFP_MASK 0xf00000
510#define CPVFP_FPEXC_EX 0x80000000
511#define CPVFP_FPEXC_EN 0x40000000
512#define CPVFP_FPEXC_DEX 0x20000000
513#define CPVFP_FPEXC_FP2V 0x10000000
515#define CP15_CR0_HARVARD_CACHE 0x1000000
516#define CP15_xFSR_FS_HIGH 0x400
517#define CP15_xFSR_FS_LOW 0xf
518#define CP15_DFSR_WnR 0x800
520#define CP15_SCTLR_I 0x1000
521#define CP15_SCTLR_C 0x4
522#define CP15_SCTLR_M 0x1
523#define CP15_SCTLR_Z 0x800
524#define CP15_SCTLR_TR 0x10000000
525#define CP15_THREAD_RESERVED_MASK 0x3f
528#define PsbSelfMap 0x0
529#define PsbTiledTtb0 0x4
530#define ProcessorStartBlockLength 0x8
533#define PppArchitecturalStateVirtualAddress 0x10
534#define PppArchitecturalState 0x18
535#define PppDcacheFlushSavedRegisters 0x3b8
536#define ProcessorParkedPageLength 0x1000
539#define TlCpuNumber 0x4
540#define TlTrapType 0x5
558#define KEXCEPTION_ACTIVE_INTERRUPT_FRAME 0x0
559#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME 0x1
560#define KEXCEPTION_ACTIVE_SERVICE_FRAME 0x2
static volatile LONG DpcCount
ULONG IoWriteOperationCount
LARGE_INTEGER IoReadTransferCount
LARGE_INTEGER IoWriteTransferCount
ULONG IoOtherOperationCount
LARGE_INTEGER IoOtherTransferCount
ULONG IoReadOperationCount
#define KTRAP_FRAME_LENGTH
#define CP14_DBGDSCR_MOE_BP
#define FPSCRM_DEPRECATED
#define CP14_DBGDSCR_MOE_EXTERNAL
#define CP14_DBGDSCR_MOE_WPASYNC
#define CP14_DBGDSCR_MOE_VECTOR
#define CP15_PMCR_CNT_RST
#define CP15_PMCR_CLKCNT_DIV
#define CP14_DBGDSCR_MOE_HALT
#define FPSCRM_RMODE_MASK
#define CP14_DBGDSCR_MOE_BKPT
#define CP14_DBGDSCR_MOE_MASK
#define CP14_DBGDSCR_MOE_SHIFT
#define CP14_DBGDSCR_MOE_WPSYNC
#define CP15_PMCR_CLKCNT_RST
#define CONTEXT_FRAME_LENGTH
#define KI_EXCEPTION_INTERNAL
_IRQL_requires_same_ _In_ PVOID EstablisherFrame
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT * ContextRecord
_In_ ULONG _In_ ULONG _In_ ULONG Length
ULONG CcFastReadNotPossible
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
#define R1(v, w, x, y, z, i)
#define R2(v, w, x, y, z, i)
#define R0(v, w, x, y, z, i)
#define R3(v, w, x, y, z, i)
#define R4(v, w, x, y, z, i)
static int Link(const char **args)
_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
_Reserved_ PVOID Reserved
#define PF_ARM_EXTERNAL_CACHE_AVAILABLE
_In_ KPROCESSOR_MODE PreviousMode