• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/

Lines Matching defs:mem_end

134 				  unsigned long *mem_end)
149 dt_push_token(OF_DT_PROP, mem_end);
150 dt_push_token(size, mem_end);
151 dt_push_token(soff, mem_end);
155 memcpy((void *)*mem_end, data, size);
156 *mem_end = _ALIGN_UP(*mem_end + size, 4);
161 unsigned long *mem_end)
165 bootx_dt_add_prop("linux,bootx", NULL, 0, mem_end);
170 bootx_dt_add_prop("bootargs", args, strlen(args) + 1, mem_end);
174 bootx_dt_add_prop("linux,initrd-start", &val, 4, mem_end);
176 bootx_dt_add_prop("linux,initrd-end", &val, 4, mem_end);
180 strlen(bootx_disp_path) + 1, mem_end);
184 unsigned long *mem_end,
191 bootx_dt_add_prop("linux,boot-display", NULL, 0, mem_end);
192 bootx_dt_add_prop("linux,opened", NULL, 0, mem_end);
194 bootx_dt_add_prop("linux,bootx-noscreen", NULL, 0, mem_end);
197 bootx_dt_add_prop("linux,bootx-depth", &tmp, 4, mem_end);
199 bootx_dt_add_prop("linux,bootx-width", &tmp, 4, mem_end);
201 bootx_dt_add_prop("linux,bootx-height", &tmp, 4, mem_end);
203 bootx_dt_add_prop("linux,bootx-linebytes", &tmp, 4, mem_end);
209 bootx_dt_add_prop("linux,bootx-addr", &tmp, 4, mem_end);
212 static void __init bootx_dt_add_string(char *s, unsigned long *mem_end)
215 memcpy((void *)*mem_end, s, l);
216 bootx_dt_strend = *mem_end = *mem_end + l;
221 unsigned long *mem_end)
238 bootx_dt_add_string("linux,bootx", mem_end);
239 bootx_dt_add_string("linux,stdout-path", mem_end);
240 bootx_dt_add_string("linux,initrd-start", mem_end);
241 bootx_dt_add_string("linux,initrd-end", mem_end);
242 bootx_dt_add_string("bootargs", mem_end);
247 bootx_dt_add_string("linux,boot-display", mem_end);
248 bootx_dt_add_string("linux,opened", mem_end);
263 bootx_dt_add_string(namep, mem_end);
272 bootx_scan_dt_build_strings(base, *cpp, mem_end);
279 unsigned long *mem_end)
286 dt_push_token(OF_DT_BEGIN_NODE, mem_end);
300 memcpy((void *)*mem_end, namep, l + 1);
301 namep = (char *)*mem_end;
309 *mem_end = _ALIGN_UP((unsigned long)lp + 1, 4);
327 pp->length, mem_end);
333 bootx_add_chosen_props(base, mem_end);
335 bootx_add_display_props(base, mem_end, 0);
338 bootx_add_display_props(base, mem_end, 1);
344 bootx_scan_dt_build_struct(base, *cpp, mem_end);
348 dt_push_token(OF_DT_END_NODE, mem_end);
354 unsigned long mem_start, mem_end;
362 mem_start = mem_end = _ALIGN_UP(((unsigned long)bi) + start, 4);
365 mem_end += sizeof(struct boot_param_header);
366 rsvmap = (u64 *)(_ALIGN_UP(mem_end, 8));
368 mem_end = ((unsigned long)rsvmap) + 8 * sizeof(u64);
374 DBG("Building string array at: %x\n", mem_end);
376 bootx_dt_strbase = mem_end;
377 mem_end += 4;
378 bootx_dt_strend = mem_end;
379 bootx_scan_dt_build_strings(base, 4, &mem_end);
381 bootx_dt_add_string("linux,bootx-noscreen", &mem_end);
382 bootx_dt_add_string("linux,bootx-depth", &mem_end);
383 bootx_dt_add_string("linux,bootx-width", &mem_end);
384 bootx_dt_add_string("linux,bootx-height", &mem_end);
385 bootx_dt_add_string("linux,bootx-linebytes", &mem_end);
386 bootx_dt_add_string("linux,bootx-addr", &mem_end);
392 mem_end = _ALIGN(mem_end, 16);
393 DBG("Building device tree structure at: %x\n", mem_end);
394 hdr->off_dt_struct = mem_end - mem_start;
395 bootx_scan_dt_build_struct(base, 4, &mem_end);
396 dt_push_token(OF_DT_END, &mem_end);
401 hdr->totalsize = mem_end - mem_start;
410 mem_end = _ALIGN(mem_end, PAGE_SIZE);
411 DBG("End of boot params: %x\n", mem_end);
413 rsvmap[1] = mem_end;