mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +00:00
[FREELDR:NTLDR] Add '\n' to debug logs (#4474)
This commit is contained in:
parent
4f72e9c9b0
commit
57d7f6f6b3
2 changed files with 12 additions and 12 deletions
|
@ -212,7 +212,7 @@ MempAllocatePageTables(VOID)
|
||||||
if (Buffer + (TotalSize - NumPageTables*MM_PAGE_SIZE) !=
|
if (Buffer + (TotalSize - NumPageTables*MM_PAGE_SIZE) !=
|
||||||
PhysicalPageTablesBuffer)
|
PhysicalPageTablesBuffer)
|
||||||
{
|
{
|
||||||
TRACE("There was a problem allocating two adjacent blocks of memory!");
|
TRACE("There was a problem allocating two adjacent blocks of memory!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Buffer == NULL || PhysicalPageTablesBuffer == NULL)
|
if (Buffer == NULL || PhysicalPageTablesBuffer == NULL)
|
||||||
|
|
|
@ -65,7 +65,7 @@ WinLdrLoadSystemHive(
|
||||||
Status = ArcGetFileInformation(FileId, &FileInfo);
|
Status = ArcGetFileInformation(FileId, &FileInfo);
|
||||||
if (Status != ESUCCESS)
|
if (Status != ESUCCESS)
|
||||||
{
|
{
|
||||||
WARN("Hive file has 0 size!");
|
WARN("Hive file has 0 size!\n");
|
||||||
ArcClose(FileId);
|
ArcClose(FileId);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -78,7 +78,7 @@ WinLdrLoadSystemHive(
|
||||||
|
|
||||||
if (HiveDataPhysical == NULL)
|
if (HiveDataPhysical == NULL)
|
||||||
{
|
{
|
||||||
WARN("Could not alloc memory for hive!");
|
WARN("Could not alloc memory for hive!\n");
|
||||||
ArcClose(FileId);
|
ArcClose(FileId);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -226,7 +226,7 @@ WinLdrGetNLSNames(
|
||||||
rc = RegOpenKey(ControlSet, L"Control\\NLS\\CodePage", &hKey);
|
rc = RegOpenKey(ControlSet, L"Control\\NLS\\CodePage", &hKey);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Couldn't open CodePage registry key");
|
//TRACE("Couldn't open CodePage registry key\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ WinLdrGetNLSNames(
|
||||||
rc = RegQueryValue(hKey, L"ACP", NULL, (PUCHAR)szIdBuffer, &BufferSize);
|
rc = RegQueryValue(hKey, L"ACP", NULL, (PUCHAR)szIdBuffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Couldn't get ACP NLS setting");
|
//TRACE("Couldn't get ACP NLS setting\n");
|
||||||
goto Quit;
|
goto Quit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ WinLdrGetNLSNames(
|
||||||
(PUCHAR)AnsiFileName->Buffer, &BufferSize);
|
(PUCHAR)AnsiFileName->Buffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("ACP NLS Setting exists, but isn't readable");
|
//TRACE("ACP NLS Setting exists, but isn't readable\n");
|
||||||
//goto Quit;
|
//goto Quit;
|
||||||
AnsiFileName->Length = 0;
|
AnsiFileName->Length = 0;
|
||||||
RtlAppendUnicodeToString(AnsiFileName, L"c_1252.nls"); // HACK: ReactOS bug CORE-6105
|
RtlAppendUnicodeToString(AnsiFileName, L"c_1252.nls"); // HACK: ReactOS bug CORE-6105
|
||||||
|
@ -259,7 +259,7 @@ WinLdrGetNLSNames(
|
||||||
rc = RegQueryValue(hKey, L"OEMCP", NULL, (PUCHAR)szIdBuffer, &BufferSize);
|
rc = RegQueryValue(hKey, L"OEMCP", NULL, (PUCHAR)szIdBuffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Couldn't get OEMCP NLS setting");
|
//TRACE("Couldn't get OEMCP NLS setting\n");
|
||||||
goto Quit;
|
goto Quit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ WinLdrGetNLSNames(
|
||||||
(PUCHAR)OemFileName->Buffer, &BufferSize);
|
(PUCHAR)OemFileName->Buffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("OEMCP NLS setting exists, but isn't readable");
|
//TRACE("OEMCP NLS setting exists, but isn't readable\n");
|
||||||
//goto Quit;
|
//goto Quit;
|
||||||
OemFileName->Length = 0;
|
OemFileName->Length = 0;
|
||||||
RtlAppendUnicodeToString(OemFileName, L"c_437.nls"); // HACK: ReactOS bug CORE-6105
|
RtlAppendUnicodeToString(OemFileName, L"c_437.nls"); // HACK: ReactOS bug CORE-6105
|
||||||
|
@ -284,7 +284,7 @@ WinLdrGetNLSNames(
|
||||||
(PUCHAR)OemHalFileName->Buffer, &BufferSize);
|
(PUCHAR)OemHalFileName->Buffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Couldn't get OEMHAL NLS setting");
|
//TRACE("Couldn't get OEMHAL NLS setting\n");
|
||||||
//goto Quit;
|
//goto Quit;
|
||||||
RtlInitEmptyUnicodeString(OemHalFileName, NULL, 0);
|
RtlInitEmptyUnicodeString(OemHalFileName, NULL, 0);
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ WinLdrGetNLSNames(
|
||||||
rc = RegOpenKey(ControlSet, L"Control\\NLS\\Language", &hKey);
|
rc = RegOpenKey(ControlSet, L"Control\\NLS\\Language", &hKey);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Couldn't open Language registry key");
|
//TRACE("Couldn't open Language registry key\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ WinLdrGetNLSNames(
|
||||||
rc = RegQueryValue(hKey, L"Default", NULL, (PUCHAR)szIdBuffer, &BufferSize);
|
rc = RegQueryValue(hKey, L"Default", NULL, (PUCHAR)szIdBuffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Couldn't get Language Default setting");
|
//TRACE("Couldn't get Language Default setting\n");
|
||||||
goto Quit;
|
goto Quit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -317,7 +317,7 @@ WinLdrGetNLSNames(
|
||||||
(PUCHAR)LangFileName->Buffer, &BufferSize);
|
(PUCHAR)LangFileName->Buffer, &BufferSize);
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
//TRACE("Language Default setting exists, but isn't readable");
|
//TRACE("Language Default setting exists, but isn't readable\n");
|
||||||
//goto Quit;
|
//goto Quit;
|
||||||
LangFileName->Length = 0;
|
LangFileName->Length = 0;
|
||||||
RtlAppendUnicodeToString(LangFileName, L"l_intl.nls");
|
RtlAppendUnicodeToString(LangFileName, L"l_intl.nls");
|
||||||
|
|
Loading…
Reference in a new issue