mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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
This commit is contained in:
parent
b26b5629c0
commit
7cda214952
4 changed files with 21 additions and 0 deletions
|
@ -46,6 +46,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(ARMv7MState, ARMV7M)
|
|||
* devices will be automatically layered on top of this view.)
|
||||
* + Property "idau": IDAU interface (forwarded to CPU object)
|
||||
* + Property "init-svtor": secure VTOR reset value (forwarded to CPU object)
|
||||
* + Property "init-nsvtor": non-secure VTOR reset value (forwarded to CPU object)
|
||||
* + Property "vfp": enable VFP (forwarded to CPU object)
|
||||
* + Property "dsp": enable DSP (forwarded to CPU object)
|
||||
* + Property "enable-bitband": expose bitbanded IO
|
||||
|
@ -69,6 +70,7 @@ struct ARMv7MState {
|
|||
MemoryRegion *board_memory;
|
||||
Object *idau;
|
||||
uint32_t init_svtor;
|
||||
uint32_t init_nsvtor;
|
||||
bool enable_bitband;
|
||||
bool start_powered_off;
|
||||
bool vfp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue