diff options
author | jake <jake@FreeBSD.org> | 2002-03-17 01:45:29 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-03-17 01:45:29 +0000 |
commit | cdf21113df657b3ab5c2ca4491c050d6e5262b39 (patch) | |
tree | 8002150d3b32b6c85af15e1180b84d16a08640a2 /sys/sparc64 | |
parent | 14dd08fd153468502c32dc2d9c1e25a6c2d761d1 (diff) | |
download | FreeBSD-src-cdf21113df657b3ab5c2ca4491c050d6e5262b39.zip FreeBSD-src-cdf21113df657b3ab5c2ca4491c050d6e5262b39.tar.gz |
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.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index 4b57604..14b4b0c 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -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); } |