mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
hw/loongarch/virt: Modify ipi as percpu device
ipi is used to communicate between cpus, this patch modified loongarch ipi device as percpu device, so that there are 2 MemoryRegions with ipi device, rather than 2*cpus MemoryRegions, which may be large than QDEV_MAX_MMIO if more cpus are added on loongarch virt machine. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230512100421.1867848-2-gaosong@loongson.cn>
This commit is contained in:
parent
7318c62215
commit
78464f023b
4 changed files with 26 additions and 41 deletions
|
@ -36,7 +36,6 @@ struct LoongArchMachineState {
|
|||
/*< private >*/
|
||||
MachineState parent_obj;
|
||||
|
||||
IPICore ipi_core[MAX_IPI_CORE_NUM];
|
||||
MemoryRegion lowmem;
|
||||
MemoryRegion highmem;
|
||||
MemoryRegion isa_io;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue