diff options
author | jkim <jkim@FreeBSD.org> | 2013-08-23 18:01:58 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-08-23 18:01:58 +0000 |
commit | b2a92415360aacb32d9b6107bdcf100d16d09167 (patch) | |
tree | 89234dd9f502de2faaf4a280ccd0d3785a7ae96f /source/components/tables/tbprint.c | |
parent | 8e9a373708032aaf58694e237e3889d7d3fd796f (diff) | |
download | FreeBSD-src-b2a92415360aacb32d9b6107bdcf100d16d09167.zip FreeBSD-src-b2a92415360aacb32d9b6107bdcf100d16d09167.tar.gz |
Import ACPICA 20130823.
Diffstat (limited to 'source/components/tables/tbprint.c')
-rw-r--r-- | source/components/tables/tbprint.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source/components/tables/tbprint.c b/source/components/tables/tbprint.c index 7823ffc..f24de49 100644 --- a/source/components/tables/tbprint.c +++ b/source/components/tables/tbprint.c @@ -158,7 +158,7 @@ AcpiTbPrintTableHeader ( Header->Signature, ACPI_CAST_PTR (void, Address), Header->Length)); } - else if (ACPI_COMPARE_NAME (Header->Signature, ACPI_SIG_RSDP)) + else if (ACPI_VALIDATE_RSDP_SIG (Header->Signature)) { /* RSDP has no common fields */ @@ -211,6 +211,17 @@ AcpiTbVerifyChecksum ( UINT8 Checksum; + /* + * FACS/S3PT: + * They are the odd tables, have no standard ACPI header and no checksum + */ + + if (ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_S3PT) || + ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_FACS)) + { + return (AE_OK); + } + /* Compute the checksum on the table */ Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); |