svn commit: r259038 - stable/9/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Fri Dec 6 18:32:04 UTC 2013
Author: imp
Date: Fri Dec 6 18:32:03 2013
New Revision: 259038
URL: http://svnweb.freebsd.org/changeset/base/259038
Log:
Bump the maximum VM space from 3 * memory size to a fixed
256MB. That's all we have room for since we map the hardware registers
starting at 0xd0000000. This allows my 64MB AT91SAM9G20 to boot again
after the unmmaped I/O changes were MFC'd at r251897. Other
subplatforms may need similar treatment.
Modified:
stable/9/sys/arm/at91/at91_machdep.c
Modified: stable/9/sys/arm/at91/at91_machdep.c
==============================================================================
--- stable/9/sys/arm/at91/at91_machdep.c Fri Dec 6 18:09:10 2013 (r259037)
+++ stable/9/sys/arm/at91/at91_machdep.c Fri Dec 6 18:32:03 2013 (r259038)
@@ -426,9 +426,8 @@ initarm(void *arg, void *arg2)
dump_avail[2] = 0;
dump_avail[3] = 0;
- pmap_bootstrap(freemempos,
- KERNVIRTADDR + 3 * memsize,
- &kernel_l1pt);
+ /* Use the full 256MB of KVA we have available, regardless of memory size */
+ pmap_bootstrap(freemempos, KERNVIRTADDR + (256 << 20), &kernel_l1pt);
msgbufp = (void*)msgbufpv.pv_va;
msgbufinit(msgbufp, msgbufsize);
mutex_init();
More information about the svn-src-stable-9
mailing list