diff options
author | cognet <cognet@FreeBSD.org> | 2012-02-29 12:44:34 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2012-02-29 12:44:34 +0000 |
commit | 410dc4af7f267b132c5c0d5a73090b692e5b370d (patch) | |
tree | 1b602c9fd5543fa238164ee8c78e3c822d0bd522 /sys/arm/xscale/i8134x | |
parent | 295d98ee07c7d5ed197b5f19c42897cce0575bb9 (diff) | |
download | FreeBSD-src-410dc4af7f267b132c5c0d5a73090b692e5b370d.zip FreeBSD-src-410dc4af7f267b132c5c0d5a73090b692e5b370d.tar.gz |
Make sure we do not provide the page 0 to the VM. It can't handle it properly,
because pmap_extract() returns 0 when there's no mapping.
PR: arm/154227
MFC after: 1 week
Diffstat (limited to 'sys/arm/xscale/i8134x')
-rw-r--r-- | sys/arm/xscale/i8134x/crb_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/xscale/i8134x/crb_machdep.c b/sys/arm/xscale/i8134x/crb_machdep.c index 8f2c43eb..b368c19 100644 --- a/sys/arm/xscale/i8134x/crb_machdep.c +++ b/sys/arm/xscale/i8134x/crb_machdep.c @@ -381,8 +381,8 @@ initarm(void *arg, void *arg2) i = 0; #ifdef ARM_USE_SMALL_ALLOC - phys_avail[i++] = 0x00000000; - phys_avail[i++] = 0x00001000; /* + phys_avail[i++] = 0x00001000; + phys_avail[i++] = 0x00002000; /* *XXX: Gross hack to get our * pages in the vm_page_array . */ |