]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r256911, r256936
authorbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 Nov 2013 20:28:13 +0000 (20:28 +0000)
committerbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 Nov 2013 20:28:13 +0000 (20:28 +0000)
commitcd2307c7ac497656b118901984db8d8572702f44
tree7a8d88cc120d08a2adc01fec3501ebe93fec6d19
parent7bca56cb188791c3d15ce0912741ce8bfbbd110e
MFC r256911, r256936

MFP4: 223121 (PIC portion), 225861, 227822, 229692 (PIC only), 229693,
230523, 1123614

Implement a driver for Robert Norton's PIC as an FDT interrupt
controller.  Devices whose interrupt-parent property points to a beripic

device will have their interrupt allocation, activation, and setup
operations routed through the IC rather than down the traditional bus
hierarchy.

This driver largely abstracts the underlying CPU away allowing the
PIC to be implemented on CPU's other than BERI.  Due to insufficient
abstractions a small amount of MIPS specific code is currently required
in fdt_mips.c and to implement counters.

Sponsored by: DARPA/AFRL
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@257522 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/fdt/fdt_mips.c
sys/mips/beri/beri_pic.c [new file with mode: 0644]
sys/mips/beri/files.beri