52 TrapFrame->Cpsr =
Context->Cpsr;
67 ExceptionFrame->R4 =
Context->R4;
68 ExceptionFrame->R5 =
Context->R5;
69 ExceptionFrame->R6 =
Context->R6;
70 ExceptionFrame->R7 =
Context->R7;
71 ExceptionFrame->R8 =
Context->R8;
72 ExceptionFrame->R9 =
Context->R9;
73 ExceptionFrame->R10 =
Context->R10;
74 ExceptionFrame->R11 =
Context->R11;
117 Context->Cpsr = TrapFrame->Cpsr;
132 Context->R4 = ExceptionFrame->R4;
133 Context->R5 = ExceptionFrame->R5;
134 Context->R6 = ExceptionFrame->R6;
135 Context->R7 = ExceptionFrame->R7;
136 Context->R8 = ExceptionFrame->R8;
137 Context->R9 = ExceptionFrame->R9;
138 Context->R10 = ExceptionFrame->R10;
139 Context->R11 = ExceptionFrame->R11;
175 switch (ExceptionRecord->ExceptionCode)
200 if (FirstChance !=
FALSE)
232 ExceptionRecord->ExceptionCode,
233 (
ULONG_PTR)ExceptionRecord->ExceptionAddress,
241 DPRINT1(
"Kill %.16s, ExceptionCode: %lx, ExceptionAddress: %lx\n",
243 ExceptionRecord->ExceptionCode,
244 ExceptionRecord->ExceptionAddress);
248 ExceptionRecord->ExceptionCode,
249 (
ULONG_PTR)ExceptionRecord->ExceptionAddress,
VOID NTAPI KeTrapFrameToContext(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN OUT PCONTEXT Context)
VOID NTAPI KiDispatchException(IN PEXCEPTION_RECORD ExceptionRecord, IN PKEXCEPTION_FRAME ExceptionFrame, IN PKTRAP_FRAME TrapFrame, IN KPROCESSOR_MODE PreviousMode, IN BOOLEAN FirstChance)
NTSTATUS NTAPI KeRaiseUserException(_In_ NTSTATUS ExceptionCode)
VOID NTAPI KeContextToTrapFrame(IN PCONTEXT Context, IN OUT PKEXCEPTION_FRAME ExceptionFrame, IN OUT PKTRAP_FRAME TrapFrame, IN ULONG ContextFlags, IN KPROCESSOR_MODE PreviousMode)
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
#define KeRaiseIrql(irql, oldIrql)
#define KeLowerIrql(oldIrql)
#define KeGetCurrentIrql()
DBGKD_GET_VERSION64 KdVersionBlock
PKDEBUG_ROUTINE KiDebugRoutine
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
#define KI_EXCEPTION_ACCESS_VIOLATION
NTSYSAPI BOOLEAN NTAPI RtlDispatchException(_In_ PEXCEPTION_RECORD ExceptionRecord, _In_ PCONTEXT Context)
#define NtCurrentProcess()
#define STATUS_BREAKPOINT
#define STATUS_ACCESS_VIOLATION
#define STATUS_NOT_IMPLEMENTED
VOID NTAPI KeBugCheckEx(_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
#define PsGetCurrentProcess
_In_ KPROCESSOR_MODE PreviousMode