aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2025-07-04 16:19:26 +0200
committerPeter Maydell <peter.maydell@linaro.org>2025-07-10 09:13:03 +0100
commitf73632932bf19788dfd0ff406c2a8fe98e827c14 (patch)
tree8fef4f740d198158a424bf6520a036e665bb52b6 /hw/intc
parente61aa4a5ffb5e849a25454c3f5fa1ae1b036bb29 (diff)
downloadqemu-f73632932bf19788dfd0ff406c2a8fe98e827c14.zip
qemu-f73632932bf19788dfd0ff406c2a8fe98e827c14.tar.gz
qemu-f73632932bf19788dfd0ff406c2a8fe98e827c14.tar.bz2
arm/cpu: store clidr into the idregs array
Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-id: 20250704141927.38963-5-cohuck@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/armv7m_nvic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/armv7m_nvic.c b/hw/intc/armv7m_nvic.c
index d93e593..7c78961 100644
--- a/hw/intc/armv7m_nvic.c
+++ b/hw/intc/armv7m_nvic.c
@@ -1331,7 +1331,7 @@ static uint32_t nvic_readl(NVICState *s, uint32_t offset, MemTxAttrs attrs)
}
return GET_IDREG(&cpu->isar, ID_ISAR5);
case 0xd78: /* CLIDR */
- return cpu->clidr;
+ return GET_IDREG(&cpu->isar, CLIDR);
case 0xd7c: /* CTR */
return cpu->ctr;
case 0xd80: /* CSSIDR */