57#if DBG && defined(_M_IX86) && !defined(_WINKD_)
58PKDBG_PRESERVICEHOOK KeWin32PreServiceHook =
NULL;
59PKDBG_POSTSERVICEHOOK KeWin32PostServiceHook =
NULL;
105 KeGetPcr()->NtTib.ExceptionList = TrapFrame->ExceptionList;
257 SaveArea->Cr0NpxState |=
CR0_TS;
277 Ke386SaveFpuState(SaveArea);
281 Cr0 |= SaveArea->Cr0NpxState;
290 SaveArea->Cr0NpxState &= ~CR0_TS;
297 Mask = SaveArea->U.FxArea.ControlWord;
298 Error = SaveArea->U.FxArea.StatusWord;
301 ErrorOffset = SaveArea->U.FxArea.ErrorOffset;
302 DataOffset = SaveArea->U.FxArea.DataOffset;
307 Mask = SaveArea->U.FnArea.ControlWord;
308 Error = SaveArea->U.FnArea.StatusWord;
311 ErrorOffset = SaveArea->U.FnArea.ErrorOffset;
312 DataOffset = SaveArea->U.FnArea.DataOffset;
439 TrapFrame->EFlags &= ~EFLAGS_TF;
452 TrapFrame->EFlags &= ~EFLAGS_TF;
648 if (__builtin_expect(
KiV86Trap(TrapFrame), 1))
697 for (
i = 0;
i < 4;
i++)
763 Ke386SaveFpuState(NpxSaveArea);
948 if (__builtin_expect(
KiV86Trap(TrapFrame), 1))
995 if (!TrapFrame->ErrCode)
998 Instructions = (
PUCHAR)TrapFrame->Eip;
1033 DPRINT(
"Instruction (%lu) at fault: %lx %lx %lx %lx\n",
1036 Instructions[
i + 1],
1037 Instructions[
i + 2],
1038 Instructions[
i + 3]);
1047 if (((Instructions[
i + 1] == 0x00) &&
1048 (((Instructions[
i + 2] & 0x38) == 0x10) ||
1049 (Instructions[
i + 2] == 0x18))) ||
1050 ((Instructions[
i + 1] == 0x01) &&
1051 (((Instructions[
i + 2] & 0x38) == 0x10) ||
1052 (Instructions[
i + 2] == 0x18) ||
1053 (Instructions[
i + 2] == 0x30))) ||
1054 (Instructions[
i + 1] == 0x08) ||
1055 (Instructions[
i + 1] == 0x09) ||
1056 (Instructions[
i + 1] == 0x35) ||
1057 (Instructions[
i + 1] == 0x21) ||
1058 (Instructions[
i + 1] == 0x06) ||
1059 (Instructions[
i + 1] == 0x20) ||
1060 (Instructions[
i + 1] == 0x22) ||
1061 (Instructions[
i + 1] == 0x23) ||
1062 (Instructions[
i + 1] == 0x30) ||
1063 (Instructions[
i + 1] == 0x33))
1074 if ((TrapFrame->SegCs &
RPL_MASK) > Iopl)
1165 Instructions = (
PUCHAR)TrapFrame->Eip;
1166 if (Instructions[0] == 0xCF)
1188 if ((Instructions[0] == 0xF) &&
1189 ((Instructions[1] == 0x32) ||
1190 (Instructions[1] == 0x30)))
1260 PVOID ResumeAddress;
1266 (((
UCHAR*)TrapFrame->
Eip)[1] == 0x18) &&
1267 (((
UCHAR*)TrapFrame->
Eip)[2] == 0x0F) &&
1268 (((
UCHAR*)TrapFrame->
Eip)[3] == 0xC7) &&
1269 (((
UCHAR*)TrapFrame->
Eip)[4] == 0x4D) &&
1270 (((
UCHAR*)TrapFrame->
Eip)[5] == 0x00));
1302 if ((SListHeader.
LowPart != TrapFrame->
Eax) ||
1305 DPRINT1(
"*** Got an S-List-Fault ***\n");
1394 DPRINT1(
"VDM PAGE FAULT at %lx:%lx for address %lx\n",
1395 TrapFrame->SegCs, TrapFrame->Eip, Cr2);
1399 DPRINT1(
"VDM page fault with status 0x%lx resolved\n",
Status);
1402 DPRINT1(
"VDM page fault with status 0x%lx NOT resolved\n",
Status);
1530 Ke386SaveFpuState(SaveArea);
1586 TrapFrame->Eip -= 2;
1632 DbgPrint(
"INT 0x2A attempted, returning 0 tick count\n");
1647 TrapFrame->ExceptionList =
KeGetPcr()->NtTib.ExceptionList;
1651 Thread->TrapFrame = TrapFrame;
1674 TrapFrame->Eip -= 2;
1694 KiDebugHandler(TrapFrame, TrapFrame->Eax, TrapFrame->Ecx, TrapFrame->Edx);
1702#if DBG && !defined(_WINKD_)
1703 if (SystemCallNumber >= 0x1000 && KeWin32PreServiceHook)
1704 KeWin32PreServiceHook(SystemCallNumber, Arguments);
1712#if DBG && !defined(_WINKD_)
1713 if (SystemCallNumber >= 0x1000 && KeWin32PostServiceHook)
1714 return KeWin32PostServiceHook(SystemCallNumber,
Result);
1730 ULONG SystemCallNumber = TrapFrame->Eax;
1742 TrapFrame->ErrCode = 0;
1745 TrapFrame->PreviousPreviousMode =
Thread->PreviousMode;
1748 TrapFrame->ExceptionList =
KeGetPcr()->NtTib.ExceptionList;
1766 Thread->TrapFrame = TrapFrame;
1780 if (__builtin_expect(
Id >= DescriptorTable->
Limit, 0))
1804 if (
Id >= DescriptorTable->
Limit)
1826 StackBytes = DescriptorTable->
Number[
Id];
#define EFLAGS_INTERRUPT_MASK
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER Handler
NTSTATUS NTAPI NtCallbackReturn(_In_ PVOID Result, _In_ ULONG ResultLength, _In_ NTSTATUS CallbackStatus)
DECLSPEC_NORETURN VOID NTAPI KeBugCheck(ULONG BugCheckCode)
#define NT_SUCCESS(StatCode)
#define KeRaiseIrql(irql, oldIrql)
#define KeLowerIrql(oldIrql)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
#define KeGetCurrentThread
#define EXCEPTION_EXECUTE_HANDLER
void __cdecl _disable(void)
void __cdecl _enable(void)
__INTRIN_INLINE void __writeeflags(uintptr_t Value)
__INTRIN_INLINE unsigned long __readcr0(void)
__INTRIN_INLINE uintptr_t __readeflags(void)
__INTRIN_INLINE unsigned long __readcr2(void)
__INTRIN_INLINE void __writecr0(unsigned int Data)
VOID NTAPI KdSetOwedBreakpoints(VOID)
struct _ULARGE_INTEGER * PULARGE_INTEGER
#define EFLAGS_NESTED_TASK
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
#define FSW_INVALID_OPERATION
struct _KTRAP_FRAME * PKTRAP_FRAME
#define EXCEPTION_INVALID_TSS
#define EXCEPTION_DOUBLE_FAULT
#define EXCEPTION_BOUND_CHECK
#define EXCEPTION_NPX_OVERRUN
#define NPX_STATE_NOT_LOADED
#define EXCEPTION_RESERVED_TRAP
#define EXCEPTION_ALIGNMENT_CHECK
#define EXCEPTION_SEGMENT_NOT_PRESENT
#define DR7_RESERVED_MASK
#define EXCEPTION_STACK_FAULT
#define EXCEPTION_GP_FAULT
#define SERVICE_TABLE_SHIFT
#define SERVICE_TABLE_MASK
#define KI_EXCEPTION_ACCESS_VIOLATION
#define SERVICE_NUMBER_MASK
#define SERVICE_TABLE_TEST
#define EXCEPTION_CHAIN_END
VOID NTAPI HalHandleNMI(IN PVOID NmiInfo)
#define TYPE_ALIGNMENT(t)
#define DECLSPEC_NORETURN
_In_ ULONG _In_ ULONG Offset
FORCEINLINE BOOLEAN KiUserTrap(IN PKTRAP_FRAME TrapFrame)
#define KeGetTrapFrame(Thread)
#define MI_IS_WRITE_ACCESS(FaultCode)
BOOLEAN NTAPI VdmDispatchPageFault(_In_ PKTRAP_FRAME TrapFrame)
BOOLEAN NTAPI VdmDispatchBop(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE DECLSPEC_NORETURN VOID KiDispatchException2Args(IN NTSTATUS Code, IN ULONG_PTR Address, IN ULONG P1, IN ULONG P2, IN PKTRAP_FRAME TrapFrame)
VOID NTAPI ExpInterlockedPopEntrySListResume(VOID)
DECLSPEC_NORETURN VOID NTAPI KiDispatchExceptionFromTrapFrame(IN NTSTATUS Code, IN ULONG Flags, IN ULONG_PTR Address, IN ULONG ParameterCount, IN ULONG_PTR Parameter1, IN ULONG_PTR Parameter2, IN ULONG_PTR Parameter3, IN PKTRAP_FRAME TrapFrame)
BOOLEAN FASTCALL Ki386HandleOpcodeV86(IN PKTRAP_FRAME TrapFrame)
VOID __cdecl ReadBatch(VOID)
FORCEINLINE DECLSPEC_NORETURN VOID KiDispatchException0Args(IN NTSTATUS Code, IN ULONG_PTR Address, IN PKTRAP_FRAME TrapFrame)
VOID __cdecl CopyParams(VOID)
NTSTATUS NTAPI KiSystemCallTrampoline(_In_ PVOID Handler, _In_ PVOID Arguments, _In_ ULONG StackBytes)
FORCEINLINE DECLSPEC_NORETURN VOID KiDispatchException1Args(IN NTSTATUS Code, IN ULONG_PTR Address, IN ULONG P1, IN PKTRAP_FRAME TrapFrame)
FORCEINLINE PFX_SAVE_AREA KiGetThreadNpxArea(IN PKTHREAD Thread)
NTSTATUS NTAPI KiConvertToGuiThread(VOID)
VOID FASTCALL Ki386BiosCallReturnAddress(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE VOID KiCheckForApcDelivery(IN PKTRAP_FRAME TrapFrame)
VOID NTAPI ExpInterlockedPopEntrySListFault(VOID)
DECLSPEC_NORETURN VOID NTAPI KeBugCheckWithTf(ULONG BugCheckCode, ULONG_PTR BugCheckParameter1, ULONG_PTR BugCheckParameter2, ULONG_PTR BugCheckParameter3, ULONG_PTR BugCheckParameter4, PKTRAP_FRAME Tf)
VOID NTAPI KiSaveProcessorState(_In_ PKTRAP_FRAME TrapFrame, _In_ PKEXCEPTION_FRAME ExceptionFrame)
BOOLEAN NTAPI KiHandleNmi(VOID)
PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch
DECLSPEC_NORETURN VOID FASTCALL KiSystemFatalException(IN ULONG ExceptionCode, IN PKTRAP_FRAME TrapFrame)
NTSTATUS NTAPI MmAccessFault(IN ULONG FaultCode, IN PVOID Address, IN KPROCESSOR_MODE Mode, IN PVOID TrapInformation)
#define STATUS_FLOAT_UNDERFLOW
#define STATUS_ILLEGAL_INSTRUCTION
#define STATUS_FLOAT_OVERFLOW
#define STATUS_FLOAT_STACK_CHECK
#define STATUS_ARRAY_BOUNDS_EXCEEDED
#define STATUS_ASSERTION_FAILURE
#define STATUS_STACK_OVERFLOW
#define STATUS_SINGLE_STEP
#define STATUS_FLOAT_DIVIDE_BY_ZERO
#define STATUS_PRIVILEGED_INSTRUCTION
#define STATUS_BREAKPOINT
#define STATUS_FLOAT_MULTIPLE_TRAPS
#define STATUS_ACCESS_VIOLATION
#define STATUS_INVALID_SYSTEM_SERVICE
#define STATUS_FLOAT_INVALID_OPERATION
#define STATUS_IN_PAGE_ERROR
#define STATUS_FLOAT_INEXACT_RESULT
#define STATUS_STACK_BUFFER_OVERRUN
#define STATUS_GUARD_PAGE_VIOLATION
#define STATUS_INTEGER_OVERFLOW
#define STATUS_INTEGER_DIVIDE_BY_ZERO
#define STATUS_INVALID_LOCK_SEQUENCE
#define _SEH2_EXCEPT(...)
#define UNIMPLEMENTED_FATAL(...)
struct _EXCEPTION_RECORD * ExceptionRecord
ULONG_PTR ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS]
union _FX_SAVE_AREA::@2458 U
struct _KGDTENTRY::@2451::@2453 Bits
struct _KGDTENTRY::@2451::@2452 Bytes
union _KGDTENTRY::@2451 HighWord
ULONG PreviousPreviousMode
struct _EXCEPTION_REGISTRATION_RECORD FAR * ExceptionList
#define EXCEPTION_NONCONTINUABLE
DECLSPEC_NORETURN VOID FASTCALL KiTrapReturnNoSegmentsRet8(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE VOID KiEnterV86Trap(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE VOID KiHandleDebugRegistersOnTrapEntry(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE DECLSPEC_NORETURN VOID KiExitV86Trap(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrapReturn(IN PKTRAP_FRAME TrapFrame)
#define KiFillTrapFrameDebug(x)
FORCEINLINE VOID KiHandleDebugRegistersOnTrapExit(PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiSystemCallTrapReturn(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE VOID KiEnterTrap(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiEditedTrapReturn(IN PKTRAP_FRAME TrapFrame)
VOID(FASTCALL * PFAST_SYSTEM_CALL_EXIT)(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrapReturnNoSegments(IN PKTRAP_FRAME TrapFrame)
#define KiExitTrapDebugChecks(x, y)
DECLSPEC_NORETURN VOID FASTCALL KiSystemCallReturn(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE VOID KiExitSystemCallDebugChecks(IN ULONG SystemCall, IN PKTRAP_FRAME TrapFrame)
UCHAR KiTrapPrefixTable[]
DECLSPEC_NORETURN VOID FASTCALL KiTrap0BHandler(IN PKTRAP_FRAME TrapFrame)
PVOID KeUserPopEntrySListResume
DECLSPEC_NORETURN VOID FASTCALL KiRaiseAssertionHandler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap00Handler(IN PKTRAP_FRAME TrapFrame)
VOID FASTCALL KiRaiseSecurityCheckFailureHandler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiNpxHandler(IN PKTRAP_FRAME TrapFrame, IN PKTHREAD Thread, IN PFX_SAVE_AREA SaveArea)
DECLSPEC_NORETURN VOID FASTCALL KiTrap0EHandler(IN PKTRAP_FRAME)
VOID FASTCALL KiCheckForSListAddress(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap10Handler(IN PKTRAP_FRAME TrapFrame)
VOID __cdecl KiFastCallEntryWithSingleStep(VOID)
VOID FASTCALL KiCallbackReturnHandler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap0CHandler(IN PKTRAP_FRAME TrapFrame)
VOID FASTCALL Ke386LoadFpuState(IN PFX_SAVE_AREA SaveArea)
DECLSPEC_NORETURN VOID __cdecl KiTrap08Handler(VOID)
DECLSPEC_NORETURN VOID FASTCALL KiTrap0FHandler(IN PKTRAP_FRAME TrapFrame)
VOID FASTCALL KiGetTickCountHandler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap13Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap0AHandler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap06Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap09Handler(IN PKTRAP_FRAME TrapFrame)
FORCEINLINE BOOLEAN KiIsFrameEdited(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiDebugServiceHandler(IN PKTRAP_FRAME TrapFrame)
PVOID KeUserPopEntrySListFault
FORCEINLINE ULONG_PTR KiDbgPostServiceHook(ULONG SystemCallNumber, ULONG_PTR Result)
DECLSPEC_NORETURN VOID FASTCALL KiEoiHelper(IN PKTRAP_FRAME TrapFrame)
VOID __cdecl KiFastCallEntry(VOID)
DECLSPEC_NORETURN VOID FASTCALL KiTrap0DHandler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap05Handler(IN PKTRAP_FRAME TrapFrame)
PFAST_SYSTEM_CALL_EXIT KiFastCallExitHandler
DECLSPEC_NORETURN VOID FASTCALL KiTrap11Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap07Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiSystemServiceHandler(IN PKTRAP_FRAME TrapFrame, IN PVOID Arguments)
VOID NTAPI Kei386EoiHelper(VOID)
FORCEINLINE VOID KiDbgPreServiceHook(ULONG SystemCallNumber, PULONG_PTR Arguments)
FORCEINLINE BOOLEAN KiV86Trap(IN PKTRAP_FRAME TrapFrame)
BOOLEAN FASTCALL KiCheckForSListFault(PKTRAP_FRAME TrapFrame)
FORCEINLINE BOOLEAN KiVdmTrap(IN PKTRAP_FRAME TrapFrame)
VOID __cdecl KiTrap02Handler(VOID)
DECLSPEC_NORETURN VOID FASTCALL KiTrap03Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap01Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiTrap04Handler(IN PKTRAP_FRAME TrapFrame)
DECLSPEC_NORETURN VOID FASTCALL KiServiceExit(IN PKTRAP_FRAME TrapFrame, IN NTSTATUS Status)
DECLSPEC_NORETURN VOID FASTCALL KiDebugHandler(IN PKTRAP_FRAME TrapFrame, IN ULONG Parameter1, IN ULONG Parameter2, IN ULONG Parameter3)
FORCEINLINE VOID KiCommonExit(IN PKTRAP_FRAME TrapFrame, BOOLEAN SkipPreviousMode)
#define FIELD_OFFSET(t, f)
#define RtlZeroMemory(Destination, Length)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
#define PsGetCurrentProcess