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)
#define UNREFERENCED_PARAMETER(P)
void __cdecl _enable(void)
VOID HalSweepDcache(VOID)
VOID KiApcInterrupt(VOID)
VOID KiSystemService(IN PKTHREAD Thread, IN PKTRAP_FRAME TrapFrame, IN ULONG Instruction)
FORCEINLINE ARM_STATUS_REGISTER KeArmStatusRegisterGet(VOID)
FORCEINLINE BOOLEAN KeDisableInterrupts(VOID)
FORCEINLINE VOID KeInvalidateTlbEntry(IN PVOID Address)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
_Must_inspect_result_ _In_ ULONG Flags
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
VOID KiPassiveRelease(VOID)
VOID HalSweepIcache(VOID)
FORCEINLINE VOID KeRestoreInterrupts(BOOLEAN WereEnabled)
FORCEINLINE VOID KiRundownThread(IN PKTHREAD Thread)
FORCEINLINE VOID KeFlushProcessTb(VOID)
void __cdecl _disable(void)
FORCEINLINE VOID KeArmFlushTlb(VOID)
FORCEINLINE VOID KeSweepICache(IN PVOID BaseAddress, IN SIZE_T FlushSize)