Module Name: src Committed By: tsutsui Date: Mon Jan 21 14:42:24 UTC 2013
Modified Files: src/sys/arch/luna68k/luna68k: locore.s Log Message: Account idepth properly in timer interrupt handler. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/luna68k/luna68k/locore.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/luna68k/luna68k/locore.s diff -u src/sys/arch/luna68k/luna68k/locore.s:1.50 src/sys/arch/luna68k/luna68k/locore.s:1.51 --- src/sys/arch/luna68k/luna68k/locore.s:1.50 Fri Jan 18 18:41:12 2013 +++ src/sys/arch/luna68k/luna68k/locore.s Mon Jan 21 14:42:24 2013 @@ -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 @@ ENTRY_NOPROFILE(intrhand_vectored) #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 @@ ENTRY_NOPROFILE(lev5intr) addql #1,_C_LABEL(intrcnt)+20 INTERRUPT_RESTOREREG 1: + addql #1,_C_LABEL(idepth) jra _ASM_LABEL(rei) | all done #endif