Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenexp.c
Go to the documentation of this file.
00001 /* 00002 * PROJECT: ReactOS Kernel 00003 * LICENSE: GPL - See COPYING in the top level directory 00004 * FILE: ntoskrnl/ke/i386/exp.c 00005 * PURPOSE: Exception Dispatching and Context<->Trap Frame Conversion 00006 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) 00007 * Gregor Anich 00008 * Skywing (skywing@valhallalegends.com) 00009 */ 00010 00011 /* INCLUDES ******************************************************************/ 00012 00013 #include <ntoskrnl.h> 00014 #define NDEBUG 00015 #include <debug.h> 00016 #include <ppcmmu/mmu.h> 00017 00018 /* FUNCTIONS *****************************************************************/ 00019 00020 VOID 00021 INIT_FUNCTION 00022 NTAPI 00023 KeInitExceptions(VOID) 00024 { 00025 } 00026 00027 ULONG 00028 NTAPI 00029 KiEspFromTrapFrame(IN PKTRAP_FRAME TrapFrame) 00030 { 00031 return 0; 00032 } 00033 00034 VOID 00035 NTAPI 00036 KiEspToTrapFrame(IN PKTRAP_FRAME TrapFrame, 00037 IN ULONG Esp) 00038 { 00039 } 00040 00041 ULONG 00042 NTAPI 00043 KiSsFromTrapFrame(IN PKTRAP_FRAME TrapFrame) 00044 { 00045 return 0; 00046 } 00047 00048 VOID 00049 NTAPI 00050 KiSsToTrapFrame(IN PKTRAP_FRAME TrapFrame, 00051 IN ULONG Ss) 00052 { 00053 } 00054 00055 USHORT 00056 NTAPI 00057 KiTagWordFnsaveToFxsave(USHORT TagWord) 00058 { 00059 return 0; 00060 } 00061 00062 VOID 00063 NTAPI 00064 KeContextToTrapFrame(IN PCONTEXT Context, 00065 IN OUT PKEXCEPTION_FRAME ExceptionFrame, 00066 IN OUT PKTRAP_FRAME TrapFrame, 00067 IN ULONG ContextFlags, 00068 IN KPROCESSOR_MODE PreviousMode) 00069 { 00070 } 00071 00072 VOID 00073 NTAPI 00074 KeTrapFrameToContext(IN PKTRAP_FRAME TrapFrame, 00075 IN PKEXCEPTION_FRAME ExceptionFrame, 00076 IN OUT PCONTEXT Context) 00077 { 00078 } 00079 00080 VOID 00081 NTAPI 00082 KiDispatchException(IN PEXCEPTION_RECORD ExceptionRecord, 00083 IN PKEXCEPTION_FRAME ExceptionFrame, 00084 IN PKTRAP_FRAME TrapFrame, 00085 IN KPROCESSOR_MODE PreviousMode, 00086 IN BOOLEAN FirstChance) 00087 { 00088 DbgPrint("EXCEPTION! Record %08x Frame %08x\n", 00089 ExceptionRecord, ExceptionFrame); 00090 MmuDumpMap(); 00091 KeBugCheck(KMODE_EXCEPTION_NOT_HANDLED); 00092 } 00093 00094 /* 00095 * @implemented 00096 */ 00097 NTSTATUS 00098 NTAPI 00099 KeRaiseUserException(IN NTSTATUS ExceptionCode) 00100 { 00101 return STATUS_SUCCESS; 00102 } 00103 Generated on Sun May 27 2012 04:36:28 for ReactOS by
1.7.6.1
|