Revision 1724f049 hw/mips_mipssim.c

b/hw/mips_mipssim.c
144 144
    qemu_register_reset(main_cpu_reset, reset_info);
145 145

  
146 146
    /* Allocate RAM. */
147
    ram_offset = qemu_ram_alloc(ram_size);
148
    bios_offset = qemu_ram_alloc(BIOS_SIZE);
147
    ram_offset = qemu_ram_alloc(NULL, "mips_mipssim.ram", ram_size);
148
    bios_offset = qemu_ram_alloc(NULL, "mips_mipssim.bios", BIOS_SIZE);
149 149

  
150 150
    cpu_register_physical_memory(0, ram_size, ram_offset | IO_MEM_RAM);
151 151

  

Also available in: Unified diff