mirror of
https://github.com/acpica/acpica/
synced 2025-01-16 06:19:19 +03:00
Configurable support for abort-on-checksum-error
date 2001.12.04.18.43.00; author rmoore1; state Exp;
This commit is contained in:
parent
38bae9474c
commit
f0f6890800
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: tbinstal - ACPI table installation and removal
|
||||
* $Revision: 1.47 $
|
||||
* $Revision: 1.48 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -256,10 +256,14 @@ AcpiTbRecognizeTable (
|
||||
*/
|
||||
if (TableType != ACPI_TABLE_FACS)
|
||||
{
|
||||
/* But don't abort if the checksum is wrong */
|
||||
/* TBD: [Future] make this a configuration option? */
|
||||
Status = AcpiTbVerifyTableChecksum (TableHeader);
|
||||
if (ACPI_FAILURE (Status) &&
|
||||
(!ACPI_CHECKSUM_ABORT))
|
||||
{
|
||||
/* Ignore the error if configuration says so */
|
||||
|
||||
AcpiTbVerifyTableChecksum (TableHeader);
|
||||
Status = AE_OK;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user