aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
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 /com32/hdt
parentb55c988dcca34d43ffba87adb604925a91f20496 (diff)
downloadsyslinux-d2d44acc3b9d57c4c72e88c59a5a7d8a9a1f3fb5.tar.gz
syslinux-d2d44acc3b9d57c4c72e88c59a5a7d8a9a1f3fb5.tar.xz
syslinux-d2d44acc3b9d57c4c72e88c59a5a7d8a9a1f3fb5.zip
hdt: Adding TCPA support
Diffstat (limited to 'com32/hdt')
-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) {
}