Revision 1724f049 hw/r2d.c
b/hw/r2d.c | ||
---|---|---|
242 | 242 |
} |
243 | 243 |
|
244 | 244 |
/* Allocate memory space */ |
245 |
sdram_addr = qemu_ram_alloc(SDRAM_SIZE); |
|
245 |
sdram_addr = qemu_ram_alloc(NULL, "r2d.sdram", SDRAM_SIZE);
|
|
246 | 246 |
cpu_register_physical_memory(SDRAM_BASE, SDRAM_SIZE, sdram_addr); |
247 | 247 |
/* Register peripherals */ |
248 | 248 |
s = sh7750_init(env); |
... | ... | |
258 | 258 |
|
259 | 259 |
/* onboard flash memory */ |
260 | 260 |
dinfo = drive_get(IF_PFLASH, 0, 0); |
261 |
pflash_cfi02_register(0x0, qemu_ram_alloc(FLASH_SIZE), |
|
261 |
pflash_cfi02_register(0x0, qemu_ram_alloc(NULL, "r2d.flash", FLASH_SIZE),
|
|
262 | 262 |
dinfo ? dinfo->bdrv : NULL, (16 * 1024), |
263 | 263 |
FLASH_SIZE >> 16, |
264 | 264 |
1, 4, 0x0000, 0x0000, 0x0000, 0x0000, |
Also available in: Unified diff