diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2025-05-07 10:31:34 +0800 |
|---|---|---|
| committer | Song Gao <gaosong@loongson.cn> | 2025-05-14 15:41:48 +0800 |
| commit | 4f0f2ab5640efe7f27b193f2bf66656890d6143f (patch) | |
| tree | 8fa9878de8799181f501301c73841abd5a0d195c /include/hw/intc/loongarch_pic_common.h | |
| parent | ab9bbee3c7da3d5dcce03bd7379bc7d05243a9af (diff) | |
| download | focaccia-qemu-4f0f2ab5640efe7f27b193f2bf66656890d6143f.tar.gz focaccia-qemu-4f0f2ab5640efe7f27b193f2bf66656890d6143f.zip | |
hw/intc/loongarch_pch: Modify register name PCH_PIC_xxx_OFFSET with PCH_PIC_xxx
Macro PCH_PIC_HTMSI_VEC_OFFSET and PCH_PIC_ROUTE_ENTRY_OFFSET is renamed as PCH_PIC_HTMSI_VEC and PCH_PIC_ROUTE_ENTRY separately, it is easier to understand. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20250507023148.1877287-3-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to '')
| -rw-r--r-- | include/hw/intc/loongarch_pic_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/intc/loongarch_pic_common.h b/include/hw/intc/loongarch_pic_common.h index 8826d15aa7..caf712eae0 100644 --- a/include/hw/intc/loongarch_pic_common.h +++ b/include/hw/intc/loongarch_pic_common.h @@ -19,9 +19,9 @@ #define PCH_PIC_INT_CLEAR 0x80 #define PCH_PIC_AUTO_CTRL0 0xc0 #define PCH_PIC_AUTO_CTRL1 0xe0 -#define PCH_PIC_ROUTE_ENTRY_OFFSET 0x100 +#define PCH_PIC_ROUTE_ENTRY 0x100 #define PCH_PIC_ROUTE_ENTRY_END 0x13f -#define PCH_PIC_HTMSI_VEC_OFFSET 0x200 +#define PCH_PIC_HTMSI_VEC 0x200 #define PCH_PIC_HTMSI_VEC_END 0x23f #define PCH_PIC_INT_STATUS 0x3a0 #define PCH_PIC_INT_POL 0x3e0 |