mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
hw/acpi: Upgrade ACPI SPCR table to support SPCR table revision 4 format
Update the SPCR table to accommodate the SPCR Table revision 4 [1]. The SPCR table has been modified to adhere to the revision 4 format [2]. [1]: https://learn.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table [2]: https://github.com/acpica/acpica/pull/931 Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Message-ID: <20241028015744.624943-3-jeeheng.sia@starfivetech.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
a205d0bcc8
commit
6ab861421c
6 changed files with 42 additions and 13 deletions
|
@ -276,8 +276,12 @@ spcr_setup(GArray *table_data, BIOSLinker *linker, MachineState *machine)
|
|||
};
|
||||
|
||||
lvms = LOONGARCH_VIRT_MACHINE(machine);
|
||||
/*
|
||||
* Passing NULL as the SPCR Table for Revision 2 doesn't support
|
||||
* NameSpaceString.
|
||||
*/
|
||||
build_spcr(table_data, linker, &serial, 2, lvms->oem_id,
|
||||
lvms->oem_table_id);
|
||||
lvms->oem_table_id, NULL);
|
||||
}
|
||||
|
||||
typedef
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue