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 Interrupt handlers return zero if t...



details:   https://anonhg.NetBSD.org/src/rev/91db0dc86f17
branches:  trunk
changeset: 480566:91db0dc86f17
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sun Jan 16 03:13:24 2000 +0000

description:
Interrupt handlers return zero if they didn't handle the interrupt.

diffstat:

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

diffs (21 lines):

diff -r 8de32139c746 -r 91db0dc86f17 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Sun Jan 16 03:10:58 2000 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sun Jan 16 03:13:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.49 2000/01/10 03:53:21 eeh Exp $  */
+/*     $NetBSD: locore.s,v 1.50 2000/01/16 03:13:24 eeh Exp $  */
 /*
  * Copyright (c) 1996-1999 Eduardo Horvath
  * Copyright (c) 1996 Paul Kranenburg
@@ -4002,9 +4002,8 @@
 0:     
        jmpl    %o1, %o7                ! handled = (*ih->ih_fun)(...)
         movrz  %o0, %o2, %o0           ! arg = (arg == 0) ? arg : tf
-       brz,pt  %o0, intrcmplt          ! Done?
-        nop
-       mov     1, %o1
+       brnz,pt %o0, intrcmplt          ! Done?
+        mov    1, %o1
        call    _C_LABEL(strayintr)     ! strayintr(&intrframe, 1)
         add    %sp, CC64FSZ + STKB, %o0
        ba,a,pt %icc, intrcmplt         ! done



Home | Main Index | Thread Index | Old Index