Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / armv7m_ras.h
blobba6daccf3fc8dc6568ed6a0cb8d0c27c6e97424b
1 /*
2 * Arm M-profile RAS (Reliability, Availability and Serviceability) block
4 * Copyright (c) 2021 Linaro Limited
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 or
8 * (at your option) any later version.
9 */
12 * This is a model of the RAS register block of an M-profile CPU
13 * (the registers starting at 0xE0005000 with ERRFRn).
15 * QEMU interface:
16 * + sysbus MMIO region 0: the register bank
18 * The QEMU implementation currently provides "minimal RAS" only.
21 #ifndef HW_MISC_ARMV7M_RAS_H
22 #define HW_MISC_ARMV7M_RAS_H
24 #include "hw/sysbus.h"
26 #define TYPE_ARMV7M_RAS "armv7m-ras"
27 OBJECT_DECLARE_SIMPLE_TYPE(ARMv7MRAS, ARMV7M_RAS)
29 struct ARMv7MRAS {
30 /*< private >*/
31 SysBusDevice parent_obj;
33 /*< public >*/
34 MemoryRegion iomem;
37 #endif