mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/riscv/virt: Add a switch to disable ACPI
ACPI will be enabled by default. Add a switch to turn off for testing and debug purposes. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Message-ID: <20230302091212.999767-3-sunilvl@ventanamicro.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
parent
90477a652b
commit
168b8c29ce
2 changed files with 31 additions and 0 deletions
|
@ -58,6 +58,7 @@ struct RISCVVirtState {
|
|||
int aia_guests;
|
||||
char *oem_id;
|
||||
char *oem_table_id;
|
||||
OnOffAuto acpi;
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -123,4 +124,5 @@ enum {
|
|||
#define FDT_APLIC_INT_MAP_WIDTH (FDT_PCI_ADDR_CELLS + FDT_PCI_INT_CELLS + \
|
||||
1 + FDT_APLIC_INT_CELLS)
|
||||
|
||||
bool virt_is_acpi_enabled(RISCVVirtState *s);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue