Make sure we only handle the DraCo native timer interupt, if it was enabled.
We test this condition AFTER the interupt condition, because it is only disabled during autoconfiguration. Without this patch, if autoconfiguration takes long enough, eventually a timer interupt will call hardclock() and panic the machine.
This commit is contained in:
parent
f9ace39811
commit
4104d4bf07
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.s,v 1.68 1996/11/06 20:19:23 cgd Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.69 1996/11/17 18:22:37 is Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -581,6 +581,8 @@ _DraCoLev1intr:
|
|||
movl _draco_ioct,a0
|
||||
btst #5,a0@(7)
|
||||
jeq Ldrintrcommon
|
||||
btst #4,a0@(7) | this only happens during autoconfiguration,
|
||||
jeq Ldrintrcommon | so test last.
|
||||
movw #PSL_HIGHIPL,sr | run clock at high ipl
|
||||
clrb a0@(9) | reset timer irq
|
||||
Ldrclockretry:
|
||||
|
|
Loading…
Reference in New Issue