summary refs log tree commit diff stats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2016-03-04 11:30:21 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-03-04 11:30:21 +0000
commit04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c (patch)
treecef357793fb382ff6efb6ff9a69b0e087ec7da75 /hw/core/null-machine.c
parente334bd3190f6c4ca12f1d40d316dc471c70009ab (diff)
downloadfocaccia-qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.tar.gz
focaccia-qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.zip
loader: add API to load elf header
Add an API to load an elf header header from a file. Populates a
buffer with the header contents, as well as a boolean for whether the
elf is 64b or not. Both arguments are optional.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: Fix typo in comment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions