Lines Matching defs:memory
105 * we claim the physical space in the /memory node and the virtual
111 static ihandle memory;
140 memory = of_call_prom("open", 1, 1, "/memory");
141 if (memory == PROM_ERROR) {
142 memory = of_call_prom("open", 1, 1, "/memory@0");
143 if (memory == PROM_ERROR) {
144 printf("no memory node\n");
163 ret = of_call_prom_ret("call-method", 5, 2, &result, "claim", memory,
191 fatal("Can't allocate memory for kernel image!\n\r");