ReactOS  0.4.15-dev-1039-gb9754fa
exp.c File Reference
#include <ntoskrnl.h>
#include <debug.h>
#include <ppcmmu/mmu.h>
Include dependency graph for exp.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

INIT_FUNCTION VOID NTAPI KeInitExceptions (VOID)
 
ULONG NTAPI KiEspFromTrapFrame (IN PKTRAP_FRAME TrapFrame)
 
VOID NTAPI KiEspToTrapFrame (IN PKTRAP_FRAME TrapFrame, IN ULONG Esp)
 
ULONG NTAPI KiSsFromTrapFrame (IN PKTRAP_FRAME TrapFrame)
 
VOID NTAPI KiSsToTrapFrame (IN PKTRAP_FRAME TrapFrame, IN ULONG Ss)
 
USHORT NTAPI KiTagWordFnsaveToFxsave (USHORT TagWord)
 
VOID NTAPI KeContextToTrapFrame (IN PCONTEXT Context, IN OUT PKEXCEPTION_FRAME ExceptionFrame, IN OUT PKTRAP_FRAME TrapFrame, IN ULONG ContextFlags, IN KPROCESSOR_MODE PreviousMode)
 
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)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 14 of file exp.c.

Function Documentation

◆ KeContextToTrapFrame()

VOID NTAPI KeContextToTrapFrame ( IN PCONTEXT  Context,
IN OUT PKEXCEPTION_FRAME  ExceptionFrame,
IN OUT PKTRAP_FRAME  TrapFrame,
IN ULONG  ContextFlags,
IN KPROCESSOR_MODE  PreviousMode 
)

Definition at line 64 of file exp.c.

69 {
70 }

◆ KeInitExceptions()

INIT_FUNCTION VOID NTAPI KeInitExceptions ( VOID  )

Definition at line 23 of file exp.c.

24 {
25 }

Referenced by KiSystemStartup().

◆ KeRaiseUserException()

NTSTATUS NTAPI KeRaiseUserException ( IN NTSTATUS  ExceptionCode)

Definition at line 99 of file exp.c.

100 {
101  return STATUS_SUCCESS;
102 }
return STATUS_SUCCESS
Definition: btrfs.c:3014

◆ KeTrapFrameToContext()

VOID NTAPI KeTrapFrameToContext ( IN PKTRAP_FRAME  TrapFrame,
IN PKEXCEPTION_FRAME  ExceptionFrame,
IN OUT PCONTEXT  Context 
)

◆ KiDispatchException()

VOID NTAPI KiDispatchException ( IN PEXCEPTION_RECORD  ExceptionRecord,
IN PKEXCEPTION_FRAME  ExceptionFrame,
IN PKTRAP_FRAME  TrapFrame,
IN KPROCESSOR_MODE  PreviousMode,
IN BOOLEAN  FirstChance 
)

Definition at line 82 of file exp.c.

87 {
88  DbgPrint("EXCEPTION! Record %08x Frame %08x\n",
89  ExceptionRecord, ExceptionFrame);
90  MmuDumpMap();
91  KeBugCheck(KMODE_EXCEPTION_NOT_HANDLED);
92 }
#define DbgPrint
Definition: loader.c:25
DECLSPEC_NORETURN VOID NTAPI KeBugCheck(ULONG BugCheckCode)
Definition: bug.c:1431
static void MmuDumpMap()
Definition: mmu.h:262

◆ KiEspFromTrapFrame()

ULONG NTAPI KiEspFromTrapFrame ( IN PKTRAP_FRAME  TrapFrame)

Definition at line 29 of file exp.c.

30 {
31  return 0;
32 }

◆ KiEspToTrapFrame()

VOID NTAPI KiEspToTrapFrame ( IN PKTRAP_FRAME  TrapFrame,
IN ULONG  Esp 
)

Definition at line 36 of file exp.c.

38 {
39 }

◆ KiSsFromTrapFrame()

ULONG NTAPI KiSsFromTrapFrame ( IN PKTRAP_FRAME  TrapFrame)

Definition at line 43 of file exp.c.

44 {
45  return 0;
46 }

◆ KiSsToTrapFrame()

VOID NTAPI KiSsToTrapFrame ( IN PKTRAP_FRAME  TrapFrame,
IN ULONG  Ss 
)

Definition at line 50 of file exp.c.

52 {
53 }

◆ KiTagWordFnsaveToFxsave()

USHORT NTAPI KiTagWordFnsaveToFxsave ( USHORT  TagWord)

Definition at line 57 of file exp.c.

58 {
59  return 0;
60 }