Searched refs:PROM_SIZE (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | amigaone.c | 40 #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 D | mac_oldworld.c | 62 #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 D | mac_newworld.c | 88 #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 D | pegasos2.c | 46 #define PROM_SIZE 0x80000 macro 161 memory_region_init_rom(rom, NULL, "pegasos2.rom", PROM_SIZE, &error_fatal); in pegasos2_init() 166 sz = load_image_targphys(filename, pm->vof ? 0 : PROM_ADDR, PROM_SIZE); in pegasos2_init() 168 if (sz <= 0 || sz > PROM_SIZE) { in pegasos2_init()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sungem.h | 783 #define PROM_SIZE 0x0fffffUL /* Size of ROM */ macro
|