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>
This commit is contained in:
Bibo Mao 2024-09-20 10:17:06 +08:00
parent 593c6b8684
commit 6f54d92093
2 changed files with 2 additions and 1 deletions

View file

@ -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 */

View file

@ -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;