diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-07-25 15:59:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-11-15 12:43:35 +0100 |
commit | d69da8475e9794cfd8580457c63dafb8f5d240ed (patch) | |
tree | 36118c6be610617c6755f4ed21023dd369065279 /src/mainboard/emulation/qemu-i440fx/fw_cfg.h | |
parent | 55b059385a2158d14ad01621c7b5eb8091455eb0 (diff) |
qemu: load acpi tables from fw_cfg.
Starting with release 1.7 qemu provides acpi tables via fw_cfg. Main
advantage is that new (virtual) hardware which needs acpi support
JustWorks[tm] without having to patch & update the firmware (seabios,
coreboot, ...) accordingly.
So if we find acpi tables in fw_cfg try loading them, otherwise fallback
to the builtin acpi tables.
Change-Id: I792232829b870ff6ed8414a3007e0af17f6c4223
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-on: http://review.coreboot.org/4040
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx/fw_cfg.h')
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/fw_cfg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.h b/src/mainboard/emulation/qemu-i440fx/fw_cfg.h index 2a10d8bce9..5ab024f667 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.h +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.h @@ -19,3 +19,4 @@ void fw_cfg_get(int entry, void *dst, int dstlen); int fw_cfg_check_file(const char *name); void fw_cfg_load_file(const char *name, void *dst); int fw_cfg_max_cpus(void); +unsigned long fw_cfg_acpi_tables(unsigned long start); |