]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r256932, r256938, r256966, r256953, r256967, r256969, r257015:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 May 2014 17:59:17 +0000 (17:59 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 May 2014 17:59:17 +0000 (17:59 +0000)
commit7f6477c16048e8facf8292772d116bc6191ce547
tree5f86e09bcec8a3f59d0156b121390c9d34132344
parent7df48f03a0f798787a08fc3d93cf89a11886a324
MFC r256932, r256938, r256966, r256953, r256967, r256969, r257015:

  Add a new function (OF_getencprop()) that undoes the transformation applied
  by encode-int. Specifically, it takes a set of 32-bit cell values and
  changes them to host byte order. Most non-string instances of OF_getprop()
  should be using this function, which is a no-op on big-endian platforms.

  Use the new function all over the place.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265967 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/mv/gpio.c
sys/dev/fdt/fdt_common.c
sys/dev/fdt/fdt_pci.c
sys/dev/fdt/simplebus.c
sys/dev/ofw/ofw_bus_subr.c
sys/dev/ofw/ofw_console.c
sys/dev/ofw/ofw_fdt.c
sys/dev/ofw/ofw_iicbus.c
sys/dev/ofw/openfirm.c
sys/powerpc/powerpc/nexus.c