mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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:
parent
593c6b8684
commit
6f54d92093
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#include "hw/intc/loongarch_extioi_common.h"
|
#include "hw/intc/loongarch_extioi_common.h"
|
||||||
|
|
||||||
|
#define LoongArchExtIOI LoongArchExtIOICommonState
|
||||||
#define TYPE_LOONGARCH_EXTIOI "loongarch.extioi"
|
#define TYPE_LOONGARCH_EXTIOI "loongarch.extioi"
|
||||||
OBJECT_DECLARE_SIMPLE_TYPE(LoongArchExtIOI, LOONGARCH_EXTIOI)
|
OBJECT_DECLARE_SIMPLE_TYPE(LoongArchExtIOI, LOONGARCH_EXTIOI)
|
||||||
#endif /* LOONGARCH_EXTIOI_H */
|
#endif /* LOONGARCH_EXTIOI_H */
|
||||||
|
|
|
@ -62,7 +62,7 @@ typedef struct ExtIOICore {
|
||||||
qemu_irq parent_irq[LS3A_INTC_IP];
|
qemu_irq parent_irq[LS3A_INTC_IP];
|
||||||
} ExtIOICore;
|
} ExtIOICore;
|
||||||
|
|
||||||
struct LoongArchExtIOI {
|
struct LoongArchExtIOICommonState {
|
||||||
SysBusDevice parent_obj;
|
SysBusDevice parent_obj;
|
||||||
uint32_t num_cpu;
|
uint32_t num_cpu;
|
||||||
uint32_t features;
|
uint32_t features;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue