remove some unsafe sti insns before INTRFASTEXIT, which
can allow infinite recursion of the handler.
This commit is contained in:
parent
88c3eadbfa
commit
a61427049c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vector.S,v 1.18 2005/05/31 00:45:03 chs Exp $ */
|
||||
/* $NetBSD: vector.S,v 1.19 2005/06/12 05:32:45 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 (c) Wasabi Systems, Inc.
|
||||
|
@ -175,7 +175,6 @@ IDTVEC(resume_lapic_ipi)
|
|||
jmp _C_LABEL(Xdoreti)
|
||||
2:
|
||||
orl $(1 << LIR_IPI),CPUVAR(IPENDING)
|
||||
sti
|
||||
INTRFASTEXIT
|
||||
|
||||
#if defined(DDB)
|
||||
|
@ -228,7 +227,6 @@ IDTVEC(resume_lapic_ltimer)
|
|||
jmp _C_LABEL(Xdoreti)
|
||||
2:
|
||||
orl $(1 << LIR_TIMER),CPUVAR(IPENDING)
|
||||
sti
|
||||
INTRFASTEXIT
|
||||
#endif /* NLAPIC > 0 */
|
||||
|
||||
|
@ -312,7 +310,6 @@ IDTVEC(intr_/**/name/**/num) ;\
|
|||
9: \
|
||||
unmask(num) ;\
|
||||
late_ack(num) ;\
|
||||
sti ;\
|
||||
INTRFASTEXIT
|
||||
|
||||
#define ICUADDR IO_ICU1
|
||||
|
|
Loading…
Reference in New Issue