nvic: Make systick banked
commit27f26bfed923e4c68a1acb61fdafcd0bc63abf71
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:26 +0000 (13 17:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:26 +0000 (13 17:59 +0000)
tree05be76a5b4e690150944982c8f64af29b0cd426a
parent62f018482c18c2f1a70f000a0bb361dd6d89aef4
nvic: Make systick banked

For the v8M security extension, there should be two systick
devices, which use separate banked systick exceptions. The
register interface is banked in the same way as for other
banked registers, including the existence of an NS alias
region for secure code to access the nonsecure timer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1512154296-5652-3-git-send-email-peter.maydell@linaro.org
hw/intc/armv7m_nvic.c
include/hw/intc/armv7m_nvic.h