Hi,
This series adds virtio-mmio support and an acpi dsdt parser (for device discovery) to seabios. This series with some additional debug patches on top can also be found at https://git.kraxel.org/cgit/seabios/log/?h=microvm
Gerd Hoffmann (9): virtio-mmio: device registry virtio-mmio: device probing and initialization. virtio-mmio: add support to vp_*() functions virtio-mmio: add support for scsi devices. virtio-mmio: add support for block devices. acpi: add xsdt support acpi: add dsdt parser acpi: skip kbd init if not present acpi: find and register virtio-mmio devices
Makefile | 2 +- src/hw/virtio-blk.h | 1 + src/hw/virtio-mmio.h | 78 +++++ src/hw/virtio-pci.h | 1 + src/hw/virtio-scsi.h | 1 + src/std/acpi.h | 11 + src/util.h | 13 + src/block.c | 2 + src/boot.c | 19 ++ src/fw/biostables.c | 662 ++++++++++++++++++++++++++++++++++++++++++- src/hw/ps2port.c | 4 + src/hw/virtio-blk.c | 71 +++++ src/hw/virtio-mmio.c | 101 +++++++ src/hw/virtio-pci.c | 68 ++++- src/hw/virtio-scsi.c | 73 ++++- src/post.c | 4 + src/Kconfig | 7 + 17 files changed, 1085 insertions(+), 33 deletions(-) create mode 100644 src/hw/virtio-mmio.h create mode 100644 src/hw/virtio-mmio.c