Invalidate the TLB in pmap_cpu_bootstrap(), so that it also happens

on the APs.
This commit is contained in:
marcel 2008-05-23 19:16:24 +00:00
parent 65dd14e2b5
commit b606eaa9b7

View File

@ -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++;