summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/acconfig.h
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2012-05-17 04:04:48 +0000
committerkientzle <kientzle@FreeBSD.org>2012-05-17 04:04:48 +0000
commit63ab347efe2621fc79f689a92c4bbda531593626 (patch)
treee7d830bbca6fa6d1014454e4e6863576f04b2787 /contrib/tcpdump/acconfig.h
parentb796f78b0a7d50009f0d55592c47c9f1ec312bc0 (diff)
downloadFreeBSD-src-63ab347efe2621fc79f689a92c4bbda531593626.zip
FreeBSD-src-63ab347efe2621fc79f689a92c4bbda531593626.tar.gz
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).
Diffstat (limited to 'contrib/tcpdump/acconfig.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud