diff options
author | ian <ian@FreeBSD.org> | 2014-09-25 15:02:33 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-09-25 15:02:33 +0000 |
commit | e2b20df1df60383594cba82c87a9e274a203c0e4 (patch) | |
tree | 8c05a95849482bf2011d96d0f963467525a2b01e /lib/libc/stdlib/system.c | |
parent | 627f648fad5a4583afb310616c761bc7bd041878 (diff) | |
download | FreeBSD-src-e2b20df1df60383594cba82c87a9e274a203c0e4.zip FreeBSD-src-e2b20df1df60383594cba82c87a9e274a203c0e4.tar.gz |
Replace multiple nearly-identical copies of code to walk through an FDT
node's interrupts=<...> property creating resource list entries with a
single common implementation. This change makes ofw_bus_intr_to_rl() the
one true copy of that code and removes the copies of it from other places.
This also adds handling of the interrupts-extended property, which allows
specifying multiple interrupts for a node where each interrupt can have a
separate interrupt-parent. The bindings for this state that the property
cells contain an xref phandle to the interrupt parent followed by whatever
interrupt info that parent normally expects. This leads to having a
variable number of icells per interrupt in the property. For example you
could have <&intc1 1 &intc2 26 9 0 &intc3 9 4>.
Differential Revision: https://reviews.freebsd.org/D803
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions