diff options
author | Bernhard Beschow <shentey@gmail.com> | 2023-02-13 17:20:01 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-05-19 10:30:46 -0400 |
commit | f9fddaf7ce26acc48fc899673affe957103862a5 (patch) | |
tree | e40b3139096263a69a9e9a8789ee48c974104768 /include | |
parent | 8631743c0968d11983a3a04939c580160bb79ac3 (diff) | |
download | qemu-f9fddaf7ce26acc48fc899673affe957103862a5.zip qemu-f9fddaf7ce26acc48fc899673affe957103862a5.tar.gz qemu-f9fddaf7ce26acc48fc899673affe957103862a5.tar.bz2 |
hw/i386/pc: Initialize ram_memory variable directly
Going through pc_memory_init() seems quite complicated for a simple
assignment.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213162004.2797-7-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/i386/pc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 84935fc..4e63856 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -162,7 +162,6 @@ void xen_load_linux(PCMachineState *pcms); void pc_memory_init(PCMachineState *pcms, MemoryRegion *system_memory, MemoryRegion *rom_memory, - MemoryRegion **ram_memory, uint64_t pci_hole64_size); uint64_t pc_pci_hole64_start(void); DeviceState *pc_vga_init(ISABus *isa_bus, PCIBus *pci_bus); |