freebsd-dev/stand/libofw
Warner Losh 33bbe5ddcb stand: parsedev API change: devspec now points to start of full device name
To support more flexible device matching, we now pass in the full
devspec to the parsedev routines. For everything execpt uboot, this is
just a drop in (since everything except uboot and openfirmware always
uses disk...: and/or zfs:, but openfirmware isn't really affected).

uboot we kludge around it by subtracting 4 from where the rest of the
device name starts. This is unforunate, and can compute the address one
before the string. But we never dereference that address. uboot needs
more work, and this is an acceptable UB until that other work happens.

OFW doesn't really use the parsedev routines these days (since none of
the supported device uses this... yet). It too needs more work, but it
needs device matching support first.

Sponsored by:		Netflix
Reviewed by:		delphij
Differential Revision:	https://reviews.freebsd.org/D37553
2022-11-30 15:30:33 -07:00
..
devicename.c stand: parsedev API change: devspec now points to start of full device name 2022-11-30 15:30:33 -07:00
libofw.h stand/ofw: ofw_disk isn't really a disk 2022-11-30 15:30:33 -07:00
Makefile zfs: Remove devicename_stubs 2022-11-30 15:30:32 -07:00
ofw_console.c
ofw_copy.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
ofw_disk.c stand/ofw: ofw_disk isn't really a disk 2022-11-30 15:30:33 -07:00
ofw_memory.c Fix 64-bit build of libofw. 2020-09-08 23:22:11 +00:00
ofw_module.c
ofw_net.c ofw_net: Use c99 initializers 2022-11-29 14:49:06 -07:00
ofw_reboot.c
ofw_time.c
openfirm.c ofw: Cast function pointer to proper type 2022-11-27 13:23:28 -07:00
openfirm.h powerpc64le: stand fixes 2021-10-20 15:48:33 -03:00