patch-2.1.29 linux/arch/sparc64/kernel/dtlb_prot.S
Next file: linux/arch/sparc64/kernel/etrap.S
Previous file: linux/arch/sparc64/kernel/dtlb_miss.S
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Wed Mar 5 17:04:31 1997
- Orig file:
v2.1.28/linux/arch/sparc64/kernel/dtlb_prot.S
- Orig date:
Mon Dec 30 01:59:59 1996
diff -u --recursive --new-file v2.1.28/linux/arch/sparc64/kernel/dtlb_prot.S linux/arch/sparc64/kernel/dtlb_prot.S
@@ -1,4 +1,4 @@
-/* $Id: dtlb_prot.S,v 1.3 1996/12/28 18:39:41 davem Exp $
+/* $Id: dtlb_prot.S,v 1.5 1997/02/26 11:09:26 jj Exp $
* dtlb_prot.S: Fast TLB protection trap processing.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -35,7 +35,6 @@
* from the miss handlers probing the page tables.
*/
-dtlb_prot:
/* I-cache line 0 */
ldxa [%g0] ASI_DMMU, %g1
srlx %g1, 8, %g3
@@ -49,11 +48,11 @@
srlx %g1, 1, %g1
ldxa [%g4 + %g1] ASI_PHYS_USE_EC, %g3
andcc %g3, _PAGE_WRITE, %g0
- be,pnt %xcc, sparc64_dtlb_fault
+ be,pn %xcc, sparc64_dtlb_fault
or %g3, (_PAGE_WRITE|_PAGE_W|_PAGE_MODIFIED|_PAGE_ACCESSED), %g3
/* Blamo... */
- stxa %g3, [%g4 + %g1] %asi
+ stxa %g3, [%g4 + %g1] ASI_DMMU
stxa %g3, [%g0] ASI_DTLB_DATA_IN
retry
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov