5#define KiServiceExit2 KiExceptionExit
7#define SYNCH_LEVEL DISPATCH_LEVEL
8#define PCR ((KPCR * const)KIP0PCRADDRESS)
19#define KD_BREAKPOINT_TYPE ULONG
20#define KD_BREAKPOINT_SIZE sizeof(ULONG)
21#define KD_BREAKPOINT_VALUE 0xDEFE
26#define MAXIMUM_VECTOR 16
31#define KeGetContextPc(Context) \
34#define KeSetContextPc(Context, ProgramCounter) \
35 ((Context)->Pc = (ProgramCounter))
37#define KeGetTrapFramePc(TrapFrame) \
40#define KeGetContextReturnRegister(Context) \
43#define KeSetContextReturnRegister(Context, ReturnValue) \
44 ((Context)->R0 = (ReturnValue))
49#define KeGetTrapFrame(Thread) \
50 (PKTRAP_FRAME)((ULONG_PTR)((Thread)->InitialStack) - \
53#define KeGetExceptionFrame(Thread) \
54 (PKEXCEPTION_FRAME)((ULONG_PTR)KeGetTrapFrame(Thread) - \
55 sizeof(KEXCEPTION_FRAME))
61#define KeGetContextSwitches(Prcb) \
62 (Prcb)->KeContextSwitches
68#define KiGetSecondLevelDCacheSize() ((PKIPCR)KeGetPcr())->SecondLevelDcacheSize
74#define KeGetTrapFrameInterruptState(TrapFrame) 0
91 return Flags.IrqDisable;
174#define Ki386PerfEnd()
175#define KiEndInterrupt(x,y)
177#define KiGetLinkedTrapFrame(x) \
178 (PKTRAP_FRAME)((x)->TrapFrame)
180#define KiGetPreviousMode(tf) \
181 ((tf->Cpsr & CPSRM_MASK) == CPSRM_USER) ? UserMode: KernelMode
FORCEINLINE VOID KeArmInvalidateTlbEntry(IN PVOID Address)
FORCEINLINE ARM_STATUS_REGISTER KeArmStatusRegisterGet(VOID)
FORCEINLINE VOID KeArmFlushTlb(VOID)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
void __cdecl _disable(void)
void __cdecl _enable(void)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
#define UNREFERENCED_PARAMETER(P)
FORCEINLINE VOID KeInvalidateTlbEntry(IN PVOID Address)
FORCEINLINE VOID KeFlushProcessTb(VOID)
FORCEINLINE BOOLEAN KeDisableInterrupts(VOID)
VOID KiApcInterrupt(VOID)
FORCEINLINE VOID KeRestoreInterrupts(BOOLEAN WereEnabled)
FORCEINLINE VOID KiRundownThread(IN PKTHREAD Thread)
FORCEINLINE VOID KeSweepICache(IN PVOID BaseAddress, IN SIZE_T FlushSize)
VOID HalSweepDcache(VOID)
VOID HalSweepIcache(VOID)
VOID KiSystemService(IN PKTHREAD Thread, IN PKTRAP_FRAME TrapFrame, IN ULONG Instruction)
VOID KiPassiveRelease(VOID)
_Must_inspect_result_ _In_ ULONG Flags