svn commit: r258243 - head/sys/powerpc/booke
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Nov 17 01:59:43 UTC 2013
Author: nwhitehorn
Date: Sun Nov 17 01:59:42 2013
New Revision: 258243
URL: http://svnweb.freebsd.org/changeset/base/258243
Log:
Make sure that TLB1 mappings are aligned correctly.
Modified:
head/sys/powerpc/booke/pmap.c
Modified: head/sys/powerpc/booke/pmap.c
==============================================================================
--- head/sys/powerpc/booke/pmap.c Sun Nov 17 01:07:46 2013 (r258242)
+++ head/sys/powerpc/booke/pmap.c Sun Nov 17 01:59:42 2013 (r258243)
@@ -3175,6 +3175,7 @@ pmap_early_io_map(vm_paddr_t pa, vm_size
pa_base = trunc_page(pa);
size = roundup(size + (pa - pa_base), PAGE_SIZE);
+ tlb1_map_base = roundup2(tlb1_map_base, 1 << (ilog2(size) & ~1));
va = tlb1_map_base + (pa - pa_base);
do {
More information about the svn-src-all
mailing list