summaryrefslogtreecommitdiffstats
path: root/source/components/tables/tbfadt.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-04-04 21:18:57 +0000
committerjkim <jkim@FreeBSD.org>2013-04-04 21:18:57 +0000
commit4b5fbe0ac6228523722afb80af9d5c8ed2ba5ee8 (patch)
tree2d060ed4fedfc9aace2e673176570faa8ae1d376 /source/components/tables/tbfadt.c
parentbd5edd68a8fda8df18c688919e100f7f1df5ad6b (diff)
downloadFreeBSD-src-4b5fbe0ac6228523722afb80af9d5c8ed2ba5ee8.zip
FreeBSD-src-4b5fbe0ac6228523722afb80af9d5c8ed2ba5ee8.tar.gz
Import ACPICA 20130328.
Diffstat (limited to 'source/components/tables/tbfadt.c')
-rw-r--r--source/components/tables/tbfadt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/components/tables/tbfadt.c b/source/components/tables/tbfadt.c
index 772e077..6f41c46 100644
--- a/source/components/tables/tbfadt.c
+++ b/source/components/tables/tbfadt.c
@@ -590,8 +590,12 @@ AcpiTbValidateFadt (
/*
* For each extended field, check for length mismatch between the
* legacy length field and the corresponding 64-bit X length field.
+ * Note: If the legacy length field is > 0xFF bits, ignore this
+ * check. (GPE registers can be larger than the 64-bit GAS structure
+ * can accomodate, 0xFF bits).
*/
if (Address64->Address &&
+ (ACPI_MUL_8 (Length) <= ACPI_UINT8_MAX) &&
(Address64->BitWidth != ACPI_MUL_8 (Length)))
{
ACPI_BIOS_WARNING ((AE_INFO,
OpenPOWER on IntegriCloud