mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
aspeed: Remove usage of sysbus_mmio_map
sysbus_mmio_map maps devices into "get_system_memory()". With the new SoC memory attribute, we want to make sure that each device is mapped into the SoC memory. In single SoC machines, the SoC memory is the same as "get_system_memory()", but in multi SoC machines it will be different. Signed-off-by: Peter Delevoryas <pdel@fb.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220624003701.1363500-4-pdel@fb.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
4dd9d55416
commit
5bfcbda70d
4 changed files with 69 additions and 55 deletions
|
@ -168,5 +168,6 @@ enum {
|
|||
qemu_irq aspeed_soc_get_irq(AspeedSoCState *s, int dev);
|
||||
void aspeed_soc_uart_init(AspeedSoCState *s);
|
||||
bool aspeed_soc_dram_init(AspeedSoCState *s, Error **errp);
|
||||
void aspeed_mmio_map(AspeedSoCState *s, SysBusDevice *dev, int n, hwaddr addr);
|
||||
|
||||
#endif /* ASPEED_SOC_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue