svn commit: r258778 - head/sys/powerpc/ofw
Andreas Tobler
andreast at FreeBSD.org
Sat Nov 30 21:54:56 UTC 2013
Author: andreast
Date: Sat Nov 30 21:54:55 2013
New Revision: 258778
URL: http://svnweb.freebsd.org/changeset/base/258778
Log:
Add a printf to inform about the logical memory block size which is in use
by the system. This might give a hint why a pSeries system is not booting.
Modified:
head/sys/powerpc/ofw/ofw_machdep.c
Modified: head/sys/powerpc/ofw/ofw_machdep.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_machdep.c Sat Nov 30 21:29:34 2013 (r258777)
+++ head/sys/powerpc/ofw/ofw_machdep.c Sat Nov 30 21:54:55 2013 (r258778)
@@ -309,6 +309,7 @@ parse_drconf_memory(int *msz, int *asz,
res = OF_getprop(phandle, "ibm,lmb-size", lmb_size, sizeof(lmb_size));
if (res == -1)
return (0);
+ printf("Logical Memory Block size: %d MB\n", lmb_size[1] >> 20);
/* Parse the /ibm,dynamic-memory.
The first position gives the # of entries. The next two words
More information about the svn-src-head
mailing list