prom_init.c (55b4d6a52195a8f277ffddf755ddaff359878f41) prom_init.c (b3c2ffd5343645fc9b46f67e8c0eaac1e2dde7b4)
1/*
2 * Procedures for interfacing to Open Firmware.
3 *
4 * Paul Mackerras August 1996.
5 * Copyright (C) 1996-2005 Paul Mackerras.
6 *
7 * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner.
8 * {engebret|bergner}@us.ibm.com

--- 974 unchanged lines hidden (view full) ---

983 if (cnt >= (MEM_RESERVE_MAP_SIZE - 1))
984 prom_panic("Memory reserve map exhausted !\n");
985 RELOC(mem_reserve_map)[cnt].base = base;
986 RELOC(mem_reserve_map)[cnt].size = size;
987 RELOC(mem_reserve_cnt) = cnt + 1;
988}
989
990/*
1/*
2 * Procedures for interfacing to Open Firmware.
3 *
4 * Paul Mackerras August 1996.
5 * Copyright (C) 1996-2005 Paul Mackerras.
6 *
7 * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner.
8 * {engebret|bergner}@us.ibm.com

--- 974 unchanged lines hidden (view full) ---

983 if (cnt >= (MEM_RESERVE_MAP_SIZE - 1))
984 prom_panic("Memory reserve map exhausted !\n");
985 RELOC(mem_reserve_map)[cnt].base = base;
986 RELOC(mem_reserve_map)[cnt].size = size;
987 RELOC(mem_reserve_cnt) = cnt + 1;
988}
989
990/*
991 * Initialize memory allocation mecanism, parse "memory" nodes and
991 * Initialize memory allocation mechanism, parse "memory" nodes and
992 * obtain that way the top of memory and RMO to setup out local allocator
993 */
994static void __init prom_init_mem(void)
995{
996 phandle node;
997 char *path, type[64];
998 unsigned int plen;
999 cell_t *p, *endp;

--- 1296 unchanged lines hidden ---
992 * obtain that way the top of memory and RMO to setup out local allocator
993 */
994static void __init prom_init_mem(void)
995{
996 phandle node;
997 char *path, type[64];
998 unsigned int plen;
999 cell_t *p, *endp;

--- 1296 unchanged lines hidden ---