** TESTS ONLY (not WINDBG) ** Redirect bsod screens also to the console, by using EMS

This commit is contained in:
Hermès Bélusca-Maïto 2024-12-11 21:19:16 +01:00
parent 50e626841f
commit 00598658e1
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -81,7 +81,11 @@ CreateFreeLoaderReactOSEntries(
/* ReactOS_Debug */
// BootEntry->BootEntryKey = MAKESTRKEY(L"ReactOS_Debug");
BootEntry->FriendlyName = L"\"ReactOS (Debug)\"";
#ifndef _WINKD_
Options->OsLoadOptions = L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS";
#else
Options->OsLoadOptions = L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /redirect=com1 /redirectbaudrate=115200";
#endif
AddBootStoreEntry(BootStoreHandle, BootEntry, MAKESTRKEY(L"ReactOS_Debug"));
#ifdef _WINKD_
@ -96,7 +100,7 @@ CreateFreeLoaderReactOSEntries(
/* ReactOS_KdSerial */
// BootEntry->BootEntryKey = MAKESTRKEY(L"ReactOS_KdSerial");
BootEntry->FriendlyName = L"\"ReactOS (RosDbg)\"";
Options->OsLoadOptions = L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /KDSERIAL";
Options->OsLoadOptions = L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /KDSERIAL /redirect=com1 /redirectbaudrate=115200";
AddBootStoreEntry(BootStoreHandle, BootEntry, MAKESTRKEY(L"ReactOS_KdSerial"));
#endif