diff options
author | Peter Crosthwaite | 2016-03-04 12:30:21 +0100 |
---|---|---|
committer | Peter Maydell | 2016-03-04 12:30:21 +0100 |
commit | 04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c (patch) | |
tree | cef357793fb382ff6efb6ff9a69b0e087ec7da75 /hw/openrisc/openrisc_sim.c | |
parent | target-arm: implement BE32 mode in system emulation (diff) | |
download | qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.tar.gz qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.tar.xz 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/openrisc/openrisc_sim.c')
0 files changed, 0 insertions, 0 deletions