mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
pc: Move {above,below}_4g_mem_size variables to PCMachineState
This will make the info readily available for the other initialization functions, and will allow us to simplify their argument list. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
62b160c02c
commit
c0aa4e1ecb
3 changed files with 28 additions and 23 deletions
|
@ -40,6 +40,7 @@ struct PCMachineState {
|
|||
OnOffAuto vmport;
|
||||
OnOffAuto smm;
|
||||
bool enforce_aligned_dimm;
|
||||
ram_addr_t below_4g_mem_size, above_4g_mem_size;
|
||||
};
|
||||
|
||||
#define PC_MACHINE_ACPI_DEVICE_PROP "acpi-device"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue