diff options
author | Peter Maydell | 2017-02-20 16:35:55 +0100 |
---|---|---|
committer | Peter Maydell | 2017-02-28 17:18:49 +0100 |
commit | 3651c28569ba2fa8e959b89681118642162273da (patch) | |
tree | ab7aa0ccf0782e49e420fc792755d9bbf138c1ce /hw/timer/sh_timer.c | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170228'... (diff) | |
download | qemu-3651c28569ba2fa8e959b89681118642162273da.tar.gz qemu-3651c28569ba2fa8e959b89681118642162273da.tar.xz qemu-3651c28569ba2fa8e959b89681118642162273da.zip |
armv7m: Abstract out the "load kernel" code
Abstract the "load kernel" code out of armv7m_init() into its own
function. This includes the registration of the CPU reset function,
to parallel how we handle this for A profile cores.
We make the function public so that boards which choose to
directly instantiate an ARMv7M device object can call it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1487604965-23220-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/sh_timer.c')
0 files changed, 0 insertions, 0 deletions