Deleted Added
full compact
tbinstal.c (233250) tbinstal.c (238381)
1/******************************************************************************
2 *
3 * Module Name: tbinstal - ACPI table installation and removal
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 143 unchanged lines hidden (view full) ---

152 * 4) We encountered non-AML tables such as the MADT, which caused
153 * interpreter errors and kernel faults. So now, we once again allow
154 * only "SSDT", "OEMx", and now, also a null signature. (05/2011).
155 */
156 if ((TableDesc->Pointer->Signature[0] != 0x00) &&
157 (!ACPI_COMPARE_NAME (TableDesc->Pointer->Signature, ACPI_SIG_SSDT)) &&
158 (ACPI_STRNCMP (TableDesc->Pointer->Signature, "OEM", 3)))
159 {
1/******************************************************************************
2 *
3 * Module Name: tbinstal - ACPI table installation and removal
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 143 unchanged lines hidden (view full) ---

152 * 4) We encountered non-AML tables such as the MADT, which caused
153 * interpreter errors and kernel faults. So now, we once again allow
154 * only "SSDT", "OEMx", and now, also a null signature. (05/2011).
155 */
156 if ((TableDesc->Pointer->Signature[0] != 0x00) &&
157 (!ACPI_COMPARE_NAME (TableDesc->Pointer->Signature, ACPI_SIG_SSDT)) &&
158 (ACPI_STRNCMP (TableDesc->Pointer->Signature, "OEM", 3)))
159 {
160 ACPI_ERROR ((AE_INFO,
161 "Table has invalid signature [%4.4s] (0x%8.8X), must be SSDT or OEMx",
160 ACPI_BIOS_ERROR ((AE_INFO,
161 "Table has invalid signature [%4.4s] (0x%8.8X), "
162 "must be SSDT or OEMx",
162 AcpiUtValidAcpiName (*(UINT32 *) TableDesc->Pointer->Signature) ?
163 TableDesc->Pointer->Signature : "????",
164 *(UINT32 *) TableDesc->Pointer->Signature));
165
166 return_ACPI_STATUS (AE_BAD_SIGNATURE);
167 }
168
169 (void) AcpiUtAcquireMutex (ACPI_MTX_TABLES);

--- 639 unchanged lines hidden ---
163 AcpiUtValidAcpiName (*(UINT32 *) TableDesc->Pointer->Signature) ?
164 TableDesc->Pointer->Signature : "????",
165 *(UINT32 *) TableDesc->Pointer->Signature));
166
167 return_ACPI_STATUS (AE_BAD_SIGNATURE);
168 }
169
170 (void) AcpiUtAcquireMutex (ACPI_MTX_TABLES);

--- 639 unchanged lines hidden ---