]> Git Repo - qemu.git/blobdiff - hw/intc/armv7m_nvic.c
hw/intc/armv7m_nvic: Allow reading of M-profile MVFR* registers
[qemu.git] / hw / intc / armv7m_nvic.c
index ab822f42514998806582866fcd827d78613dc1a2..45d72f86bdf8c757189856f4cfe2926401b54af3 100644 (file)
@@ -1222,6 +1222,12 @@ static uint32_t nvic_readl(NVICState *s, uint32_t offset, MemTxAttrs attrs)
             return 0;
         }
         return cpu->env.v7m.sfar;
+    case 0xf40: /* MVFR0 */
+        return cpu->isar.mvfr0;
+    case 0xf44: /* MVFR1 */
+        return cpu->isar.mvfr1;
+    case 0xf48: /* MVFR2 */
+        return cpu->isar.mvfr2;
     default:
     bad_offset:
         qemu_log_mask(LOG_GUEST_ERROR, "NVIC: Bad read offset 0x%x\n", offset);
This page took 0.023428 seconds and 4 git commands to generate.