* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: catch.c,v 1.44 2004/07/02 01:36:25 royce Exp $
+/* $Id: catch.c,v 1.45 2004/07/02 12:43:38 royce Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ke/catch.c
return FALSE;
}
-VOID
-FASTCALL
-KeRosTrapReturn ( PKTRAP_FRAME TrapFrame, PKTRAP_FRAME PrevTrapFrame );
-
-NTSTATUS STDCALL
-NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
- IN PCONTEXT Context,
- IN BOOLEAN SearchFrames)
-{
- PKTRAP_FRAME TrapFrame = KeGetCurrentThread()->TrapFrame;
- PKTRAP_FRAME PrevTrapFrame = (PKTRAP_FRAME)TrapFrame->Edx;
-
- KeGetCurrentKPCR()->Tib.ExceptionList = TrapFrame->ExceptionList;
-
- KiDispatchException(ExceptionRecord,
- Context,
- PsGetCurrentThread()->Tcb.TrapFrame,
- (KPROCESSOR_MODE)ExGetPreviousMode(),
- SearchFrames);
-
- KeRosTrapReturn ( TrapFrame, PrevTrapFrame );
- return(STATUS_SUCCESS);
-}
-
/*
* @unimplemented
*/