[syslinux:master] hdt: Adding HPET support

syslinux-bot for Erwan Velu erwanaliasr1 at gmail.com
Sun Feb 6 14:07:53 PST 2011


Commit-ID:  8035156094dbbc2dc596afc4bf0fea86806e7b8f
Gitweb:     http://syslinux.zytor.com/commit/8035156094dbbc2dc596afc4bf0fea86806e7b8f
Author:     Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Mon, 31 Jan 2011 21:24:19 +0100
Committer:  Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Mon, 31 Jan 2011 21:24:19 +0100

hdt: Adding HPET support



---
 com32/hdt/hdt-cli-acpi.c  |    3 +++
 com32/hdt/hdt-menu-acpi.c |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/com32/hdt/hdt-cli-acpi.c b/com32/hdt/hdt-cli-acpi.c
index 75097ea..05db18e 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 d4fa6aa..1f4877c 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) {
     }



More information about the Syslinux-commits mailing list