Configurable support for abort-on-checksum-error

date	2001.12.04.18.43.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:55:18 +00:00
parent 38bae9474c
commit f0f6890800

View File

@ -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;
}
}
/*