Use the tlb data access register to map the kernel tsb, rather than the data
in register. The latter uses the random replacment algorithm to pick the slot, we want a specific slot.
This commit is contained in:
parent
a0595d0249
commit
2f3e2b8795
@ -431,7 +431,7 @@ pmap_map_tsb(void)
|
||||
TD_P | TD_W;
|
||||
stxa(AA_DMMU_TAR, ASI_DMMU, TLB_TAR_VA(va) |
|
||||
TLB_TAR_CTX(TLB_CTX_KERNEL));
|
||||
stxa(TLB_DAR_SLOT(slot), ASI_DTLB_DATA_IN_REG, data);
|
||||
stxa(TLB_DAR_SLOT(slot), ASI_DTLB_DATA_ACCESS_REG, data);
|
||||
membar(Sync);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user