aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2012-05-17 04:04:48 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2012-05-17 04:04:48 +0000
commitc3a9b90973c6add91710a6a213af772245017d76 (patch)
treee7d830bbca6fa6d1014454e4e6863576f04b2787 /contrib
parente39e854e27f53a784c3982cbeb68f4ad1cfd9162 (diff)
downloadsrc-c3a9b90973c6add91710a6a213af772245017d76.tar.gz
src-c3a9b90973c6add91710a6a213af772245017d76.zip
Access the device tree blob via copyin/copyout.
The code previously assumed that copyin/copyout did no address translation and that the device tree blob could be manipulated in-place (with only a few adjustments for the ELF loader offset). This isn't possible on all platforms, so the revised code uses copyout() to copy the device tree blob into a heap-allocated buffer and then updates the device tree with copyout(). This isn't ideal, since it bloats the loader memory usage, but seems the only feasible approach (short of rewriting all of the fdt manipulation routines).
Notes
Notes: svn path=/head/; revision=235529
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions