mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +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:
parent
7b6dfd6be4
commit
a3c1764e42
1 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,7 @@ extern char reactos_arc_strings[32][256];
|
||||||
|
|
||||||
extern BOOLEAN UseRealHeap;
|
extern BOOLEAN UseRealHeap;
|
||||||
extern ULONG LoaderPagesSpanned;
|
extern ULONG LoaderPagesSpanned;
|
||||||
|
extern BOOLEAN AcpiPresent;
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
WinLdrCheckForLoadedDll(IN OUT PLOADER_PARAMETER_BLOCK WinLdrBlock,
|
WinLdrCheckForLoadedDll(IN OUT PLOADER_PARAMETER_BLOCK WinLdrBlock,
|
||||||
|
@ -196,6 +197,13 @@ WinLdrInitializePhase1(PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||||
Extension->MinorVersion = VersionToBoot & 0xFF;
|
Extension->MinorVersion = VersionToBoot & 0xFF;
|
||||||
Extension->Profile.Status = 2;
|
Extension->Profile.Status = 2;
|
||||||
|
|
||||||
|
/* Check if ACPI is present */
|
||||||
|
if (AcpiPresent)
|
||||||
|
{
|
||||||
|
/* See KiRosFrldrLpbToNtLpb for details */
|
||||||
|
Extension->AcpiTable = (PVOID)1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Load drivers database */
|
/* Load drivers database */
|
||||||
strcpy(MiscFiles, BootPath);
|
strcpy(MiscFiles, BootPath);
|
||||||
strcat(MiscFiles, "AppPatch\\drvmain.sdb");
|
strcat(MiscFiles, "AppPatch\\drvmain.sdb");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue