Home
last modified time | relevance | path

Searched refs:PROM_SIZE (Results 1 – 4 of 4) sorted by relevance

/qemu/hw/ppc/
H A Damigaone.c40 #define PROM_SIZE (512 * KiB) macro
105 memory_region_init_rom(rom, NULL, "rom", PROM_SIZE, &error_fatal); in amigaone_init()
109 PROM_ADDR + PROM_SIZE - 0x80); in amigaone_init()
117 sz = load_image_targphys(filename, PROM_ADDR, PROM_SIZE); in amigaone_init()
118 if (sz <= 0 || sz > PROM_SIZE) { in amigaone_init()
H A Dmac_oldworld.c62 #define PROM_SIZE (4 * MiB) macro
131 memory_region_init_rom(bios, NULL, "ppc_heathrow.bios", PROM_SIZE, in ppc_heathrow_init()
145 bios_size = load_image_targphys(filename, PROM_BASE, PROM_SIZE); in ppc_heathrow_init()
150 if (bios_size < 0 || bios_addr - PROM_BASE + bios_size > PROM_SIZE) { in ppc_heathrow_init()
H A Dmac_newworld.c88 #define PROM_SIZE (1 * MiB) macro
177 memory_region_init_rom(bios, NULL, "ppc_core99.bios", PROM_SIZE, in ppc_core99_init()
189 bios_size = load_image_targphys(filename, PROM_BASE, PROM_SIZE); in ppc_core99_init()
193 if (bios_size < 0 || bios_size > PROM_SIZE) { in ppc_core99_init()
H A Dpegasos2.c45 #define PROM_SIZE 0x80000 macro
157 memory_region_init_rom(rom, NULL, "pegasos2.rom", PROM_SIZE, &error_fatal); in pegasos2_init()
162 sz = load_image_targphys(filename, pm->vof ? 0 : PROM_ADDR, PROM_SIZE); in pegasos2_init()
164 if (sz <= 0 || sz > PROM_SIZE) { in pegasos2_init()