From owner-cvs-all Fri Feb 9 9:43: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6499837E3C7; Fri, 9 Feb 2001 09:42:46 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f19Hgk487298; Fri, 9 Feb 2001 09:42:46 -0800 (PST) (envelope-from jhb) Message-Id: <200102091742.f19Hgk487298@freefall.freebsd.org> From: John Baldwin Date: Fri, 9 Feb 2001 09:42:46 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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