mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
d9e8553bc8
virt machine is a sim machine with generic PCI host controller. Make common parts of sim machine initialization reusable. Add PCI controller at 0xf0000000 with PIO space at its base address, ECAM space at base address + 1M and MMIO space at base address + 64M. Connect IRQ lines to consecutive CPU external IRQ pins starting from 0. Instantiate network interfaces on virt machine. Xtensa linux kernel configuration virt_defconfig can successfully boot on this machine. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
14 lines
237 B
Text
14 lines
237 B
Text
config XTENSA_SIM
|
|
bool
|
|
|
|
config XTENSA_VIRT
|
|
bool
|
|
select XTENSA_SIM
|
|
select PCI_EXPRESS_GENERIC_BRIDGE
|
|
select PCI_DEVICES
|
|
|
|
config XTENSA_XTFPGA
|
|
bool
|
|
select OPENCORES_ETH
|
|
select PFLASH_CFI01
|
|
select SERIAL
|