Date: Tue, 31 Dec 1996 10:12:14 +1100 From: Bruce Evans <bde@zeta.org.au> To: hackers@freebsd.org, hmmm@alaska.net Subject: Re: Ints Message-ID: <199612302312.KAA13090@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Q: is there danger in servicing a lower priority pending interrupt while >servicing the highest priority INT in the same ISR ? Only if there are bugs. >IE - are any interrupt functions/bits LATCHED - that may need to be >cleaned up? They are not latched by ISA hardware. They are latched by FreeBSD software, except for some serial interrupts. >for example - i have both COM ports tied to the same ISR - is there any >danger in reading RxBuf1 (lower priority) while SERVICING an RxBuf2 INT? There is extreme danger of this not working at all, for other reasons - ISA hardware doesn't support sharing interrupts (at the same time). >or - satisfying a TxBuf INT (lower priority) while taking care of RxBuf >INT? > >OR - does eliminating any INTerrupt condition KILL all things related to >that INTerrupt? The events that cause the interrupts can be handled in any order for xx(x)50 UARTs, except for bugs of course. 8250s have bugs involving losing modem control (?) interrupts while other interrupts are being handled. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612302312.KAA13090>