Date: Sat, 25 Oct 2008 20:03:29 GMT From: Andrew Turner <andrew@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 151915 for review Message-ID: <200810252003.m9PK3TbM013929@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151915 Change 151915 by andrew@andrew_bender on 2008/10/25 20:03:14 Adjust dump_avail and phys_avail to be within physical memory Affected files ... .. //depot/projects/arm/src/sys/arm/s3c2xx0/neo1973_machdep.c#8 edit Differences ... ==== //depot/projects/arm/src/sys/arm/s3c2xx0/neo1973_machdep.c#8 (text+ko) ==== @@ -370,8 +370,8 @@ * ARM_USE_SMALL_ALLOC uses dump_avail, so it must be filled before * calling pmap_bootstrap. */ - dump_avail[0] = KERNPHYSADDR; - dump_avail[1] = KERNPHYSADDR + memsize; + dump_avail[0] = PHYSADDR; + dump_avail[1] = PHYSADDR + memsize; dump_avail[2] = 0; dump_avail[3] = 0; @@ -385,7 +385,7 @@ physmem = memsize / PAGE_SIZE; phys_avail[0] = virtual_avail - KERNVIRTADDR + KERNPHYSADDR; - phys_avail[1] = KERNPHYSADDR + memsize; + phys_avail[1] = PHYSADDR + memsize; phys_avail[2] = 0; phys_avail[3] = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810252003.m9PK3TbM013929>