From b606eaa9b7505bbed2accafa8ecff3424ebaa912 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 23 May 2008 19:16:24 +0000 Subject: [PATCH] Invalidate the TLB in pmap_cpu_bootstrap(), so that it also happens on the APs. --- sys/powerpc/aim/mmu_oea.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index a425ccd07c2d..657a87f8a73e 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++;