diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-12-17 19:42:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-12-17 19:42:30 +0000 |
commit | 47b1da8134610c10a672b249808dbc763308668e (patch) | |
tree | cfe9a1664de6e6042cf9a962d0c319361d5d0454 /target-m68k | |
parent | 70a5f682f34c04d13164eb0d55241b7378f02030 (diff) | |
download | qemu-47b1da8134610c10a672b249808dbc763308668e.zip qemu-47b1da8134610c10a672b249808dbc763308668e.tar.gz qemu-47b1da8134610c10a672b249808dbc763308668e.tar.bz2 |
hw/arm/boot: Allow easier swapping in of different loader code
For AArch64 we will obviously require a different set of
primary and secondary boot loader code fragments. However currently
we hardcode the offsets into the loader code where we must write
the entrypoint and other data into arm_load_kernel(). This makes it
hard to substitute a different loader fragment, so switch to a more
flexible scheme where instead of a raw array of instructions we use
an array of (instruction, fixup-type) pairs that indicate which
words need special action or data written into them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1385645602-18662-6-git-send-email-peter.maydell@linaro.org
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Diffstat (limited to 'target-m68k')
0 files changed, 0 insertions, 0 deletions