aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:26:50 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:26:50 +0100
commitb60ffd9cf1ce6ec3ebab01764d8f8e82aa4edd9e (patch)
treeb0756a7ba8ab8ed6fbb6adfa2fcb0b3e19fe0d64 /com32/hdt
parent34c4821049e15b4c2402e908ec4a60f449974ef0 (diff)
downloadsyslinux-b60ffd9cf1ce6ec3ebab01764d8f8e82aa4edd9e.tar.gz
syslinux-b60ffd9cf1ce6ec3ebab01764d8f8e82aa4edd9e.tar.xz
syslinux-b60ffd9cf1ce6ec3ebab01764d8f8e82aa4edd9e.zip
hdt: Adding SLIC 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 46f2d4ed..6f752f12 100644
--- a/com32/hdt/hdt-cli-acpi.c
+++ b/com32/hdt/hdt-cli-acpi.c
@@ -115,6 +115,9 @@ void main_show_acpi(int argc __unused, char **argv __unused,
if (hardware->acpi.mcfg.valid)
show_header(hardware->acpi.mcfg.address, &hardware->acpi.mcfg.header);
+ if (hardware->acpi.slic.valid)
+ show_header(hardware->acpi.slic.address, &hardware->acpi.slic.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 3cd8e37b..2c1e1620 100644
--- a/com32/hdt/hdt-menu-acpi.c
+++ b/com32/hdt/hdt-menu-acpi.c
@@ -95,6 +95,9 @@ static void compute_acpi_tables(struct s_my_menu *menu,
if (hardware->acpi.mcfg.valid)
compute_table(menu,hardware->acpi.mcfg.address, &hardware->acpi.mcfg.header);
+ if (hardware->acpi.slic.valid)
+ compute_table(menu,hardware->acpi.slic.address, &hardware->acpi.slic.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;