Fix broken logic in PoInit.

svn path=/trunk/; revision=14113
This commit is contained in:
Filip Navara 2005-03-15 23:02:51 +00:00
parent 3f249a0a67
commit 40b71ac19d

View file

@ -196,11 +196,16 @@ INIT_FUNCTION
PoInit(PLOADER_PARAMETER_BLOCK LoaderBlock, PoInit(PLOADER_PARAMETER_BLOCK LoaderBlock,
BOOLEAN ForceAcpiDisable) BOOLEAN ForceAcpiDisable)
{ {
/* Set the ACPI State to False if it's been forced that way */ if (ForceAcpiDisable)
if (ForceAcpiDisable) PopAcpiPresent = FALSE; {
/* Set the ACPI State to False if it's been forced that way */
/* Otherwise check the LoaderBlock's Flag */ PopAcpiPresent = FALSE;
PopAcpiPresent = LoaderBlock->Flags & MB_FLAGS_ACPI_TABLE; }
else
{
/* Otherwise check the LoaderBlock's Flag */
PopAcpiPresent = (LoaderBlock->Flags & MB_FLAGS_ACPI_TABLE) ? TRUE : FALSE;
}
} }
/* /*