diff options
author | cognet <cognet@FreeBSD.org> | 2005-04-07 22:04:18 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-04-07 22:04:18 +0000 |
commit | 0d26b3b262e08e8d0f0e69f11584a7883b0627cb (patch) | |
tree | f69e387cdb62215e22cb3a496698df4edc91ba5a /sys/arm/xscale | |
parent | 32d01fd075e0190838040ebae07cdd1dcc196cce (diff) | |
download | FreeBSD-src-0d26b3b262e08e8d0f0e69f11584a7883b0627cb.zip FreeBSD-src-0d26b3b262e08e8d0f0e69f11584a7883b0627cb.tar.gz |
Don't announce the range SDRAM_START-freemempos until I figure out what's
going on, it produces random memory corruption.
Diffstat (limited to 'sys/arm/xscale')
-rw-r--r-- | sys/arm/xscale/i80321/iq31244_machdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arm/xscale/i80321/iq31244_machdep.c b/sys/arm/xscale/i80321/iq31244_machdep.c index 4eb8958..7aff4f1 100644 --- a/sys/arm/xscale/i80321/iq31244_machdep.c +++ b/sys/arm/xscale/i80321/iq31244_machdep.c @@ -459,11 +459,11 @@ initarm(void *arg, void *arg2) freemempos &= ~(PAGE_SIZE - 1); phys_avail[0] = SDRAM_START; - phys_avail[1] = freemempos; - phys_avail[2] = round_page(virtual_avail - KERNBASE + SDRAM_START); - phys_avail[3] = trunc_page(0xa0000000 + memsize - 1); - phys_avail[4] = 0; - phys_avail[5] = 0; + phys_avail[1] = freemempos - PAGE_SIZE; + phys_avail[0] = round_page(virtual_avail - KERNBASE + SDRAM_START); + phys_avail[1] = trunc_page(0xa0000000 + memsize - 1); + phys_avail[2] = 0; + phys_avail[3] = 0; /* Do basic tuning, hz etc */ init_param1(); |