mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
hw/arm/armv7m: alias the NVIC "num-prio-bits" property
A SoC will not have a direct access to the NVIC embedded in its ARM core. By aliasing the "num-prio-bits" property similarly to what is done for the "num-irq" one, a SoC can easily configure it on its armv7m instance. Signed-off-by: Samuel Tardieu <sam@rfc1149.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20240106181503.1746200-3-sam@rfc1149.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
d09923ad19
commit
33995902b4
2 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(ARMv7MState, ARMV7M)
|
|||
* a qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET).
|
||||
* + Property "cpu-type": CPU type to instantiate
|
||||
* + Property "num-irq": number of external IRQ lines
|
||||
* + Property "num-prio-bits": number of priority bits in the NVIC
|
||||
* + Property "memory": MemoryRegion defining the physical address space
|
||||
* that CPU accesses see. (The NVIC, bitbanding and other CPU-internal
|
||||
* devices will be automatically layered on top of this view.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue