mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
- Initialize the ACPI table (the exact same we do it in KiRosFrldrLpbToNtLpb)
- Fixes ACPI detection when booted in Windows-compatible mode svn path=/trunk/; revision=45775
This commit is contained in:
@@ -37,6 +37,7 @@ extern char reactos_arc_strings[32][256];
|
||||
|
||||
extern BOOLEAN UseRealHeap;
|
||||
extern ULONG LoaderPagesSpanned;
|
||||
extern BOOLEAN AcpiPresent;
|
||||
|
||||
BOOLEAN
|
||||
WinLdrCheckForLoadedDll(IN OUT PLOADER_PARAMETER_BLOCK WinLdrBlock,
|
||||
@@ -196,6 +197,13 @@ WinLdrInitializePhase1(PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
Extension->MinorVersion = VersionToBoot & 0xFF;
|
||||
Extension->Profile.Status = 2;
|
||||
|
||||
/* Check if ACPI is present */
|
||||
if (AcpiPresent)
|
||||
{
|
||||
/* See KiRosFrldrLpbToNtLpb for details */
|
||||
Extension->AcpiTable = (PVOID)1;
|
||||
}
|
||||
|
||||
/* Load drivers database */
|
||||
strcpy(MiscFiles, BootPath);
|
||||
strcat(MiscFiles, "AppPatch\\drvmain.sdb");
|
||||
|
||||
Reference in New Issue
Block a user