]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/armv7m: alias the NVIC "num-prio-bits" property
authorSamuel Tardieu <sam@rfc1149.net>
Sat, 6 Jan 2024 18:15:02 +0000 (19:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:42:40 +0000 (14:42 +0000)
commit33995902b462cf1c4ba1177ee758713dd8d4ec0d
tree8d28d6499fdc4247db5f6897ed89020cda04e87e
parentd09923ad19fc3d653693ee81f1742fb8d29c5730
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>
hw/arm/armv7m.c
include/hw/arm/armv7m.h