target/arm: Allow board models to specify initial NS VTOR
commit7cda2149521f25b7caedd464f2e35104d9990315
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 May 2021 15:28:40 +0000 (20 16:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 15:43:25 +0000 (3 16:43 +0100)
treecdf53b94448eedcef37c0d842135a109c925cdb4
parentb26b5629c0be4a9539833de4189184a224590d14
target/arm: Allow board models to specify initial NS VTOR

Currently we allow board models to specify the initial value of the
Secure VTOR register, using an init-svtor property on the TYPE_ARMV7M
object which is plumbed through to the CPU.  Allow board models to
also specify the initial value of the Non-secure VTOR via a similar
init-nsvtor property.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210520152840.24453-10-peter.maydell@linaro.org
hw/arm/armv7m.c
include/hw/arm/armv7m.h
target/arm/cpu.c
target/arm/cpu.h