From: Naresh Bhat naresh.bhat@linaro.org
Add support to compile DBG2 table.
Signed-off-by: Naresh Bhat naresh.bhat@linaro.org --- platforms/foundation-v8.acpi/xsdt.asl | 1 + tools/common/build_aml.c | 1 + tools/common/check_aml.c | 1 + tools/common/include/check_aml.h | 1 + 4 files changed, 4 insertions(+)
diff --git a/platforms/foundation-v8.acpi/xsdt.asl b/platforms/foundation-v8.acpi/xsdt.asl index 3145d2b..43fc588 100644 --- a/platforms/foundation-v8.acpi/xsdt.asl +++ b/platforms/foundation-v8.acpi/xsdt.asl @@ -37,3 +37,4 @@ [0008] ACPI Table Address 0 : 0000000000000120 [0008] ACPI Table Address 0 : 0000000000000130 [0008] ACPI Table Address 0 : 0000000000000140 +[0008] ACPI Table Address 0 : 0000000000000150 diff --git a/tools/common/build_aml.c b/tools/common/build_aml.c index 34cdfe4..4e70348 100644 --- a/tools/common/build_aml.c +++ b/tools/common/build_aml.c @@ -41,6 +41,7 @@ char *known_sigs[] = { "ssdt", "uefi", "xsdt", + "dbg2", NULL };
diff --git a/tools/common/check_aml.c b/tools/common/check_aml.c index 9e5b0c2..7117825 100644 --- a/tools/common/check_aml.c +++ b/tools/common/check_aml.c @@ -45,6 +45,7 @@ struct known_table_info known_info[] = { { SIG_SSDT, 2 }, { SIG_UEFI, 1 }, { SIG_XSDT, 1 }, + { SIG_DBG2, 1 }, { NULL, 0 } };
diff --git a/tools/common/include/check_aml.h b/tools/common/include/check_aml.h index 59e0c23..94f2446 100644 --- a/tools/common/include/check_aml.h +++ b/tools/common/include/check_aml.h @@ -66,6 +66,7 @@ #define SIG_SSDT "SSDT" #define SIG_UEFI "UEFI" #define SIG_XSDT "XSDT" +#define SIG_DBG2 "DBG2"
struct known_table_info { char *signature; /* table signature */