ACPI: Improving tables detection
commite5aa41f5789f760b9056908633664ff9d57c4893
authorErwan Velu <erwanaliasr1@gmail.com>
Mon, 31 Jan 2011 15:32:25 +0000 (31 16:32 +0100)
committerErwan Velu <erwanaliasr1@gmail.com>
Mon, 31 Jan 2011 15:32:25 +0000 (31 16:32 +0100)
tree4cb2988f3ec32b8b472a4ecc33d22802232141c5
parent7cb79745098c7b84888646b36bdc1c8a2cf99d85
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.
com32/gplinclude/acpi/acpi.h
com32/gpllib/acpi/acpi.c [moved from com32/gpllib/acpi/xsdt.c with 76% similarity]
com32/gpllib/acpi/rsdp.c
com32/gpllib/acpi/rsdt.c
com32/gpllib/acpi/xsdt.c [copied from com32/gpllib/acpi/rsdt.c with 55% similarity]