Match new RTL API to fix build
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 30s
Builds / ExectOS (i686) (push) Successful in 48s

This commit is contained in:
2023-12-06 22:56:31 +01:00
parent 1c94f9ff02
commit cd1ab2128b
3 changed files with 13 additions and 13 deletions

View File

@@ -78,13 +78,13 @@ BlpInitializeDebugConsole()
if(BlpConfiguration.Debug)
{
/* Find all debug ports */
DebugPort = RtlWideStringTokenize(BlpConfiguration.Debug, L";", &LastPort);
DebugPort = RtlTokenizeWideString(BlpConfiguration.Debug, L";", &LastPort);
/* Iterate over all debug ports */
while(DebugPort != NULL)
{
/* Check what port is set for debugging */
if(RtlWideStringCompare(DebugPort, L"COM", 3) == 0)
if(RtlCompareWideString(DebugPort, L"COM", 3) == 0)
{
/* Read COM port number */
DebugPort += 3;
@@ -97,7 +97,7 @@ BlpInitializeDebugConsole()
}
/* Check if custom COM port address supplied */
if(PortNumber == 0 && RtlWideStringCompare(DebugPort, L":0x", 3) == 0)
if(PortNumber == 0 && RtlCompareWideString(DebugPort, L":0x", 3) == 0)
{
/* COM port address provided */
DebugPort += 3;
@@ -140,7 +140,7 @@ BlpInitializeDebugConsole()
/* Enable debug port */
BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SERIAL;
}
else if(RtlWideStringCompare(DebugPort, L"SCREEN", 5) == 0)
else if(RtlCompareWideString(DebugPort, L"SCREEN", 5) == 0)
{
/* Enable debug port */
BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SCREEN;
@@ -153,7 +153,7 @@ BlpInitializeDebugConsole()
}
/* Take next debug port */
DebugPort = RtlWideStringTokenize(NULL, L";", &LastPort);
DebugPort = RtlTokenizeWideString(NULL, L";", &LastPort);
}
}