https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b2ca7d3ed989558b3bb81…
commit b2ca7d3ed989558b3bb81a5d6f5a61d8d94f665f
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Nov 24 22:08:35 2019 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 25 00:41:54 2019 +0100
[NTOS:KE] Minor formatting fixes.
---
ntoskrnl/ke/amd64/kiinit.c | 2 +-
ntoskrnl/ke/i386/kiinit.c | 11 ++++-------
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/ntoskrnl/ke/amd64/kiinit.c b/ntoskrnl/ke/amd64/kiinit.c
index 3afeaf88582..adeac8fdf5a 100644
--- a/ntoskrnl/ke/amd64/kiinit.c
+++ b/ntoskrnl/ke/amd64/kiinit.c
@@ -73,7 +73,7 @@ KiInitMachineDependent(VOID)
DPRINT("PAT support detected but not yet taken advantage of!\n");
}
- /* Allocate the IOPM save area. */
+// /* Allocate the IOPM save area */
// Ki386IopmSaveArea = ExAllocatePoolWithTag(PagedPool,
// PAGE_SIZE * 2,
// TAG('K', 'e', '
', ' '));
diff --git a/ntoskrnl/ke/i386/kiinit.c b/ntoskrnl/ke/i386/kiinit.c
index 6d437a05815..230ee5235fb 100644
--- a/ntoskrnl/ke/i386/kiinit.c
+++ b/ntoskrnl/ke/i386/kiinit.c
@@ -588,7 +588,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
if (!DpcStack) KeBugCheckEx(NO_PAGES_AVAILABLE, 1, 0, 0, 0);
Prcb->DpcStack = DpcStack;
- /* Allocate the IOPM save area. */
+ /* Allocate the IOPM save area */
Ki386IopmSaveArea = ExAllocatePoolWithTag(PagedPool,
PAGE_SIZE * 2,
' eK');
@@ -600,8 +600,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
}
/* Raise to Dispatch */
- KeRaiseIrql(DISPATCH_LEVEL,
- &DummyIrql);
+ KeRaiseIrql(DISPATCH_LEVEL, &DummyIrql);
/* Set the Idle Priority to 0. This will jump into Phase 1 */
KeSetPriorityThread(InitThread, 0);
@@ -612,8 +611,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
KiReleasePrcbLock(Prcb);
/* Raise back to HIGH_LEVEL and clear the PRCB for the loader block */
- KeRaiseIrql(HIGH_LEVEL,
- &DummyIrql);
+ KeRaiseIrql(HIGH_LEVEL, &DummyIrql);
LoaderBlock->Prcb = 0;
}
@@ -835,8 +833,7 @@ AppCpuInit:
}
/* Raise to HIGH_LEVEL */
- KeRaiseIrql(HIGH_LEVEL,
- &DummyIrql);
+ KeRaiseIrql(HIGH_LEVEL, &DummyIrql);
/* Switch to new kernel stack and start kernel bootstrapping */
KiSwitchToBootStack(InitialStack & ~3);