mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-11 21:44:04 +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>
15 lines
237 B
Plaintext
15 lines
237 B
Plaintext
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
|