diff options
author | Andreas Tobler <andreast@FreeBSD.org> | 2013-11-30 21:54:55 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@FreeBSD.org> | 2013-11-30 21:54:55 +0000 |
commit | 86b2b302f903e958e13f918f4fd00590b1250f86 (patch) | |
tree | efe1e26b10cc5961bafd08e5ef386fe3b6761302 /sys/powerpc | |
parent | 670dd3f08f3ce2f9033d7ccd6775ba03c2f5af25 (diff) | |
download | src-86b2b302f903e958e13f918f4fd00590b1250f86.tar.gz src-86b2b302f903e958e13f918f4fd00590b1250f86.zip |
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.
Notes
Notes:
svn path=/head/; revision=258778
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/ofw/ofw_machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/ofw/ofw_machdep.c b/sys/powerpc/ofw/ofw_machdep.c index 3b2f84bfb5c7..4969ec0b66e9 100644 --- a/sys/powerpc/ofw/ofw_machdep.c +++ b/sys/powerpc/ofw/ofw_machdep.c @@ -309,6 +309,7 @@ parse_drconf_memory(int *msz, int *asz, struct mem_region *ofmem, 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 |