diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-02-20 15:35:55 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-02-28 16:18:49 +0000 |
commit | 3651c28569ba2fa8e959b89681118642162273da (patch) | |
tree | ab7aa0ccf0782e49e420fc792755d9bbf138c1ce /hw/intc/armv7m_nvic.c | |
parent | 1bbe5dc66b770d7bedd1d51d7935da948a510dd6 (diff) |
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/intc/armv7m_nvic.c')
0 files changed, 0 insertions, 0 deletions