diff options
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r-- | hw/sun4m.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c index e4ca8f3dc5..208c8a86df 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -592,7 +592,7 @@ static int idreg_init1(SysBusDevice *dev) { ram_addr_t idreg_offset; - idreg_offset = qemu_ram_alloc(sizeof(idreg_data)); + idreg_offset = qemu_ram_alloc(NULL, "sun4m.idreg", sizeof(idreg_data)); sysbus_init_mmio(dev, sizeof(idreg_data), idreg_offset | IO_MEM_ROM); return 0; } @@ -627,7 +627,7 @@ static int afx_init1(SysBusDevice *dev) { ram_addr_t afx_offset; - afx_offset = qemu_ram_alloc(4); + afx_offset = qemu_ram_alloc(NULL, "sun4m.afx", 4); sysbus_init_mmio(dev, 4, afx_offset | IO_MEM_RAM); return 0; } @@ -690,7 +690,7 @@ static int prom_init1(SysBusDevice *dev) { ram_addr_t prom_offset; - prom_offset = qemu_ram_alloc(PROM_SIZE_MAX); + prom_offset = qemu_ram_alloc(NULL, "sun4m.prom", PROM_SIZE_MAX); sysbus_init_mmio(dev, PROM_SIZE_MAX, prom_offset | IO_MEM_ROM); return 0; } @@ -725,7 +725,7 @@ static int ram_init1(SysBusDevice *dev) RAM_size = d->size; - ram_offset = qemu_ram_alloc(RAM_size); + ram_offset = qemu_ram_alloc(NULL, "sun4m.ram", RAM_size); sysbus_init_mmio(dev, RAM_size, ram_offset); return 0; } |