mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[NTOS:IO/KD/KDBG] Formatting fixes only.
This commit is contained in:
parent
df7ab5d8f7
commit
4585372c6d
|
@ -584,8 +584,8 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the disk subsystem is initialized here and the SystemRoot is set too
|
/* The disk subsystem is initialized here and the SystemRoot is set too.
|
||||||
// we can finally load other drivers from the boot volume
|
* We can finally load other drivers from the boot volume. */
|
||||||
PnPBootDriversInitialized = TRUE;
|
PnPBootDriversInitialized = TRUE;
|
||||||
|
|
||||||
#if !defined(_WINKD_) && defined(KDBG)
|
#if !defined(_WINKD_) && defined(KDBG)
|
||||||
|
@ -640,7 +640,7 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Load the System DLL and its Entrypoints */
|
/* Load the System DLL and its entrypoints */
|
||||||
Status = PsLocateSystemDll();
|
Status = PsLocateSystemDll();
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ IopTimerDispatch(IN PKDPC Dpc,
|
||||||
PIO_TIMER Timer;
|
PIO_TIMER Timer;
|
||||||
ULONG i;
|
ULONG i;
|
||||||
|
|
||||||
/* Check if any Timers are actualyl enabled as of now */
|
/* Check if any Timers are actually enabled as of now */
|
||||||
if (IopTimerCount)
|
if (IopTimerCount)
|
||||||
{
|
{
|
||||||
/* Lock the Timers */
|
/* Lock the Timers */
|
||||||
|
|
|
@ -36,7 +36,7 @@ KdpGetDebugMode(PCHAR Currentp2)
|
||||||
/* Check for Serial Debugging */
|
/* Check for Serial Debugging */
|
||||||
else if (!_strnicmp(p2, "COM", 3))
|
else if (!_strnicmp(p2, "COM", 3))
|
||||||
{
|
{
|
||||||
/* Gheck for a valid Serial Port */
|
/* Check for a valid Serial Port */
|
||||||
p2 += 3;
|
p2 += 3;
|
||||||
if (*p2 != ':')
|
if (*p2 != ':')
|
||||||
{
|
{
|
||||||
|
|
|
@ -3832,7 +3832,8 @@ KdbpCliInit(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the size of the file */
|
/* Get the size of the file */
|
||||||
Status = ZwQueryInformationFile(hFile, &Iosb, &FileStdInfo, sizeof(FileStdInfo),
|
Status = ZwQueryInformationFile(hFile, &Iosb,
|
||||||
|
&FileStdInfo, sizeof(FileStdInfo),
|
||||||
FileStandardInformation);
|
FileStandardInformation);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
@ -3855,7 +3856,7 @@ KdbpCliInit(VOID)
|
||||||
Status = ZwReadFile(hFile, NULL, NULL, NULL, &Iosb, FileBuffer, FileSize, NULL, NULL);
|
Status = ZwReadFile(hFile, NULL, NULL, NULL, &Iosb, FileBuffer, FileSize, NULL, NULL);
|
||||||
ZwClose(hFile);
|
ZwClose(hFile);
|
||||||
|
|
||||||
if (!NT_SUCCESS(Status) && Status != STATUS_END_OF_FILE)
|
if (!NT_SUCCESS(Status) && (Status != STATUS_END_OF_FILE))
|
||||||
{
|
{
|
||||||
ExFreePool(FileBuffer);
|
ExFreePool(FileBuffer);
|
||||||
DPRINT("Could not read KDBinit file into memory (Status 0x%lx)\n", Status);
|
DPRINT("Could not read KDBinit file into memory (Status 0x%lx)\n", Status);
|
||||||
|
|
Loading…
Reference in a new issue