summaryrefslogtreecommitdiffstats
path: root/hw/openrisc/openrisc_sim.c
diff options
context:
space:
mode:
authorPeter Crosthwaite2016-03-04 12:30:21 +0100
committerPeter Maydell2016-03-04 12:30:21 +0100
commit04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c (patch)
treecef357793fb382ff6efb6ff9a69b0e087ec7da75 /hw/openrisc/openrisc_sim.c
parenttarget-arm: implement BE32 mode in system emulation (diff)
downloadqemu-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