summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:02:39 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:04:01 +0100
commitd2d44acc3b9d57c4c72e88c59a5a7d8a9a1f3fb5 (patch)
tree80c2126e08df07d221b878b80de825e4952749d0
parentb55c988dcca34d43ffba87adb604925a91f20496 (diff)
downloadsyslinux-d2d44acc3b9d57c4c72e88c59a5a7d8a9a1f3fb5.tar.gz
hdt: Adding TCPA support
-rw-r--r--com32/hdt/hdt-cli-acpi.c3
-rw-r--r--com32/hdt/hdt-menu-acpi.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli-acpi.c b/com32/hdt/hdt-cli-acpi.c
index 05db18e9..cbabbbae 100644
--- a/com32/hdt/hdt-cli-acpi.c
+++ b/com32/hdt/hdt-cli-acpi.c
@@ -109,6 +109,9 @@ void main_show_acpi(int argc __unused, char **argv __unused,
if (hardware->acpi.hpet.valid)
show_header(hardware->acpi.hpet.address, &hardware->acpi.hpet.header);
+ if (hardware->acpi.tcpa.valid)
+ show_header(hardware->acpi.tcpa.address, &hardware->acpi.tcpa.header);
+
/* FACS isn't having the same headers, let's use a dedicated rendering */
if (hardware->acpi.facs.valid) {
s_facs *fa = &hardware->acpi.facs;
diff --git a/com32/hdt/hdt-menu-acpi.c b/com32/hdt/hdt-menu-acpi.c
index 1f4877ca..46ecb67a 100644
--- a/com32/hdt/hdt-menu-acpi.c
+++ b/com32/hdt/hdt-menu-acpi.c
@@ -89,6 +89,9 @@ static void compute_acpi_tables(struct s_my_menu *menu,
if (hardware->acpi.hpet.valid)
compute_table(menu,hardware->acpi.hpet.address, &hardware->acpi.hpet.header);
+ if (hardware->acpi.tcpa.valid)
+ compute_table(menu,hardware->acpi.tcpa.address, &hardware->acpi.tcpa.header);
+
/* FACS isn't having the same headers, let's use a dedicated rendering */
if (hardware->acpi.facs.valid) {
}