Revision 1724f049 hw/integratorcp.c
b/hw/integratorcp.c | ||
---|---|---|
253 | 253 |
} |
254 | 254 |
memcpy(integrator_spd + 73, "QEMU-MEMORY", 11); |
255 | 255 |
s->cm_init = 0x00000112; |
256 |
s->flash_offset = qemu_ram_alloc(0x100000); |
|
256 |
s->flash_offset = qemu_ram_alloc(NULL, "integrator.flash", 0x100000);
|
|
257 | 257 |
|
258 | 258 |
iomemtype = cpu_register_io_memory(integratorcm_readfn, |
259 | 259 |
integratorcm_writefn, s); |
... | ... | |
467 | 467 |
fprintf(stderr, "Unable to find CPU definition\n"); |
468 | 468 |
exit(1); |
469 | 469 |
} |
470 |
ram_offset = qemu_ram_alloc(ram_size); |
|
470 |
ram_offset = qemu_ram_alloc(NULL, "integrator.ram", ram_size);
|
|
471 | 471 |
/* ??? On a real system the first 1Mb is mapped as SSRAM or boot flash. */ |
472 | 472 |
/* ??? RAM should repeat to fill physical memory space. */ |
473 | 473 |
/* SDRAM at address zero*/ |
Also available in: Unified diff