Lines Matching defs:memory
79 int memory;
80 dprintf("checking for memory...\n");
81 if (of_getprop(gChosen, "memory", &memory, sizeof(int)) == OF_FAILED)
83 int package = of_instance_to_package(memory);
112 count = of_getprop(memory, "reg", regions, sizeof(regions));
129 dprintf("cannot map physical memory range "
142 count = of_getprop(memory, "reg", regions, sizeof(regions));
159 dprintf("cannot map physical memory range "
323 // insert range in physical allocated, if it points to physical memory
436 // ranges (dumb memory allocation)
517 // have a look for free physical memory as well (we assume
518 // that a) there is enough memory, and b) failing is fatal
716 // set OpenFirmware callbacks - it will ask us for memory after that
734 // get map of physical memory (fill in kernel_args structure)
738 dprintf("Error: could not find physical memory ranges!\n");
741 dprintf("total physical memory = %" B_PRId32 "MB\n", total / (1024 * 1024));
798 // memory).
832 // find already allocated ranges of physical memory
884 // Set the Open Firmware memory callback. From now on the Open Firmware
885 // will ask us for memory.
892 // one segment describes 256 MB of memory