mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 06:51:22 +00:00
Fix up the indentation.
svn path=/trunk/; revision=18042
This commit is contained in:
parent
2f370af826
commit
ceb0f5f1eb
1 changed files with 53 additions and 52 deletions
|
@ -22,7 +22,7 @@ KeRosDumpStackFrames ( PULONG Frame, ULONG FrameCount );
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS STDCALL
|
||||
NtContinue (
|
||||
NtContinue(
|
||||
IN PCONTEXT Context,
|
||||
IN BOOLEAN TestAlert)
|
||||
{
|
||||
|
@ -32,21 +32,21 @@ NtContinue (
|
|||
PFX_SAVE_AREA FxSaveArea;
|
||||
KIRQL oldIrql;
|
||||
|
||||
#ifndef NDEBUG
|
||||
DPRINT("NtContinue: Context: Eip=0x%x, Esp=0x%x\n", Context->Eip, Context->Esp );
|
||||
PULONG Frame = 0;
|
||||
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
|
||||
DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame );
|
||||
#ifndef NDEBUG
|
||||
KeRosDumpStackFrames(NULL,5);
|
||||
#endif
|
||||
|
||||
if ( Context == NULL )
|
||||
if (Context == NULL)
|
||||
{
|
||||
DPRINT1("NtContinue called with NULL Context\n");
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if ( TrapFrame == NULL )
|
||||
if (TrapFrame == NULL)
|
||||
{
|
||||
CPRINT("NtContinue called but TrapFrame was NULL\n");
|
||||
KEBUGCHECK(0);
|
||||
|
@ -57,9 +57,10 @@ NtContinue (
|
|||
* on entry to kernel mode, it will then be restored on exit
|
||||
* 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.
|
||||
*/
|
||||
FxSaveArea = (PFX_SAVE_AREA)((ULONG_PTR)Thread->InitialStack - sizeof(FX_SAVE_AREA));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue