]> git.proxmox.com Git - mirror_qemu.git/commit
hw/xtensa: add virt machine
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 10 Sep 2018 23:33:24 +0000 (16:33 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 19 Oct 2019 03:38:10 +0000 (20:38 -0700)
commitd9e8553bc8821d72cb72ca95f76b2d8ff6eb628a
treea9ef8ffa913eb3851dd8a8ee8c485015cc1377bb
parentd5eaec84e592bb0085f84bef54d0a41e31faa99a
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>
MAINTAINERS
default-configs/xtensa-softmmu.mak
hw/xtensa/Kconfig
hw/xtensa/Makefile.objs
hw/xtensa/sim.c
hw/xtensa/virt.c [new file with mode: 0644]
hw/xtensa/xtensa_sim.h [new file with mode: 0644]