Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/i386/i386

0 views
Skip to first unread message

Paolo Pisati

unread,
May 6, 2007, 1:05:56 PM5/6/07
to
piso 2007-05-06 17:02:50 UTC

FreeBSD src repository

Modified files:
sys/amd64/amd64 intr_machdep.c
sys/i386/i386 intr_machdep.c
sys/kern kern_intr.c
sys/sys interrupt.h
Log:
Bring in the reminaing bits to make interrupt filtering work:

o push much of the i386 and amd64 MD interrupt handling code
(intr_machdep.c::intr_execute_handlers()) into MI code
(kern_intr.c::ithread_loop())
o move filter handling to kern_intr.c::intr_filter_loop()
o factor out the code necessary to mask and ack an interrupt event
(intr_machdep.c::intr_eoi_src() and intr_machdep.c::intr_disab_eoi_src()),
and make them part of 'struct intr_event', passing them as arguments to
kern_intr.c::intr_event_create().
o spawn a private ithread per handler (struct intr_handler::ih_thread)
with filter and ithread functions.

Approved by: re (implicit?)

Revision Changes Path
1.31 +84 -0 src/sys/amd64/amd64/intr_machdep.c
1.26 +85 -1 src/sys/i386/i386/intr_machdep.c
1.144 +570 -6 src/sys/kern/kern_intr.c
1.37 +21 -0 src/sys/sys/interrupt.h
_______________________________________________
cvs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-u...@freebsd.org"

Nate Lawson

unread,
May 6, 2007, 4:12:44 PM5/6/07
to
Paolo Pisati wrote:
> On Sun, May 06, 2007 at 12:29:25PM -0700, John-Mark Gurney wrote:
>> kmacy is probably a better person to talk to about this... Though I
>> have done some work on sun4v, I don't have immediate access to one,
>> and didn't work on the low level interrupt code as much as kmacy did...
>
> /summon kmacy

[BAMF] A kmacy appears.

/wave wand
The kmacy is not amused. He drops a +1000-2 patch on your head. It hurts.

/summon phk
[BAMF] phk appears, wielding what appears to be a large axe.
phk smiles and drops a +4-8000 patch on you.
Your kernel is now empty. You are low on commit points. You are hungry.

/summon core
A voice comes from above, "You're on your own this time."
Connection timed out. Better luck next time!

--
Nate

0 new messages