Date: Mon, 19 Jun 2006 14:55:19 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99603 for review Message-ID: <200606191455.k5JEtJ7r074134@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99603 Change 99603 by piso@piso_newluxor on 2006/06/19 14:54:34 Convert amd64 to use MI interrupt filter code too. Affected files ... .. //depot/projects/soc2006/intr_filter/amd64/amd64/intr_machdep.c#2 edit Differences ... ==== //depot/projects/soc2006/intr_filter/amd64/amd64/intr_machdep.c#2 (text+ko) ==== @@ -170,7 +170,6 @@ { struct thread *td; struct intr_event *ie; - struct intr_handler *ih; int error, vector, thread; td = curthread; @@ -219,20 +218,8 @@ td->td_intr_nesting_level++; thread = 0; critical_enter(); - TAILQ_FOREACH(ih, &ie->ie_handlers, ih_next) { - if (!(ih->ih_flags & IH_FAST)) { - thread = 1; - continue; - } - CTR4(KTR_INTR, "%s: exec %p(%p) for %s", __func__, - ih->ih_handler, ih->ih_argument == NULL ? frame : - ih->ih_argument, ih->ih_name); - if (ih->ih_argument == NULL) - ih->ih_handler(frame); - else - ih->ih_handler(ih->ih_argument); - } - + thread = intr_filter_loop(ie, frame); + /* * If there are any threaded handlers that need to run, * mask the source as well as sending it an EOI. Otherwise,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606191455.k5JEtJ7r074134>