Commit ea5d8ebc authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: FADT verification is now table driven.

Disassembler now verifies an input
Signed-off-by: default avatarAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 775d85b6
This diff is collapsed.
...@@ -280,7 +280,7 @@ acpi_tb_get_root_table_entry(u8 * table_entry, ...@@ -280,7 +280,7 @@ acpi_tb_get_root_table_entry(u8 * table_entry,
#if ACPI_MACHINE_WIDTH == 32 #if ACPI_MACHINE_WIDTH == 32
if (address64 > ACPI_UINT32_MAX) { if (address64 > ACPI_UINT32_MAX) {
/* Will truncate 64-bit address to 32 bits */ /* Will truncate 64-bit address to 32 bits, issue warning */
ACPI_WARNING((AE_INFO, ACPI_WARNING((AE_INFO,
"64-bit Physical Address in XSDT is too large (%8.8X%8.8X), truncating", "64-bit Physical Address in XSDT is too large (%8.8X%8.8X), truncating",
......
...@@ -51,6 +51,10 @@ acpi_status acpi_allocate_root_table(u32 initial_table_count); ...@@ -51,6 +51,10 @@ acpi_status acpi_allocate_root_table(u32 initial_table_count);
*/ */
void acpi_tb_parse_fadt(acpi_native_uint table_index, u8 flags); void acpi_tb_parse_fadt(acpi_native_uint table_index, u8 flags);
void acpi_tb_convert_fadt(void);
void acpi_tb_validate_fadt(struct acpi_table_fadt *table);
/* /*
* tbfind - find ACPI table * tbfind - find ACPI table
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment