Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 make trap 0x70 a TRAP() not UTRAP()...



details:   https://anonhg.NetBSD.org/src/rev/c7083f465c37
branches:  trunk
changeset: 998114:c7083f465c37
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Apr 07 19:31:38 2019 +0000

description:
make trap 0x70 a TRAP() not UTRAP().  we should be able to handle
fast ECC error as a normal trap, and i saw this once a few years
ago but it never repeated so i haven't been able to test this.

diffstat:

 sys/arch/sparc64/sparc64/locore.s |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r c377f46f2a28 -r c7083f465c37 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Sun Apr 07 17:46:49 2019 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sun Apr 07 19:31:38 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.419 2019/02/08 20:34:23 palle Exp $       */
+/*     $NetBSD: locore.s,v 1.420 2019/04/07 19:31:38 mrg Exp $ */
 
 /*
  * Copyright (c) 2006-2010 Matthew R. Green
@@ -763,7 +763,8 @@
 #endif
        nop
        TA32
-       UTRAP(0x070)                    ! Implementation dependent traps
+       TRAP(0x070)                     ! 0x070 fast_ECC_error
+                                       ! Implementation dependent traps
        UTRAP(0x071); UTRAP(0x072); UTRAP(0x073); UTRAP(0x074); UTRAP(0x075); UTRAP(0x076)
        UTRAP(0x077); UTRAP(0x078); UTRAP(0x079); UTRAP(0x07a); UTRAP(0x07b); UTRAP(0x07c)
        UTRAP(0x07d); UTRAP(0x07e); UTRAP(0x07f)
@@ -973,7 +974,8 @@
 #endif
        nop
        TA32
-       UTRAP(0x070)                    ! Implementation dependent traps
+       TRAP(0x070)                     ! 0x070 fast_ECC_error
+                                       ! Implementation dependent traps
        UTRAP(0x071); UTRAP(0x072); UTRAP(0x073); UTRAP(0x074); UTRAP(0x075); UTRAP(0x076)
        UTRAP(0x077); UTRAP(0x078); UTRAP(0x079); UTRAP(0x07a); UTRAP(0x07b); UTRAP(0x07c)
        UTRAP(0x07d); UTRAP(0x07e); UTRAP(0x07f)



Home | Main Index | Thread Index | Old Index