Commit in reactos/ntoskrnl/ps/i386 on MAIN
continue.c+1-271.1 -> 1.2
(remove old disabled code)

reactos/ntoskrnl/ps/i386
continue.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- continue.c	2 Jul 2004 00:47:57 -0000	1.1
+++ continue.c	2 Jul 2004 01:23:26 -0000	1.2
@@ -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 @@
 
 	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
CVSspam 0.2.8