x86: qemu: add the ability to load and link ACPI tables from QEMU
authorMiao Yan <yanmiaobest@gmail.com>
Wed, 20 Jan 2016 09:57:06 +0000 (01:57 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 28 Jan 2016 05:53:30 +0000 (13:53 +0800)
commitfa287b158099b5b2159ecbbcc4acb2d5dc6714cf
treee20313f94c3c02b4aa341c67f0b24e313e522e6c
parenta3b15a055662ea4a8db6b8f70aa870b541e0cda9
x86: qemu: add the ability to load and link ACPI tables from QEMU

This patch adds the ability to load and link ACPI tables provided by QEMU.
QEMU tells guests how to load and patch ACPI tables through its fw_cfg
interface, by adding a firmware file 'etc/table-loader'. Guests are
supposed to parse this file and execute corresponding QEMU commands.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/qemu/Makefile
arch/x86/cpu/qemu/fw_cfg.c
arch/x86/include/asm/fw_cfg.h
arch/x86/lib/Makefile
arch/x86/lib/acpi_table.c