freebsd-dev/sys/powerpc/pseries
Warner Losh ddfc9c4c59 newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these
information functions that translates an sbuf into char * and len. The
current interface suffers issues of what to do in cases of truncation,
etc. Instead, migrate all these functions to using struct sbuf and these
issues go away. The caller is also in charge of any memory allocation
and/or expansion that's needed during this process.

Create a bus_generic_child_{pnpinfo,location} and make it default. It
just returns success. This is for those busses that have no information
for these items. Migrate the now-empty routines to using this as
appropriate.

Document these new interfaces with man pages, and oversight from before.

Reviewed by:		jhb, bcr
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D29937
2021-06-22 20:52:06 -06:00
..
mmu_phyp.c powerpc: fix boot on pseries without hugepages 2021-06-02 16:27:36 -03:00
phyp_console.c [PowerPC64LE] pseries: Fix input buffering logic. 2021-02-25 14:50:13 -06:00
phyp_dbg.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
phyp_llan.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
phyp_vscsi.c [PowerPC64LE] Fix endianness issues in phyp_vscsi. 2020-09-23 00:13:58 +00:00
phyp-hvcall.h powerpc/pseries: Add new hypercall definition, H_REGISTER_PROC_TBL 2021-03-30 21:22:21 -05:00
phyp-hvcall.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
platform_chrp.c [PowerPC64LE] Tell the hypervisor to switch interrupts to LE at CHRP attach. 2020-09-23 00:03:35 +00:00
plpar_iommu.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
plpar_iommu.h powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
plpar_pcibus.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
rtas_dev.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
rtas_pci.c Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
vdevice.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
xics.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00