freebsd-dev/sys/powerpc/ofw
Nathan Whitehorn f214848258 Add two new interfaces to ofw_bus:
- ofw_bus_map_intr()
  Maps an (iparent, IRQ) tuple to a system-global interrupt number in some
  platform dependent way. This is meant to be implemented as a replacement
  for [FDT_]MAP_IRQ() that is an MI interface that knows about the bus
  hierarchy.
- ofw_bus_config_intr()
  Configures an interrupt (previously mapped) based on firmware sense flags.
  This replaces manual interpretation of the sense field in bus drivers and
  will, in a follow-up, allow that interpretation to be redirected to the PIC
  drivers where it belongs. This will eventually replace the tables in
  /sys/dev/fdt/fdt_ARCH.c

The PowerPC/AIM code has been converted to use these globally, with an
implementation in terms of MAP_IRQ() and powerpc_config_intr(), assuming
OpenPIC, at the bus root in nexus(4). The ofw_bus_config_intr() will shortly
be integrated into pic_if.m and bounced through nexus into the PIC tree.

FDT integration will happen significantly later due to larger testing
requirements. This patch in general also lays the groundwork for the removal
of /sys/dev/fdt/fdt_ARCH.c and machine/fdt.h.
2013-10-23 17:24:21 +00:00
..
ofw_cpu.c Fix error in r252115: space for the softc needs to be allocated. This 2013-09-07 20:52:31 +00:00
ofw_machdep.c Rework handling of ofw_quiesce(), making it the responsibility of the 2013-09-27 13:12:47 +00:00
ofw_pci.c Add two new interfaces to ofw_bus: 2013-10-23 17:24:21 +00:00
ofw_pci.h Provide an interface for PCI bus drivers that need some of ofw_pci's 2013-10-21 13:57:34 +00:00
ofw_pcib_pci.c Add two new interfaces to ofw_bus: 2013-10-23 17:24:21 +00:00
ofw_pcibus.c Add two new interfaces to ofw_bus: 2013-10-23 17:24:21 +00:00
ofw_real.c Increase the size of the OFW bounce buffer to 4 pages. With this I can now run 2013-07-24 02:01:01 +00:00
ofw_syscons.c Allow Open Firmware syscons to attach to devices without an "address" 2013-09-26 22:47:02 +00:00
ofw_syscons.h Allow Open Firmware syscons to attach to devices without an "address" 2013-09-26 22:47:02 +00:00
ofwcall32.S Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) 2011-06-23 22:21:28 +00:00
ofwcall64.S This commit adds profiling support for powerpc64. Now we can do application 2012-01-20 22:34:19 +00:00
ofwmagic.S MFpseries: 2011-06-02 14:12:37 +00:00
openpic_ofw.c Standards-conformance and code deduplication: 2013-10-22 14:07:57 +00:00
rtas.c Use a spin lock instead of a mutex to gate RTAS. This is required if RTAS 2013-09-09 12:45:41 +00:00