opnsense-src/sys/dev/ofw
Elliott Mitchell f9bdaab95e ofwbus: remove handling of resources from ofwbus
The architecture nexus should handle allocation and release of memory and
interrupts. This is to ensure that system-wide resources such as these
are available to all devices, not just children of ofwbus0.

On powerpc this moves the ownership of these resources up one level,
from ofwbus0 to nexus0. Other architectures already have the required
logic in their nexus implementation, so this eliminates the duplication
of resources. An implementation of nexus_adjust_resource() is added for
arm, arm64, and riscv.

As noted by ian@ in the review, resource handling was the main bit of
logic distinguishing ofwbus from simplebus. With some attention to
detail, it should be possible to merge the two in the future.

Co-authored by:	mhorne
MFC after:	1 month
Differential Revision: https://reviews.freebsd.org/D30554
2023-02-08 16:50:46 -04:00
..
ofw_bus.h
ofw_bus_if.m
ofw_bus_subr.c ofw: add BUS_GET_DEVICE_PATH interface to openfirm/fdt, somewhat incomplete. 2022-10-18 16:55:47 +09:00
ofw_bus_subr.h ofw: add BUS_GET_DEVICE_PATH interface to openfirm/fdt, somewhat incomplete. 2022-10-18 16:55:47 +09:00
ofw_console.c
ofw_cpu.c ofw: add BUS_GET_DEVICE_PATH interface to openfirm/fdt, somewhat incomplete. 2022-10-18 16:55:47 +09:00
ofw_cpu.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
ofw_disk.c
ofw_fdt.c Add serial-number to hw.fdt sysctl area if found in fdt. 2022-03-03 07:08:32 -06:00
ofw_graph.c
ofw_graph.h
ofw_if.m
ofw_pci.c ofw drivers: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
ofw_pci.h
ofw_pcib.c pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00
ofw_standard.c
ofw_subr.c
ofw_subr.h
ofwbus.c ofwbus: remove handling of resources from ofwbus 2023-02-08 16:50:46 -04:00
ofwpci.h Fix ofw pcib when it rman_init fails 2022-07-04 15:27:00 +01:00
ofwvar.h
openfirm.c Adjust function definition in ofw to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
openfirm.h
openfirmio.c
openfirmio.h