diff options
author | 2007-01-06 23:07:13 +0000 | |
---|---|---|
committer | 2007-01-06 23:07:13 +0000 | |
commit | d2943b61075f5ab84dc96de04d74aa3c68094100 (patch) | |
tree | 8e35e6334d074c69b2ced9474360731a5512f133 | |
parent | Use VM_MAX_KERNEL_ADDRESS instead of KERNEND in pmap_growkernel(). (diff) | |
download | wireguard-openbsd-d2943b61075f5ab84dc96de04d74aa3c68094100.tar.xz wireguard-openbsd-d2943b61075f5ab84dc96de04d74aa3c68094100.zip |
Remove bogus code for flushing 32-bit tlb entries. This makes it possible to
go to more than 4G va space.
-rw-r--r-- | sys/arch/sparc64/sparc64/locore.s | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index 7612bd7202c..3dce1923e3b 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.68 2007/01/04 23:08:16 kettenis Exp $ */ +/* $OpenBSD: locore.s,v 1.69 2007/01/06 23:07:13 kettenis Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -4707,12 +4707,6 @@ _C_LABEL(tlb_flush_pte): stxa %g2, [%g2] ASI_IMMU_DEMAP ! to both TLBs membar #Sync ! No real reason for this XXXX flush %o4 - srl %g2, 0, %g2 ! and make sure it's both 32- and 64-bit entries - stxa %g2, [%g2] ASI_DMMU_DEMAP ! Do the demap - membar #Sync - stxa %g2, [%g2] ASI_IMMU_DEMAP ! Do the demap - membar #Sync ! No real reason for this XXXX - flush %o4 stxa %g1, [%o2] ASI_DMMU ! Restore asi membar #Sync ! No real reason for this XXXX flush %o4 |