mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
vga: drop get_system_memory() from vga devices and derivatives
Instead, use the bus accessors, or get the address space directly from the board constructor. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f5e6fed879
commit
be20f9e902
11 changed files with 37 additions and 34 deletions
5
hw/pc.h
5
hw/pc.h
|
@ -212,11 +212,12 @@ static inline int isa_vga_init(void)
|
|||
|
||||
int pci_vga_init(PCIBus *bus);
|
||||
int isa_vga_mm_init(target_phys_addr_t vram_base,
|
||||
target_phys_addr_t ctrl_base, int it_shift);
|
||||
target_phys_addr_t ctrl_base, int it_shift,
|
||||
MemoryRegion *address_space);
|
||||
|
||||
/* cirrus_vga.c */
|
||||
void pci_cirrus_vga_init(PCIBus *bus);
|
||||
void isa_cirrus_vga_init(void);
|
||||
void isa_cirrus_vga_init(MemoryRegion *address_space);
|
||||
|
||||
/* ne2000.c */
|
||||
static inline bool isa_ne2000_init(int base, int irq, NICInfo *nd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue