ofw: add BUS_GET_DEVICE_PATH interface to openfirm/fdt, somewhat incomplete.
This add BUS_GET_DEVICE_PATH interface, which shows device tree of openfirm/fdt. In qemu-system-arm64 with "virt" machine with device-tree firmware, % devctl getpath OFW cpu0 Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D37031
This commit is contained in:
@@ -90,6 +90,7 @@ static device_method_t gic_fdt_methods[] = {
|
||||
|
||||
/* Bus interface */
|
||||
DEVMETHOD(bus_get_resource_list,gic_fdt_get_resource_list),
|
||||
DEVMETHOD(bus_get_device_path, ofw_bus_gen_get_device_path),
|
||||
|
||||
/* ofw_bus interface */
|
||||
DEVMETHOD(ofw_bus_get_devinfo, gic_ofw_get_devinfo),
|
||||
|
||||
Reference in New Issue
Block a user