mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:05:43 +00:00
(remove old disabled code)
svn path=/trunk/; revision=9965
This commit is contained in:
parent
837baf14b4
commit
2275555927
1 changed files with 1 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: continue.c,v 1.1 2004/07/02 00:47:57 royce Exp $
|
||||
/* $Id: continue.c,v 1.2 2004/07/02 01:23:26 royce Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -24,7 +24,6 @@
|
|||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
#if 1
|
||||
VOID
|
||||
FASTCALL
|
||||
KeRosTrapReturn ( PKTRAP_FRAME TrapFrame, PKTRAP_FRAME PrevTrapFrame );
|
||||
|
@ -72,28 +71,3 @@ NtContinue (
|
|||
|
||||
return STATUS_SUCCESS; /* this doesn't actually happen b/c KeRosTrapReturn() won't return */
|
||||
}
|
||||
#else
|
||||
NTSTATUS STDCALL
|
||||
NtContinue (
|
||||
IN PCONTEXT Context,
|
||||
IN BOOLEAN TestAlert)
|
||||
{
|
||||
PKTRAP_FRAME TrapFrame = KeGetCurrentThread()->TrapFrame;
|
||||
PULONG Frame = 0;
|
||||
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
|
||||
DbgPrint ( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame );
|
||||
|
||||
/*
|
||||
* Copy the supplied context over the register information that was saved
|
||||
* on entry to kernel mode, it will then be restored on exit
|
||||
* FIXME: Validate the context
|
||||
*/
|
||||
if ( TrapFrame == NULL )
|
||||
{
|
||||
CPRINT("NtContinue called but TrapFrame was NULL\n");
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
KeContextToTrapFrame ( Context, TrapFrame );
|
||||
return(STATUS_SUCCESS);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue