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
|
@ -38,6 +38,7 @@
|
|||
#include "mc146818rtc.h"
|
||||
#include "blockdev.h"
|
||||
#include "sysbus.h"
|
||||
#include "exec-memory.h"
|
||||
|
||||
enum jazz_model_e
|
||||
{
|
||||
|
@ -197,7 +198,7 @@ void mips_jazz_init (ram_addr_t ram_size,
|
|||
g364fb_mm_init(0x40000000, 0x60000000, 0, rc4030[3]);
|
||||
break;
|
||||
case JAZZ_PICA61:
|
||||
isa_vga_mm_init(0x40000000, 0x60000000, 0);
|
||||
isa_vga_mm_init(0x40000000, 0x60000000, 0, get_system_memory());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue