3#ifndef _ARM64_KETYPES_H
4#define _ARM64_KETYPES_H
11#define PASSIVE_LEVEL 0
14#define DISPATCH_LEVEL 2
20#define PROFILE_LEVEL 15
29#define IPI_PACKET_READY 6
30#define IPI_SYNCH_REQUEST 16
35#define PRCB_MAJOR_VERSION 1
36#define PRCB_BUILD_DEBUG 1
37#define PRCB_BUILD_UNIPROCESSOR 2
42#define LDT_ENTRY ULONG
48#define INITIAL_STALL_COUNT 100
49#define MM_HAL_VA_START 0xFFFFFFFFFFC00000ULL
50#define MM_HAL_VA_END 0xFFFFFFFFFFFFFFFFULL
55#define DOUBLE_FAULT_STACK_SIZE 0x8000
132#ifndef NTOS_MODE_USER
285#define KeGetCurrentIrql() KeGetPcr()->CurrentIrql
286#define _KeGetCurrentThread() KeGetCurrentPrcb()->CurrentThread
287#define _KeGetPreviousMode() KeGetCurrentPrcb()->CurrentThread->PreviousMode
288#define _KeIsExecutingDpc() (KeGetCurrentPrcb()->DpcRoutineActive != 0)
289#define KeGetCurrentThread() _KeGetCurrentThread()
290#define KeGetPreviousMode() _KeGetPreviousMode()
struct _KSPECIAL_REGISTERS * PKSPECIAL_REGISTERS
struct _KTRAP_FRAME KTRAP_FRAME
struct _KPROCESSOR_STATE * PKPROCESSOR_STATE
struct _KEXCEPTION_FRAME * PKEXCEPTION_FRAME
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
struct _KTRAP_FRAME * PKTRAP_FRAME
struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
union _CPU_INFO * PCPU_INFO
struct _KPROCESSOR_STATE KPROCESSOR_STATE
struct _KARM64_ARCH_STATE * PKARM64_ARCH_STATE
struct _TRAPFRAME_LOG_ENTRY * PTRAPFRAME_LOG_ENTRY
struct _KARM64_ARCH_STATE KARM64_ARCH_STATE
struct _TRAPFRAME_LOG_ENTRY TRAPFRAME_LOG_ENTRY
ULONG64 Pmxevcntr_El0[31]
ULONG64 Pmxevtyper_El0[31]
UCHAR SsbMitigationKernel
ULONG SecondLevelCacheSize
UCHAR SsbMitigationDynamic
UCHAR SsbMitigationFirmware
UCHAR SecondLevelCacheAssociativity
PKSPIN_LOCK_QUEUE LockArray
UCHAR SsbMitigationReserved
KSPECIAL_REGISTERS SpecialRegisters
KARM64_ARCH_STATE ArchState
UCHAR DebugRegistersValid
UCHAR ContextFromKFramesUnwound