Date: Tue, 4 Nov 2008 22:19:40 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 152495 for review Message-ID: <200811042219.mA4MJert075020@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152495 Change 152495 by gonzo@gonzo_jeeves on 2008/11/04 22:19:13 - Request all available memory from CFE - Make realmem/physmem handling less obscure Affected files ... .. //depot/projects/mips2/src/sys/mips/bcm47xx/bcm47xx_machdep.c#3 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/bcm47xx/bcm47xx_machdep.c#3 (text+ko) ==== @@ -103,7 +103,8 @@ int result; uint64_t addr, len, type; - result = cfe_enummem(i, 0, &addr, &len, &type); + result = cfe_enummem(i, CFE_FLG_FULL_ARENA, &addr, &len, + &type); if (result < 0) { phys_avail[i] = phys_avail[i + 1] = 0; break; @@ -124,10 +125,10 @@ physmem += len; } - realmem = btoc(physmem); #endif - physmem = realmem; + physmem = btoc(physmem); + realmem = physmem; init_param1(); init_param2(physmem);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811042219.mA4MJert075020>