summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-01-06 23:07:14 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-01-06 23:07:14 +0000
commita72a1f884808d09b9c98497315c26fcdd5474b6d (patch)
tree9e5282b5f646ca63fcf83d44a37ad28357e12092 /sys/arch
parent8f4f0d067b68ce99a0bc98ac6957727e5d5077c9 (diff)
Remove bogus code for flushing 32-bit tlb entries. This makes it possible to
go to more than 4G va space.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s8
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