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:02:39 +0100
commit353f83cc733202bd6601262db5c2ac14acda1ff0 (patch)
tree80c2126e08df07d221b878b80de825e4952749d0
parentb55c988dcca34d43ffba87adb604925a91f20496 (diff)
downloadsyslinux-353f83cc733202bd6601262db5c2ac14acda1ff0.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) {
}