Lines Matching defs:heaptop
422 static char heaptop_env[] __initdata = "heaptop";
425 unsigned int heaptop;
447 heaptop = CPHYSADDR((u32)&_text);
448 ppfinit("heaptop not set in boot prom, "
449 "set to default 0x%08x\n", heaptop);
451 heaptop = simple_strtol(str, NULL, 16);
452 if (heaptop == 0) {
453 /* heaptop conversion bad, might have 0xValue */
454 heaptop = simple_strtol(str, NULL, 0);
456 if (heaptop == 0) {
457 /* heaptop still bad, use reasonable default */
458 heaptop = CPHYSADDR((u32)&_text);
463 heaptop = CPHYSADDR((u32)heaptop);
474 if (heaptop > mdesc[i].base + mdesc[i].size) {
478 mdesc[i].size = heaptop - mdesc[i].base;
482 if (heaptop != CPHYSADDR((u32)_text)) {
485 mdesc[i].base = heaptop;