diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2023-03-02 14:42:08 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-03-06 11:35:04 -0800 |
commit | 7da2fb240f9750d9a6fd2dac1397ec18b512a1b5 (patch) | |
tree | 3792f9d17194cb38a7011c99463b7b5bbdb59a96 /include | |
parent | 71302ff3bc9fbcceeb3ad7e6bb724ea942b5bba1 (diff) | |
download | qemu-7da2fb240f9750d9a6fd2dac1397ec18b512a1b5.zip qemu-7da2fb240f9750d9a6fd2dac1397ec18b512a1b5.tar.gz qemu-7da2fb240f9750d9a6fd2dac1397ec18b512a1b5.tar.bz2 |
hw/riscv/virt: Enable basic ACPI infrastructure
Add basic ACPI infrastructure for RISC-V with below tables.
1) DSDT with below basic objects
- CPUs
- fw_cfg
2) FADT revision 6 with HW_REDUCED flag
3) XSDT
4) RSDP
Add this functionality in a new file virt-acpi-build.c and enable
building this infrastructure.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20230302091212.999767-5-sunilvl@ventanamicro.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/riscv/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h index 379501e..e5c474b 100644 --- a/include/hw/riscv/virt.h +++ b/include/hw/riscv/virt.h @@ -126,4 +126,5 @@ enum { 1 + FDT_APLIC_INT_CELLS) bool virt_is_acpi_enabled(RISCVVirtState *s); +void virt_acpi_setup(RISCVVirtState *vms); #endif |