Date: Fri, 9 Feb 2001 09:42:46 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_intr.c src/sys/sys interrupt.h proc.h Message-ID: <200102091742.f19Hgk487298@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/02/09 09:42:46 PST
Modified files:
sys/kern kern_intr.c
sys/sys interrupt.h proc.h
Log:
- Move struct ithd to sys/interrupt.h.
- Add a set of MI helper functions for interrupt threads:
- ithread_create() creates a new interrupt thread
- ithread_destroy() destroys an interrupt thread
- ithread_add_handler() attaches a new handler to an interrupt thread
- ithread_remove_handler() detaches a handler from an interrupt thread
- Rename sinthand_add() and sched_swi() to swi_add() and swi_sched()
respectively so that they live in a consistent namespace.
- struct intrhand is no longer a public type. It would be private to
kern_intr.c but the current implementation of fast interrupts on the
alpha requires the type to be exported. However, all handlers should
be treated as void * cookies in the way that new-bus treats them. This
includes references to software interrupt handlers.
Revision Changes Path
1.39 +304 -87 src/sys/kern/kern_intr.c
1.13 +62 -23 src/sys/sys/interrupt.h
1.147 +3 -16 src/sys/sys/proc.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102091742.f19Hgk487298>
