Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/luna68k Account idepth properly in timer in...



details:   https://anonhg.NetBSD.org/src/rev/32664ae24c6e
branches:  trunk
changeset: 784188:32664ae24c6e
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Jan 21 14:42:24 2013 +0000

description:
Account idepth properly in timer interrupt handler.

diffstat:

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

diffs (25 lines):

diff -r c671726857c3 -r 32664ae24c6e sys/arch/luna68k/luna68k/locore.s
--- a/sys/arch/luna68k/luna68k/locore.s Mon Jan 21 14:17:39 2013 +0000
+++ b/sys/arch/luna68k/luna68k/locore.s Mon Jan 21 14:42:24 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.50 2013/01/18 18:41:12 tsutsui Exp $ */
+/* $NetBSD: locore.s,v 1.51 2013/01/21 14:42:24 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -819,6 +819,7 @@
 
 #if 1  /* XXX wild timer -- how can I disable/enable the interrupt? */
 ENTRY_NOPROFILE(lev5intr)
+       addql   #1,_C_LABEL(idepth)
        btst    #7,0x63000000           | check whether system clock
        beq     1f
        movb    #1,0x63000000           | clear the interrupt
@@ -832,6 +833,7 @@
        addql   #1,_C_LABEL(intrcnt)+20
        INTERRUPT_RESTOREREG
 1:
+       addql   #1,_C_LABEL(idepth)
        jra     _ASM_LABEL(rei)         | all done
 #endif
 



Home | Main Index | Thread Index | Old Index