mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 09:22:04 +00:00
[FREELDR]: Pseudo-fix my previous commit. But anyway, the "usebiossettings" case looks strange... (I mean, this precise line: LoaderRedirectionInformation.PortAddress = (PUCHAR)strtoul(Settings, 0, 16); ).
svn path=/trunk/; revision=66142
This commit is contained in:
parent
3536a8463e
commit
42ef1d09a7
1 changed files with 5 additions and 4 deletions
|
@ -242,7 +242,7 @@ WinLdrInitializeHeadlessPort(VOID)
|
||||||
VOID
|
VOID
|
||||||
WinLdrSetupEms(IN PCHAR BootOptions)
|
WinLdrSetupEms(IN PCHAR BootOptions)
|
||||||
{
|
{
|
||||||
PCHAR Settings;
|
PCHAR Settings, RedirectPort;
|
||||||
|
|
||||||
/* Start fresh */
|
/* Start fresh */
|
||||||
RtlZeroMemory(&LoaderRedirectionInformation, sizeof(HEADLESS_LOADER_BLOCK));
|
RtlZeroMemory(&LoaderRedirectionInformation, sizeof(HEADLESS_LOADER_BLOCK));
|
||||||
|
@ -252,7 +252,7 @@ WinLdrSetupEms(IN PCHAR BootOptions)
|
||||||
Settings = strstr(BootOptions, "/redirect=");
|
Settings = strstr(BootOptions, "/redirect=");
|
||||||
if (Settings)
|
if (Settings)
|
||||||
{
|
{
|
||||||
PCHAR RedirectPort = strstr(Settings, "com");
|
RedirectPort = strstr(Settings, "com");
|
||||||
if (RedirectPort)
|
if (RedirectPort)
|
||||||
{
|
{
|
||||||
RedirectPort += sizeof("com") - 1;
|
RedirectPort += sizeof("com") - 1;
|
||||||
|
@ -261,10 +261,11 @@ WinLdrSetupEms(IN PCHAR BootOptions)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Settings = strstr(Settings, "usebiossettings");
|
RedirectPort = strstr(Settings, "usebiossettings");
|
||||||
if (Settings)
|
if (RedirectPort)
|
||||||
{
|
{
|
||||||
UiDrawStatusText("ACPI SRT Table Not Supported...");
|
UiDrawStatusText("ACPI SRT Table Not Supported...");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue