CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/05/28 12:42:29
Modified files:
sys/dev/ofw : fdt.c openfirm.h
Log message:
Introduce new FDT functions OF_getpropstr() and OF_freepropstr().
OF_getpropstr() is a clone of OF_getprop(), designed for retrieving
strings, and differs as following:
- Do dynamic allocation of the destination buffer using malloc().
- Guarantee a NUL termination of the returned string.
A deraadt@ and kettenis@ collaboration.
ok kettenis@
