mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE
PCMachineClass::acpi_data_size was only used by the pc-i440fx-2.0 machine, which got removed. Since it is constant, replace the class field by a definition (local to hw/i386/pc.c, since not used elsewhere). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20240617071118.60464-24-philmd@linaro.org>
This commit is contained in:
parent
8291239113
commit
e6115657a4
2 changed files with 12 additions and 11 deletions
|
@ -74,9 +74,6 @@ typedef struct PCMachineState {
|
|||
*
|
||||
* Compat fields:
|
||||
*
|
||||
* @acpi_data_size: Size of the chunk of memory at the top of RAM
|
||||
* for the BIOS ACPI tables and other BIOS
|
||||
* datastructures.
|
||||
* @gigabyte_align: Make sure that guest addresses aligned at
|
||||
* 1Gbyte boundaries get mapped to host
|
||||
* addresses aligned at 1Gbyte boundaries. This
|
||||
|
@ -100,7 +97,6 @@ struct PCMachineClass {
|
|||
|
||||
/* ACPI compat: */
|
||||
bool has_acpi_build;
|
||||
unsigned acpi_data_size;
|
||||
int pci_root_uid;
|
||||
|
||||
/* SMBIOS compat: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue