mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/intc/loongarch_ipi: 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 and can be removed. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn>
This commit is contained in:
parent
ce78dacf7e
commit
14dc02b56a
2 changed files with 10 additions and 5 deletions
|
@ -27,6 +27,8 @@ typedef struct IPICore {
|
|||
/* 64bit buf divide into 2 32-bit buf */
|
||||
uint32_t buf[IPI_MBX_NUM * 2];
|
||||
qemu_irq irq;
|
||||
uint64_t arch_id;
|
||||
CPUState *cpu;
|
||||
} IPICore;
|
||||
|
||||
struct LoongsonIPICommonState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue