Revision 593c1811
b/hw/ppc/mac_newworld.c | ||
---|---|---|
152 | 152 |
char *filename; |
153 | 153 |
qemu_irq *pic, **openpic_irqs; |
154 | 154 |
MemoryRegion *unin_memory = g_new(MemoryRegion, 1); |
155 |
MemoryRegion *unin2_memory = g_new(MemoryRegion, 1); |
|
155 | 156 |
int linux_boot, i, j, k; |
156 | 157 |
MemoryRegion *ram = g_new(MemoryRegion, 1), *bios = g_new(MemoryRegion, 1); |
157 | 158 |
hwaddr kernel_base, initrd_base, cmdline_base = 0; |
... | ... | |
292 | 293 |
memory_region_init_io(unin_memory, &unin_ops, token, "unin", 0x1000); |
293 | 294 |
memory_region_add_subregion(get_system_memory(), 0xf8000000, unin_memory); |
294 | 295 |
|
296 |
memory_region_init_io(unin2_memory, &unin_ops, token, "unin", 0x1000); |
|
297 |
memory_region_add_subregion(get_system_memory(), 0xf3000000, unin2_memory); |
|
298 |
|
|
295 | 299 |
openpic_irqs = g_malloc0(smp_cpus * sizeof(qemu_irq *)); |
296 | 300 |
openpic_irqs[0] = |
297 | 301 |
g_malloc0(smp_cpus * sizeof(qemu_irq) * OPENPIC_OUTPUT_NB); |
Also available in: Unified diff