]> xenbits.xensource.com Git - osstest/seabios.git/commit
virtio-mmio: device probing and initialization.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 6 Mar 2020 13:34:18 +0000 (14:34 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 15 May 2020 11:34:29 +0000 (13:34 +0200)
commit69f65a4e8967a72076f39d9dfce1da0dc9aedfc1
treee55cb251adf4d0a0850e42196da54ddbe5eabe63
parent51c6fc699e5a42343ff1f2884f67fee1ae12eac8
virtio-mmio: device probing and initialization.

Add virtio_mmio_setup_one() to setup virtio mmio devices.  Add
vp_init_mmio() to initialize device struct.  Because virtio-pci and
virtio-mmio are quite simliar we reuse the infrastructure we already
have for virtio-pci and just setup struct vp_cap for virtio-mmio.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Makefile
src/hw/virtio-mmio.c [new file with mode: 0644]
src/hw/virtio-mmio.h [new file with mode: 0644]
src/hw/virtio-pci.h