diff options
author | Bibo Mao <maobibo@loongson.cn> | 2024-09-20 10:17:06 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2024-12-19 15:23:29 +0800 |
commit | 6f54d920935826a3ce47ba64605b3ccd20d9c0f1 (patch) | |
tree | f421c0f3305580f235291a0a86e53cdfa9611029 | |
parent | 593c6b868450603a3295892d8d65b1eba4ea211d (diff) | |
download | qemu-6f54d920935826a3ce47ba64605b3ccd20d9c0f1.zip qemu-6f54d920935826a3ce47ba64605b3ccd20d9c0f1.tar.gz qemu-6f54d920935826a3ce47ba64605b3ccd20d9c0f1.tar.bz2 |
include: Rename LoongArchExtIOI with LoongArchExtIOICommonState
Rename structure LoongArchExtIOI with LoongArchExtIOICommonState,
since it is defined in file loongarch_extioi_common.h
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
-rw-r--r-- | include/hw/intc/loongarch_extioi.h | 1 | ||||
-rw-r--r-- | include/hw/intc/loongarch_extioi_common.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/intc/loongarch_extioi.h b/include/hw/intc/loongarch_extioi.h index 64924f5..d674704 100644 --- a/include/hw/intc/loongarch_extioi.h +++ b/include/hw/intc/loongarch_extioi.h @@ -10,6 +10,7 @@ #include "hw/intc/loongarch_extioi_common.h" +#define LoongArchExtIOI LoongArchExtIOICommonState #define TYPE_LOONGARCH_EXTIOI "loongarch.extioi" OBJECT_DECLARE_SIMPLE_TYPE(LoongArchExtIOI, LOONGARCH_EXTIOI) #endif /* LOONGARCH_EXTIOI_H */ diff --git a/include/hw/intc/loongarch_extioi_common.h b/include/hw/intc/loongarch_extioi_common.h index 1eb8780..51243b8 100644 --- a/include/hw/intc/loongarch_extioi_common.h +++ b/include/hw/intc/loongarch_extioi_common.h @@ -62,7 +62,7 @@ typedef struct ExtIOICore { qemu_irq parent_irq[LS3A_INTC_IP]; } ExtIOICore; -struct LoongArchExtIOI { +struct LoongArchExtIOICommonState { SysBusDevice parent_obj; uint32_t num_cpu; uint32_t features; |