mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:23:03 +00:00
[NTOSKRNL]
- Fix indentation in kdio.c. No code changes. Patch by Hermès Bélusca (1/2) CORE-6635 svn path=/trunk/; revision=57332
This commit is contained in:
parent
fb5821703c
commit
dc04f8a013
1 changed files with 28 additions and 28 deletions
|
@ -477,36 +477,36 @@ KdpScreenInit(PKD_DISPATCH_TABLE DispatchTable,
|
||||||
}
|
}
|
||||||
else if (BootPhase == 1)
|
else if (BootPhase == 1)
|
||||||
{
|
{
|
||||||
/* Allocate a buffer for dmesg log buffer. +1 for terminating null,
|
/* Allocate a buffer for dmesg log buffer. +1 for terminating null,
|
||||||
* see kdbp_cli.c:KdbpCmdDmesg()/2
|
* see kdbp_cli.c:KdbpCmdDmesg()/2
|
||||||
*/
|
*/
|
||||||
KdpDmesgBuffer = ExAllocatePool(NonPagedPool, KdpDmesgBufferSize + 1);
|
KdpDmesgBuffer = ExAllocatePool(NonPagedPool, KdpDmesgBufferSize + 1);
|
||||||
RtlZeroMemory(KdpDmesgBuffer, KdpDmesgBufferSize + 1);
|
RtlZeroMemory(KdpDmesgBuffer, KdpDmesgBufferSize + 1);
|
||||||
KdpDmesgFreeBytes = KdpDmesgBufferSize;
|
KdpDmesgFreeBytes = KdpDmesgBufferSize;
|
||||||
KdbDmesgTotalWritten = 0;
|
KdbDmesgTotalWritten = 0;
|
||||||
|
|
||||||
/* Take control of the display */
|
/* Take control of the display */
|
||||||
InbvAcquireDisplayOwnership();
|
InbvAcquireDisplayOwnership();
|
||||||
InbvResetDisplay();
|
InbvResetDisplay();
|
||||||
InbvSolidColorFill(0, 0, 639, 479, 0);
|
InbvSolidColorFill(0, 0, 639, 479, 0);
|
||||||
InbvSetTextColor(15);
|
InbvSetTextColor(15);
|
||||||
InbvSetScrollRegion(0, 0, 639, 479);
|
InbvSetScrollRegion(0, 0, 639, 479);
|
||||||
InbvInstallDisplayStringFilter(NULL);
|
InbvInstallDisplayStringFilter(NULL);
|
||||||
InbvEnableDisplayString(TRUE);
|
InbvEnableDisplayString(TRUE);
|
||||||
|
|
||||||
/* Initialize spinlock */
|
/* Initialize spinlock */
|
||||||
KeInitializeSpinLock(&KdpDmesgLogSpinLock);
|
KeInitializeSpinLock(&KdpDmesgLogSpinLock);
|
||||||
|
|
||||||
/* Display separator + ReactOS version at start of the debug log */
|
/* Display separator + ReactOS version at start of the debug log */
|
||||||
DPRINT1("-----------------------------------------------------\n");
|
DPRINT1("-----------------------------------------------------\n");
|
||||||
DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n");
|
DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n");
|
||||||
MemSizeMBs = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024;
|
MemSizeMBs = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024;
|
||||||
DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs);
|
DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs);
|
||||||
DPRINT1("Command Line: %s\n", KeLoaderBlock->LoadOptions);
|
DPRINT1("Command Line: %s\n", KeLoaderBlock->LoadOptions);
|
||||||
DPRINT1("ARC Paths: %s %s %s %s\n", KeLoaderBlock->ArcBootDeviceName,
|
DPRINT1("ARC Paths: %s %s %s %s\n", KeLoaderBlock->ArcBootDeviceName,
|
||||||
KeLoaderBlock->NtHalPathName,
|
KeLoaderBlock->NtHalPathName,
|
||||||
KeLoaderBlock->ArcHalDeviceName,
|
KeLoaderBlock->ArcHalDeviceName,
|
||||||
KeLoaderBlock->NtBootPathName);
|
KeLoaderBlock->NtBootPathName);
|
||||||
}
|
}
|
||||||
else if (BootPhase == 2)
|
else if (BootPhase == 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue