On Thursday, 13 July 2000 at 22:51:56 -0400, Brandon Fosdick wrote:
> Where/How does one implement a hardware interrupt handler? I haven't
> done this sort of thing since the days of DOS. I imagine its a lot
> different in *nix. :)
The low-level interrupt handlers are in
/usr/src/sys/i386/isa/exception.s. Your device driver attach routine
will register its interrupt routine with BUS_SETUP_INTR, which will
cause the appropriate interrupt handler to transfer control to your
interrupt handler when an interrupt occurs.
Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message