mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location
RISC-V should also generate the SPCR in a manner similar to ARM. Therefore, instead of replicating the code, relocate this function to the common AML build. Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240129021440.17640-2-jeeheng.sia@starfivetech.com> [ Changes by AF: - Add missing Language SPCR entry ] Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
3011c1dd9c
commit
7dd0b070fa
4 changed files with 117 additions and 41 deletions
|
@ -497,4 +497,8 @@ void build_fadt(GArray *tbl, BIOSLinker *linker, const AcpiFadtData *f,
|
|||
|
||||
void build_tpm2(GArray *table_data, BIOSLinker *linker, GArray *tcpalog,
|
||||
const char *oem_id, const char *oem_table_id);
|
||||
|
||||
void build_spcr(GArray *table_data, BIOSLinker *linker,
|
||||
const AcpiSpcrData *f, const uint8_t rev,
|
||||
const char *oem_id, const char *oem_table_id);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue