From d2d44acc3b9d57c4c72e88c59a5a7d8a9a1f3fb5 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 31 Jan 2011 22:02:39 +0100 Subject: [PATCH] hdt: Adding TCPA support --- com32/hdt/hdt-cli-acpi.c | 3 +++ com32/hdt/hdt-menu-acpi.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/com32/hdt/hdt-cli-acpi.c b/com32/hdt/hdt-cli-acpi.c index 05db18e..cbabbba 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 1f4877c..46ecb67 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) { } -- 2.7.4