mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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
This commit is contained in:
parent
46f4976f22
commit
6ba430b58a
2 changed files with 57 additions and 0 deletions
|
@ -83,6 +83,7 @@ struct NVICState {
|
|||
MemoryRegion sysreg_ns_mem;
|
||||
MemoryRegion systickmem;
|
||||
MemoryRegion systick_ns_mem;
|
||||
MemoryRegion ras_mem;
|
||||
MemoryRegion container;
|
||||
MemoryRegion defaultmem;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue