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>
Showing
- arch/x86/cpu/qemu/Makefile 2 additions, 0 deletionsarch/x86/cpu/qemu/Makefile
- arch/x86/cpu/qemu/fw_cfg.c 253 additions, 0 deletionsarch/x86/cpu/qemu/fw_cfg.c
- arch/x86/include/asm/fw_cfg.h 61 additions, 0 deletionsarch/x86/include/asm/fw_cfg.h
- arch/x86/lib/Makefile 2 additions, 0 deletionsarch/x86/lib/Makefile
- arch/x86/lib/acpi_table.c 4 additions, 0 deletionsarch/x86/lib/acpi_table.c
Loading
Please register or sign in to comment