aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 16:32:25 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 16:32:25 +0100
commite5aa41f5789f760b9056908633664ff9d57c4893 (patch)
tree4cb2988f3ec32b8b472a4ecc33d22802232141c5 /com32/gplinclude
parent7cb79745098c7b84888646b36bdc1c8a2cf99d85 (diff)
downloadsyslinux-e5aa41f5789f760b9056908633664ff9d57c4893.tar.gz
syslinux-e5aa41f5789f760b9056908633664ff9d57c4893.tar.xz
syslinux-e5aa41f5789f760b9056908633664ff9d57c4893.zip
ACPI: Improving tables detection
In some conditions, XSDT pointer could be null. In such conditions, we have to parse tables pointed by RSDP. This patch remove the table parsing from xsdt to acpi.c. If the XSDT detection fails, let's switch back to the RSDP entries. This was the case under KVM whereas VirtualBox features an XSDT.
Diffstat (limited to 'com32/gplinclude')
-rw-r--r--com32/gplinclude/acpi/acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/gplinclude/acpi/acpi.h b/com32/gplinclude/acpi/acpi.h
index db4adc73..1d9a5a06 100644
--- a/com32/gplinclude/acpi/acpi.h
+++ b/com32/gplinclude/acpi/acpi.h
@@ -83,4 +83,5 @@ int parse_xsdt(s_acpi * acpi);
void parse_madt(s_acpi * acpi);
int search_rsdp(s_acpi *acpi);
void get_acpi_description_header(uint8_t *q, s_acpi_description_header * adh);
+bool parse_header(uint64_t *address, s_acpi *acpi);
#endif