diff options
author | marcel <marcel@FreeBSD.org> | 2008-05-23 19:16:24 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-05-23 19:16:24 +0000 |
commit | b606eaa9b7505bbed2accafa8ecff3424ebaa912 (patch) | |
tree | 1d0290f961727a5296025df5570cb23817a4b569 /sys/powerpc | |
parent | 65dd14e2b5a9e2fd2e435c0fd1e62b728d9fae7c (diff) | |
download | FreeBSD-src-b606eaa9b7505bbed2accafa8ecff3424ebaa912.zip FreeBSD-src-b606eaa9b7505bbed2accafa8ecff3424ebaa912.tar.gz |
Invalidate the TLB in pmap_cpu_bootstrap(), so that it also happens
on the APs.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/mmu_oea.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index a425ccd..657a87f 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -655,6 +655,10 @@ pmap_cpu_bootstrap(volatile uint32_t *trcp, int ap) trcp[0] = 0x1006; trcp[1] = sdr; + + tlbia(); + + trcp[0] = 0x1007; } void @@ -895,7 +899,6 @@ moea_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend) kernel_pmap->pm_active = ~0; pmap_cpu_bootstrap(trace, 0); - tlbia(); pmap_bootstrapped++; |