summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-27 18:00:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-27 18:00:12 +0000
commit78e5a9808f406b27fda9e187cf8f87aaee6cbe52 (patch)
tree324d9174dc69abe53991d2d43fe226699626c95f /sys/arch/hppa
parentda6db4f8298898108e980f5ae810fd9ef573ef25 (diff)
fix pcxt tlb handler
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/locore.S12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index 19500b7c607..5c15e9b0d7b 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.31 2000/03/23 20:25:40 mickey Exp $ */
+/* $OpenBSD: locore.S,v 1.32 2000/04/27 18:00:11 mickey Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -1194,7 +1194,7 @@ $sfu_emu
$tlbd_x
$tlbd_s
$tlbd_t
- HPTENT /* will update cr28 */
+ HPTENT
mtctl r16, cr28
/*
@@ -1221,6 +1221,7 @@ $hash_loop_tlbd_t
$itlb_x
$itlb_s
$itlb_t
+ depi 1, TFF_ITLB_POS, 1, r1 /* mark for ITLB insert */
$dtlb_x
$dtlb_s
@@ -1232,9 +1233,10 @@ $dtlb_t
* r24 is the correspondent HPT entry pointer
*/
- HPTENT /* will update cr28 */
+ HPTENT
mtctl r16, cr28
-
+ copy r16, r24
+
ldw hpt_tag(r16),r17
VTAG /* (r8,r9) -> r16 */
@@ -1322,7 +1324,7 @@ $hash_loop_tlbd_l
.align 8
$itlb_l
- HPTENT /* will update cr28 */
+ HPTENT
#ifdef DDB
mtctl r16, cr28
#endif