3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/rtl/i386/exception.c
6 * PURPOSE: Kernel-mode exception support for IA-32
8 * PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net)
11 /* INCLUDES *****************************************************************/
18 /* FUNCTIONS ***************************************************************/
22 MsvcrtDebug(ULONG Value
)
24 DbgPrint("KernelDebug 0x%.08x\n", Value
);
28 #if !defined(_MSC_VER)
30 * When compiling this file with MSVC itself, don't compile these functions.
31 * They are replacements for MS compiler and/or C runtime library functions,
32 * which are already provided by the MSVC compiler and C runtime library.
39 _abnormal_termination(void)
41 DbgPrint("Abnormal Termination\n");
52 struct _EXCEPTION_RECORD
*ExceptionRecord
,
53 void *RegistrationFrame
,
54 struct _CONTEXT
*ContextRecord
,
55 void *DispatcherContext
)
57 DbgPrint("_except_handler2()\n");
58 return (EXCEPTION_DISPOSITION
)0;
65 _global_unwind2(PEXCEPTION_REGISTRATION RegistrationFrame
)
67 RtlUnwind(RegistrationFrame
, &&__ret_label
, NULL
, 0);
69 // return is important