XSDT is optional

date	2005.06.17.19.40.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:00:19 +00:00
parent daa9fe0c3a
commit f08c52c4f1

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: tbxfroot - Find the root ACPI table (RSDT)
* $Revision: 1.86 $
* $Revision: 1.87 $
*
*****************************************************************************/
@ -380,9 +380,11 @@ AcpiGetFirmwareTable (
*/
for (i = 0, j = 0; i < TableCount; i++)
{
/* Get the next table pointer, handle RSDT vs. XSDT */
if (AcpiGbl_RSDP->Revision < 2)
/*
* Get the next table pointer, handle RSDT vs. XSDT
* RSDT pointers are 32 bits, XSDT pointers are 64 bits
*/
if (AcpiGbl_RootTableType == ACPI_TABLE_TYPE_RSDT)
{
Address.Pointer.Value = (ACPI_CAST_PTR (
RSDT_DESCRIPTOR, RsdtInfo->Pointer))->TableOffsetEntry[i];