freebsd-dev/sys/dev/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_bus_if.m Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
ofw_bus_subr.c Teach ofw_bus_parse_xref_list_alloc to be able to return the length of the parsed list. 2016-02-09 03:35:40 +00:00
ofw_bus_subr.h Teach ofw_bus_parse_xref_list_alloc to be able to return the length of the parsed list. 2016-02-09 03:35:40 +00:00
ofw_bus.h Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
ofw_console.c Use callout(9) instead of timeout(9). 2014-09-02 18:57:19 +00:00
ofw_cpu.c Limit ofw_cpu_early_foreach() to CPUs only 2015-07-28 13:16:08 +00:00
ofw_cpu.h Adda function to iterate over the cpu nodes in the OFW or FDT data. This 2015-02-19 16:34:48 +00:00
ofw_disk.c
ofw_fdt.c Remove fdt_fixup_table from architectures where it's unneeded. We only make 2016-01-21 16:48:01 +00:00
ofw_if.m
ofw_iicbus.c OFW_IICBUS: Register ofw_iicbus node. 2015-12-13 08:23:45 +00:00
ofw_pci.h
ofw_standard.c
ofw_subr.c Fix the value we print when the size is too large. While here fix the types 2016-01-27 17:47:07 +00:00
ofw_subr.h Implement OF_decode_addr() for arm. Move most of powerpc's implementation 2015-12-21 18:07:32 +00:00
ofwbus.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
ofwvar.h
openfirm.c Do not destroy input buffer of the OF_getencprop() function on error 2016-01-25 14:42:44 +00:00
openfirm.h Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
openfirmio.c
openfirmio.h
openpromio.c
openpromio.h