Revision e5697f20
b/hw/ppc405_boards.c | ||
---|---|---|
213 | 213 |
sram_size = 512 * 1024; |
214 | 214 |
sram_offset = qemu_ram_alloc(NULL, "ef405ep.sram", sram_size); |
215 | 215 |
#ifdef DEBUG_BOARD_INIT |
216 |
printf("%s: register SRAM at offset %08lx\n", __func__, sram_offset); |
|
216 |
printf("%s: register SRAM at offset " RAM_ADDR_FMT "\n", |
|
217 |
__func__, sram_offset); |
|
217 | 218 |
#endif |
218 | 219 |
cpu_register_physical_memory(0xFFF00000, sram_size, |
219 | 220 |
sram_offset | IO_MEM_RAM); |
... | ... | |
357 | 358 |
#ifdef DEBUG_BOARD_INIT |
358 | 359 |
printf("%s: Done\n", __func__); |
359 | 360 |
#endif |
360 |
printf("bdloc %016lx\n", (unsigned long)bdloc);
|
|
361 |
printf("bdloc " RAM_ADDR_FMT "\n", bdloc);
|
|
361 | 362 |
} |
362 | 363 |
|
363 | 364 |
static QEMUMachine ref405ep_machine = { |
Also available in: Unified diff