aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 21:24:19 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 21:24:19 +0100
commit8035156094dbbc2dc596afc4bf0fea86806e7b8f (patch)
tree3fdf772ba0fc4f07184d2a0c838cdffeeac63b10 /com32/hdt
parent7c9a76021519d03f2c6816692b25985509192ddf (diff)
downloadsyslinux-8035156094dbbc2dc596afc4bf0fea86806e7b8f.tar.gz
syslinux-8035156094dbbc2dc596afc4bf0fea86806e7b8f.tar.xz
syslinux-8035156094dbbc2dc596afc4bf0fea86806e7b8f.zip
hdt: Adding HPET 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 75097ea8..05db18e9 100644
--- a/com32/hdt/hdt-cli-acpi.c
+++ b/com32/hdt/hdt-cli-acpi.c
@@ -106,6 +106,9 @@ void main_show_acpi(int argc __unused, char **argv __unused,
if (hardware->acpi.ecdt.valid)
show_header(hardware->acpi.ecdt.address, &hardware->acpi.ecdt.header);
+ if (hardware->acpi.hpet.valid)
+ show_header(hardware->acpi.hpet.address, &hardware->acpi.hpet.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 d4fa6aa4..1f4877ca 100644
--- a/com32/hdt/hdt-menu-acpi.c
+++ b/com32/hdt/hdt-menu-acpi.c
@@ -86,6 +86,9 @@ static void compute_acpi_tables(struct s_my_menu *menu,
if (hardware->acpi.ecdt.valid)
compute_table(menu,hardware->acpi.ecdt.address, &hardware->acpi.ecdt.header);
+ if (hardware->acpi.hpet.valid)
+ compute_table(menu,hardware->acpi.hpet.address, &hardware->acpi.hpet.header);
+
/* FACS isn't having the same headers, let's use a dedicated rendering */
if (hardware->acpi.facs.valid) {
}