Fix up the indentation.

svn path=/trunk/; revision=18042
This commit is contained in:
Filip Navara 2005-09-25 09:22:22 +00:00
parent 2f370af826
commit ceb0f5f1eb

View file

@ -22,7 +22,7 @@ KeRosDumpStackFrames ( PULONG Frame, ULONG FrameCount );
* @implemented * @implemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
NtContinue ( NtContinue(
IN PCONTEXT Context, IN PCONTEXT Context,
IN BOOLEAN TestAlert) IN BOOLEAN TestAlert)
{ {
@ -32,21 +32,21 @@ NtContinue (
PFX_SAVE_AREA FxSaveArea; PFX_SAVE_AREA FxSaveArea;
KIRQL oldIrql; KIRQL oldIrql;
#ifndef NDEBUG
DPRINT("NtContinue: Context: Eip=0x%x, Esp=0x%x\n", Context->Eip, Context->Esp ); DPRINT("NtContinue: Context: Eip=0x%x, Esp=0x%x\n", Context->Eip, Context->Esp );
PULONG Frame = 0; PULONG Frame = 0;
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : ); __asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame ); DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame );
#ifndef NDEBUG
KeRosDumpStackFrames(NULL,5); KeRosDumpStackFrames(NULL,5);
#endif #endif
if ( Context == NULL ) if (Context == NULL)
{ {
DPRINT1("NtContinue called with NULL Context\n"); DPRINT1("NtContinue called with NULL Context\n");
return STATUS_INVALID_PARAMETER; return STATUS_INVALID_PARAMETER;
} }
if ( TrapFrame == NULL ) if (TrapFrame == NULL)
{ {
CPRINT("NtContinue called but TrapFrame was NULL\n"); CPRINT("NtContinue called but TrapFrame was NULL\n");
KEBUGCHECK(0); KEBUGCHECK(0);
@ -57,9 +57,10 @@ NtContinue (
* on entry to kernel mode, it will then be restored on exit * on entry to kernel mode, it will then be restored on exit
* FIXME: Validate the context * FIXME: Validate the context
*/ */
KeContextToTrapFrame ( Context, TrapFrame ); KeContextToTrapFrame(Context, TrapFrame);
/* Put the floating point context into the thread's FX_SAVE_AREA /*
* Put the floating point context into the thread's FX_SAVE_AREA
* and make sure it is reloaded when needed. * and make sure it is reloaded when needed.
*/ */
FxSaveArea = (PFX_SAVE_AREA)((ULONG_PTR)Thread->InitialStack - sizeof(FX_SAVE_AREA)); FxSaveArea = (PFX_SAVE_AREA)((ULONG_PTR)Thread->InitialStack - sizeof(FX_SAVE_AREA));