freebsd-dev/sys/powerpc/ofw
Andrew Turner 45fd186285 Allow callers of OF_decode_addr to get the size of the found mapping. This
will allow for code that uses the old fdt_get_range and fdt_regsize
functions to find a range, map it, access, then unmap to replace this, up
to and including the map, with a call to OF_decode_addr.

As this function should only be used in the early boot code the unmap is
mostly do document we no longer need the mapping as it's a no-op, at least
on arm.

Reviewed by:	jhibbits
Sponsored by:	ABT Systems Ltd
Differential Revision:	https://reviews.freebsd.org/D5258
2016-02-16 15:18:12 +00:00
..
ofw_machdep.c Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
ofw_pci.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
ofw_pci.h Move RTAS PCI-specific interpretation of the "reg" property of the PCI host 2016-01-18 17:27:16 +00:00
ofw_pcib_pci.c Open Firmware interrupt specifiers can consist of arbitrary-length byte 2014-02-01 17:17:35 +00:00
ofw_pcibus.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
ofw_pcibus.h Following the approach with ACPI DMAR on x86, split IOMMU handling into 2013-11-12 16:15:09 +00:00
ofw_real.c Correct the order of arguments to mtx_init(). 2014-02-14 11:18:15 +00:00
ofw_syscons.c Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
ofw_syscons.h Allow Open Firmware syscons to attach to devices without an "address" 2013-09-26 22:47:02 +00:00
ofwcall32.S Make 32-bit PowerPC kernels, like 64-bit PowerPC kernels, position-independent 2015-03-07 20:14:46 +00:00
ofwcall64.S Use TOC to look up all kernel globals on powerpc64 instead of doing the 2015-01-18 20:00:33 +00:00
ofwmagic.S
openpic_ofw.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
rtas.c Use setjmp() instead of the identical-except-for-having-a-wrong-prototype 2016-01-10 16:42:14 +00:00