XTLDR Rewrite #7

Merged
belliash merged 184 commits from xtldr_rewrite into master 2024-01-09 18:51:04 +01:00
Showing only changes of commit 089c2213a4 - Show all commits

View File

@ -84,7 +84,7 @@ BlpInitializeDebugConsole()
while(DebugPort != NULL) while(DebugPort != NULL)
{ {
/* Check what port is set for debugging */ /* Check what port is set for debugging */
if(RtlCompareWideString(DebugPort, L"COM", 3) == 0) if(RtlCompareWideStringInsensitive(DebugPort, L"COM", 3) == 0)
{ {
/* Read COM port number */ /* Read COM port number */
DebugPort += 3; DebugPort += 3;
@ -97,7 +97,7 @@ BlpInitializeDebugConsole()
} }
/* Check if custom COM port address supplied */ /* Check if custom COM port address supplied */
if(PortNumber == 0 && RtlCompareWideString(DebugPort, L":0x", 3) == 0) if(PortNumber == 0 && RtlCompareWideStringInsensitive(DebugPort, L":0x", 3) == 0)
{ {
/* COM port address provided */ /* COM port address provided */
DebugPort += 3; DebugPort += 3;
@ -140,7 +140,7 @@ BlpInitializeDebugConsole()
/* Enable debug port */ /* Enable debug port */
BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SERIAL; BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SERIAL;
} }
else if(RtlCompareWideString(DebugPort, L"SCREEN", 5) == 0) else if(RtlCompareWideStringInsensitive(DebugPort, L"SCREEN", 5) == 0)
{ {
/* Enable debug port */ /* Enable debug port */
BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SCREEN; BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SCREEN;