Date: Sat, 20 Feb 2010 16:30:29 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/include intr_machdep.h src/sys/mips/rmi interrupt.h intr_machdep.c Message-ID: <201002201630.o1KGUkiq013738@repoman.freebsd.org>
index | next in thread | raw e-mail
rrs 2010-02-20 16:30:29 UTC
FreeBSD src repository
Modified files:
sys/mips/include intr_machdep.h
sys/mips/rmi interrupt.h intr_machdep.c
Log:
SVN rev 204130 on 2010-02-20 16:30:29Z by rrs
Some fixes to the current RMI interrupt handling, changes in this patch are:
- (cleanup) remove rmi specific 'struct mips_intrhand' - this is no
longer needed since 'struct intr_event' have all the required hooks
- add xlr_cpu_establish_hardintr, which has args for pre/post ithread
and filter hooks, so that the PCI code can add the PCI controller
interrupt ack code here
- make 'cpu_establish_hardintr' use the above function.
- (fix) change type of eirr/eimr from register_t to uint64_t. These
have to be 64bit otherwise we cannot handle interrupts from 32.
- (fix) use eimr to mask eirr before checking interrupts, so that we
will not handle masked interrupts.
Obtained from: C. Jayachandran - c.jayachandran@gmail.com
Revision Changes Path
1.4 +0 -14 src/sys/mips/include/intr_machdep.h
1.2 +11 -1 src/sys/mips/rmi/interrupt.h
1.4 +34 -20 src/sys/mips/rmi/intr_machdep.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002201630.o1KGUkiq013738>
