dtc/tests
David Gibson a6c76f923d libfdt: More thorough use of constification
As a read-only functions, which take a const pointer to the fdt, treat
fdt_get_property() and fdt_getprop() as returning const pointers to
within the blob.  fdt_get_property_w() and fdt_getprop_w() versions
are supplied which take a non-const fdt pointer and return a non-const
pointer for the benefit of callers wishing to alter the device tree
contents.

Likewise the lower-level fdt_offset_ptr() and _fdt_offset_ptr()
functions are changed to return const pointers, with *_w() versions
supplied.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-06-13 14:18:10 +10:00
..
.gitignore libfdt: Add dtb files to .gitignore 2006-12-04 11:17:32 +11:00
del_node.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
del_property.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
dumptrees.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
find_property.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
getprop.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
Makefile libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
move_and_save.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
nop_node.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
nop_property.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
notfound.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
open_pack.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
path_offset.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
root_node.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
run_tests.sh libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
rw_tree1.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
setprop.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
setprop_inplace.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
subnode_offset.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
sw_tree1.c libfdt: Remove #includes from fdt.h 2007-03-23 15:16:54 +11:00
testdata.h libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
tests.h libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
testutils.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00
trees.S libfdt: Use correct property format 2007-02-23 14:40:14 +11:00
truncated_property.c libfdt: More thorough use of constification 2007-06-13 14:18:10 +10:00