From 22755559276b140324414713c0d9df02c6e82752 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Fri, 2 Jul 2004 01:23:26 +0000 Subject: [PATCH] (remove old disabled code) svn path=/trunk/; revision=9965 --- reactos/ntoskrnl/ps/i386/continue.c | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/reactos/ntoskrnl/ps/i386/continue.c b/reactos/ntoskrnl/ps/i386/continue.c index 00fdd8c5e14..8e32a7c9b13 100644 --- a/reactos/ntoskrnl/ps/i386/continue.c +++ b/reactos/ntoskrnl/ps/i386/continue.c @@ -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 -#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 -- 2.17.1