mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/arm: Define init-svtor property for the reset secure VTOR value
The Cortex-M33 allows the system to specify the reset value of the secure Vector Table Offset Register (VTOR) by asserting config signals. In particular, guest images for the MPS2 AN505 board rely on the MPS2's initial VTOR being correct for that board. Implement a QEMU property so board and SoC code can set the reset value to the correct value. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20180220180325.29818-7-peter.maydell@linaro.org
This commit is contained in:
parent
c60c1b0d5a
commit
38e2a77c9d
2 changed files with 17 additions and 4 deletions
|
@ -731,6 +731,9 @@ struct ARMCPU {
|
|||
*/
|
||||
uint32_t psci_conduit;
|
||||
|
||||
/* For v8M, initial value of the Secure VTOR */
|
||||
uint32_t init_svtor;
|
||||
|
||||
/* [QEMU_]KVM_ARM_TARGET_* constant for this CPU, or
|
||||
* QEMU_KVM_ARM_TARGET_NONE if the kernel doesn't support this CPU type.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue