qemu-e2k/hw/xtensa
Max Filippov d9e8553bc8 hw/xtensa: add virt machine
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>
2019-10-18 20:38:10 -07:00
..
Kconfig hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
Makefile.objs hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
mx_pic.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pic_cpu.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
sim.c hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
virt.c hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtensa_memory.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xtensa_memory.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
xtensa_sim.h hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtfpga.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00