freebsd-dev/sys/powerpc
Oleksandr Tymoshenko f7604b1b27 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc
Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number of elements
allocated.

For the use cases where number of elements is preferred introduce
OF_getencprop_alloc_multi helper function that copies semantics
of OF_getencprop_alloc prior to this change.

This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi
function signatures consistent with OF_getencprop_alloc and
OF_getencprop_alloc_multi.

Functionality-wise this patch is mostly rename of OF_getencprop_alloc
to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo
where 1 was used as a block size.
2018-04-09 22:06:16 +00:00
..
aim Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
booke Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
conf PowerNV: Initial support for OPAL I2C transfers 2018-03-01 14:11:07 +00:00
cpufreq [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
fpu sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
include Fix typo 2018-04-08 19:33:05 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
ofw powerpc/ofw: Fix malloc inside lock 2018-04-08 16:43:56 +00:00
powermac Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
powernv Reverting r330925 for now 2018-03-15 06:19:45 +00:00
powerpc Powerpc64: Add the facility unavailable trap subsystem 2018-04-08 19:11:25 +00:00
ps3 Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
pseries [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
psim Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00