Quick fix for stat_imask and intr_mask[8] not having the RTC interrupt
bit set. I broke stat_imask in Dec 1994 and update_intr_masks() has copied the breakage to intr_mask[8] since Mar 1995. This can cause the RTC to stop interrupting in rare cases (under loads heavy enough for a new RTC interrupt to occur at a critical time just before Xintr8 finishes handling the previous one) and may have caused worse problems.
This commit is contained in:
parent
d0c66446cc
commit
cc094780c5
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.55 1995/11/05 04:45:15 gibbs Exp $
|
||||
* $Id: isa.c,v 1.56 1995/11/20 12:41:44 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -891,6 +891,7 @@ update_intr_masks(void)
|
||||
if (intr==2) continue;
|
||||
maskptr = intr_mptr[intr];
|
||||
if (!maskptr) continue;
|
||||
*maskptr |= 1 << intr;
|
||||
mask = *maskptr;
|
||||
if (mask != intr_mask[intr]) {
|
||||
#if 0
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.55 1995/11/05 04:45:15 gibbs Exp $
|
||||
* $Id: isa.c,v 1.56 1995/11/20 12:41:44 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -891,6 +891,7 @@ update_intr_masks(void)
|
||||
if (intr==2) continue;
|
||||
maskptr = intr_mptr[intr];
|
||||
if (!maskptr) continue;
|
||||
*maskptr |= 1 << intr;
|
||||
mask = *maskptr;
|
||||
if (mask != intr_mask[intr]) {
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user