mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/intc/loongarch_extioi: Get cpu number from possible_cpu_arch_ids
Supported CPU number can be acquired from function possible_cpu_arch_ids(), cpu-num property is not necessary. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn>
This commit is contained in:
parent
38adceb4c3
commit
5a3e068d41
3 changed files with 17 additions and 8 deletions
|
@ -65,6 +65,8 @@ typedef struct ExtIOICore {
|
|||
uint32_t coreisr[EXTIOI_IRQS_GROUP_COUNT];
|
||||
DECLARE_BITMAP(sw_isr[LS3A_INTC_IP], EXTIOI_IRQS);
|
||||
qemu_irq parent_irq[LS3A_INTC_IP];
|
||||
uint64_t arch_id;
|
||||
CPUState *cpu;
|
||||
} ExtIOICore;
|
||||
|
||||
struct LoongArchExtIOICommonState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue