diff options
| author | Peter Maydell | 2020-11-19 22:56:15 +0100 |
|---|---|---|
| committer | Peter Maydell | 2020-12-10 12:44:56 +0100 |
| commit | 6ba430b58abfdbe03cbdbad6188c7d0384fffbea (patch) | |
| tree | 370f166b406bf7c730369eccc2a04dfdab97ce7f /include/hw | |
| parent | target/arm: Implement M-profile "minimal RAS implementation" (diff) | |
| download | qemu-6ba430b58abfdbe03cbdbad6188c7d0384fffbea.tar.gz qemu-6ba430b58abfdbe03cbdbad6188c7d0384fffbea.tar.xz qemu-6ba430b58abfdbe03cbdbad6188c7d0384fffbea.zip | |
hw/intc/armv7m_nvic: Implement read/write for RAS register block
The RAS feature has a block of memory-mapped registers at offset
0x5000 within the PPB. For a "minimal RAS" implementation we provide
no error records and so the only registers that exist in the block
are ERRIIDR and ERRDEVID.
The "RAZ/WI for privileged, BusFault for nonprivileged" behaviour
of the "nvic-default" region is actually valid for minimal-RAS,
so the main benefit of providing an explicit implementation of
the register block is more accurate LOG_UNIMP messages, and a
framework for where we could add a real RAS implementation later
if necessary.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20201119215617.29887-27-peter.maydell@linaro.org
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/intc/armv7m_nvic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/intc/armv7m_nvic.h b/include/hw/intc/armv7m_nvic.h index 33b6d8810c..39c71e1593 100644 --- a/include/hw/intc/armv7m_nvic.h +++ b/include/hw/intc/armv7m_nvic.h @@ -83,6 +83,7 @@ struct NVICState { MemoryRegion sysreg_ns_mem; MemoryRegion systickmem; MemoryRegion systick_ns_mem; + MemoryRegion ras_mem; MemoryRegion container; MemoryRegion defaultmem; |
