summaryrefslogtreecommitdiffstats
path: root/hw/intc/apic.c
diff options
context:
space:
mode:
authorPeter Maydell2022-05-12 17:14:54 +0200
committerPeter Maydell2022-05-19 17:19:02 +0200
commit9774c0f7ba6ae2980a291cb53a13661ddaa2f5de (patch)
treeabb320a2d1e358d14ef40bfad30036dc7283e821 /hw/intc/apic.c
parenthw/intc/arm_gicv3: report correct PRIbits field in ICV_CTLR_EL1 (diff)
downloadqemu-9774c0f7ba6ae2980a291cb53a13661ddaa2f5de.tar.gz
qemu-9774c0f7ba6ae2980a291cb53a13661ddaa2f5de.tar.xz
qemu-9774c0f7ba6ae2980a291cb53a13661ddaa2f5de.zip
hw/intc/arm_gicv3_kvm.c: Stop using GIC_MIN_BPR constant
The GIC_MIN_BPR constant defines the minimum BPR value that the TCG emulated GICv3 supports. We're currently using this also as the value we reset the KVM GICv3 ICC_BPR registers to, but this is only right by accident. We want to make the emulated GICv3 use a configurable number of priority bits, which means that GIC_MIN_BPR will no longer be a constant. Replace the uses in the KVM reset code with literal 0, plus a constant explaining why this is reasonable. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220512151457.3899052-4-peter.maydell@linaro.org Message-id: 20220506162129.2896966-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions