mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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
|
* @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));
|
||||||
|
|
Loading…
Reference in a new issue