aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-30 17:09:20 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:19:00 +0100
commit7533ef22b8c3ee2f3a556c223201c6d0ee99d103 (patch)
treeb2575bcd61e3df83d6af98db789be4cfb0caf918 /com32/hdt/hdt-cli.c
parent72ac272320910ad39028dd84ad8e48e885eed9d2 (diff)
downloadsyslinux-7533ef22b8c3ee2f3a556c223201c6d0ee99d103.tar.gz
syslinux-7533ef22b8c3ee2f3a556c223201c6d0ee99d103.tar.xz
syslinux-7533ef22b8c3ee2f3a556c223201c6d0ee99d103.zip
acpi: Initial stuff to find madt
Impact: adding madt stuff Trying to add some madt stuff
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 69a2b61f..3aa9c38a 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <syslinux/config.h>
#include <getkey.h>
+#include <acpi/acpi.h>
#include "hdt-cli.h"
#include "hdt-common.h"
@@ -825,6 +826,12 @@ void start_cli_mode(struct s_hardware *hardware)
reset_prompt();
+ s_acpi acpi;
+ search_acpi(&acpi);
+ if (search_madt(&acpi) == MADT_FOUND) {
+ print_madt(&acpi);
+ };
+
while (hdt_cli.mode != EXIT_MODE) {
/* Display the cursor */