mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00:00
[NTOS:KE] Minor formatting fixes.
This commit is contained in:
parent
592f01a594
commit
b2ca7d3ed9
|
@ -73,7 +73,7 @@ KiInitMachineDependent(VOID)
|
||||||
DPRINT("PAT support detected but not yet taken advantage of!\n");
|
DPRINT("PAT support detected but not yet taken advantage of!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate the IOPM save area. */
|
// /* Allocate the IOPM save area */
|
||||||
// Ki386IopmSaveArea = ExAllocatePoolWithTag(PagedPool,
|
// Ki386IopmSaveArea = ExAllocatePoolWithTag(PagedPool,
|
||||||
// PAGE_SIZE * 2,
|
// PAGE_SIZE * 2,
|
||||||
// TAG('K', 'e', ' ', ' '));
|
// TAG('K', 'e', ' ', ' '));
|
||||||
|
|
|
@ -588,7 +588,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
|
||||||
if (!DpcStack) KeBugCheckEx(NO_PAGES_AVAILABLE, 1, 0, 0, 0);
|
if (!DpcStack) KeBugCheckEx(NO_PAGES_AVAILABLE, 1, 0, 0, 0);
|
||||||
Prcb->DpcStack = DpcStack;
|
Prcb->DpcStack = DpcStack;
|
||||||
|
|
||||||
/* Allocate the IOPM save area. */
|
/* Allocate the IOPM save area */
|
||||||
Ki386IopmSaveArea = ExAllocatePoolWithTag(PagedPool,
|
Ki386IopmSaveArea = ExAllocatePoolWithTag(PagedPool,
|
||||||
PAGE_SIZE * 2,
|
PAGE_SIZE * 2,
|
||||||
' eK');
|
' eK');
|
||||||
|
@ -600,8 +600,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Raise to Dispatch */
|
/* Raise to Dispatch */
|
||||||
KeRaiseIrql(DISPATCH_LEVEL,
|
KeRaiseIrql(DISPATCH_LEVEL, &DummyIrql);
|
||||||
&DummyIrql);
|
|
||||||
|
|
||||||
/* Set the Idle Priority to 0. This will jump into Phase 1 */
|
/* Set the Idle Priority to 0. This will jump into Phase 1 */
|
||||||
KeSetPriorityThread(InitThread, 0);
|
KeSetPriorityThread(InitThread, 0);
|
||||||
|
@ -612,8 +611,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
|
||||||
KiReleasePrcbLock(Prcb);
|
KiReleasePrcbLock(Prcb);
|
||||||
|
|
||||||
/* Raise back to HIGH_LEVEL and clear the PRCB for the loader block */
|
/* Raise back to HIGH_LEVEL and clear the PRCB for the loader block */
|
||||||
KeRaiseIrql(HIGH_LEVEL,
|
KeRaiseIrql(HIGH_LEVEL, &DummyIrql);
|
||||||
&DummyIrql);
|
|
||||||
LoaderBlock->Prcb = 0;
|
LoaderBlock->Prcb = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -835,8 +833,7 @@ AppCpuInit:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Raise to HIGH_LEVEL */
|
/* Raise to HIGH_LEVEL */
|
||||||
KeRaiseIrql(HIGH_LEVEL,
|
KeRaiseIrql(HIGH_LEVEL, &DummyIrql);
|
||||||
&DummyIrql);
|
|
||||||
|
|
||||||
/* Switch to new kernel stack and start kernel bootstrapping */
|
/* Switch to new kernel stack and start kernel bootstrapping */
|
||||||
KiSwitchToBootStack(InitialStack & ~3);
|
KiSwitchToBootStack(InitialStack & ~3);
|
||||||
|
|
Loading…
Reference in a new issue