Lines Matching defs:memory
57 /*! The (physical) memory layout of the boot loader is currently as follows:
96 // Define this to print the memory map to serial debug.
158 dprintf("phys memory ranges:\n");
166 dprintf("allocated phys memory ranges:\n");
174 dprintf("allocated virt memory ranges:\n");
190 int memory = -1;
192 dprintf("checking for memory...\n");
193 if (of_getprop(gChosen, "memory", &memory, sizeof(int)) == OF_FAILED)
194 package = of_finddevice("/memory");
196 package = of_instance_to_package(memory);
227 count = of_getprop(memory, "reg", regions, sizeof(regions));
244 dprintf("cannot map physical memory range "
257 count = of_getprop(memory, "reg", regions, sizeof(regions));
274 dprintf("cannot map physical memory range "
292 // get map of physical memory (fill in kernel_args structure)
296 dprintf("Error: could not find physical memory ranges!\n");
299 dprintf("total physical memory = %" B_PRId64 "MB\n", total / (1024 * 1024));
317 // Save the memory we've virtually allocated (for the kernel and other
363 // kernel into memory; it will only allow you to map the