aboutsummaryrefslogtreecommitdiff
path: root/share/examples/kld/firmware/fwimage
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2026-04-16 17:48:46 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2026-04-16 17:50:14 +0000
commit48a05f833c7d0c089d37522cc234039ec823edf4 (patch)
treeab683b446cb0c6a8a87fe424f0b556e737757538 /share/examples/kld/firmware/fwimage
parentfa77fecb0e06ec697e3d7a9ed899e568f1d2090c (diff)
stand/libofw: make OF_hasprop() part of the libraryHEADmain
Currently it is only needed by powerpc ofwfdt.c, and defined statically there. Make it available as part of libofw, mirroring what we have in the kernel. Two small tweaks are made to the implementation: 1. Return type is changed to bool 2. Return 'true' when OF_getproplen() == 0. This matches the expected semantics of the kernel version, described in OF_hasprop(9). Reviewed by: manu, imp, adrian MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56429
Diffstat (limited to 'share/examples/kld/firmware/fwimage')
0 files changed, 0 insertions, 0 deletions