acpi: add ACPIREGS
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Feb 2012 12:45:16 +0000 (13:45 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 19:36:02 +0000 (13:36 -0600)
commit355bf2e5bac7be1b7516e88307f5507e74e8ce79
tree00b6d770756ddf44d66b11b190bc97fd19f2a4d6
parent067866d61cba3923eae78e96b509e237513de307
acpi: add ACPIREGS

All those acpi structs are not independent from each other.
Various acpi functions expecting multiple acpi structs passed
in are a clean indicator for that ;)

So this patch bundles all acpi structs in the new ACPIREGS
struct, then use it everythere pass around acpi state.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi.c
hw/acpi.h
hw/acpi_piix4.c
hw/vt82c686.c