104 ExceptionFrame->
Return = 0;
135 CtxSwitchFrame->R11 = (
ULONG)(ExceptionFrame ? ExceptionFrame : CtxSwitchFrame);
141 CtxSwitchFrame->R5 = (
ULONG)StartContext;
143 CtxSwitchFrame->R7 = (
ULONG)SystemRoutine;
231 OldProcess = OldThread->ApcState.Process;
232 NewProcess = NewThread->
ApcState.Process;
233 if (OldProcess != NewProcess)
255 if (NewThread->
ApcState.KernelApcPending)
279 SwitchFrame->ApcBypassDisable = OldThreadAndApcFlag & 3;
287 DPRINT1(
"WMI Tracing not supported\n");
293 OldThread = (
PKTHREAD)(OldThreadAndApcFlag & ~3);
353 KxQueueReadyThread(OldThread, Prcb);
VOID NTAPI KiInitializeContextThread(IN PKTHREAD Thread, IN PKSYSTEM_ROUTINE SystemRoutine, IN PKSTART_ROUTINE StartRoutine, IN PVOID StartContext, IN PCONTEXT Context)
struct _KKINIT_FRAME KKINIT_FRAME
struct _KUINIT_FRAME * PKUINIT_FRAME
struct _KKINIT_FRAME * PKKINIT_FRAME
struct _KUINIT_FRAME KUINIT_FRAME
FORCEINLINE VOID KeArmTranslationTableRegisterSet(IN ARM_TTB_REGISTER Ttb)
BOOLEAN FASTCALL KiSwapContextExit(IN PKTHREAD OldThread, IN PKSWITCHFRAME SwitchFrame)
DECLSPEC_NORETURN VOID KiIdleLoop(VOID)
VOID NTAPI KiDispatchInterrupt(VOID)
struct _KSWITCHFRAME KSWITCHFRAME
struct _KSWITCHFRAME * PKSWITCHFRAME
VOID FASTCALL KiSwapContextEntry(IN PKSWITCHFRAME SwitchFrame, IN ULONG_PTR OldThreadAndApcFlag)
VOID FASTCALL KiSwitchThreads(IN PKTHREAD OldThread, IN PKTHREAD NewThread)
#define KeLowerIrql(oldIrql)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
VOID FASTCALL HalRequestSoftwareInterrupt(IN KIRQL Irql)
KIRQL FASTCALL KfRaiseIrql(IN KIRQL NewIrql)
VOID FASTCALL HalClearSoftwareInterrupt(IN KIRQL Irql)
__in PVOID ContextPointer
void __cdecl _disable(void)
void __cdecl _enable(void)
FORCEINLINE VOID KiAcquirePrcbLock(IN PKPRCB Prcb)
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
VOID(NTAPI * PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine, PVOID StartContext)
struct _KTHREAD * PKTHREAD
#define DECLSPEC_NORETURN
VOID NTAPI KiThreadStartup(VOID)
BOOLEAN FASTCALL KiSwapContext(IN KIRQL WaitIrql, IN PKTHREAD CurrentThread)
VOID NTAPI KiQuantumEnd(VOID)
VOID NTAPI KeContextToTrapFrame(PCONTEXT Context, PKEXCEPTION_FRAME ExeptionFrame, PKTRAP_FRAME TrapFrame, ULONG ContextFlags, KPROCESSOR_MODE PreviousMode)
VOID FASTCALL KiRetireDpcList(IN PKPRCB Prcb)
VOID NTAPI KeBugCheckEx(_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
volatile ULONG DpcQueueDepth
PVOID PerfGlobalGroupMask
KSWITCH_FRAME CtxSwitchFrame
KEXCEPTION_FRAME CtxSwitchFrame
PROCESSOR_POWER_STATE PowerState
struct _KTHREAD * CurrentThread
struct _KTHREAD * NextThread
SINGLE_LIST_ENTRY DeferredReadyListHead
ULONG_PTR DirectoryTableBase
KEXCEPTION_FRAME CtxSwitchFrame
KEXCEPTION_FRAME ExceptionFrame
KSWITCH_FRAME CtxSwitchFrame
PPROCESSOR_IDLE_FUNCTION IdleFunction
struct _SINGLE_LIST_ENTRY * Next
#define RtlZeroMemory(Destination, Length)
KSTART_ROUTINE * PKSTART_ROUTINE
_In_ ULONG _In_opt_ POBJECT_ATTRIBUTES _In_opt_ HANDLE _Out_opt_ PCLIENT_ID _In_ PKSTART_ROUTINE StartRoutine