Re: OS decisions

Robert Swindells <[email protected]> Mon, 15 Jun 2009 14:56:00 +0100 (BST)
Newsgroups gmane.lisp.movitz.devel
Message-ID <[email protected]>
Frode V. Fjeld <[email protected]> wrote:
>Robert Swindells <[email protected]> writes:

>> The trampoline also doesn't allow for multiple devices sharing an
>> interrupt.

>How would this be allowed for?

Maybe make the elements of the exception-handlers array be lists of
handlers and make the trampoline try each one until it sees a non-nil
return value.

>My very vague idea of how shared interrupts work is that upon an
>interrupt each handler is called in turn, and each must poll its
>device to see if it requires service. But for all I know there's
>something more sophisticated going on?

That is how it works.

Robert Swindells