aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-03-09 08:05:21 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-05-15 13:37:07 +0200
commitc12a1dc75eeea19c9b0f6375bb74b0afcf6be817 (patch)
treeb8fa78ec673255d7122b63457c9d0ae41c8e1f77 /src/util.h
parentf82e82a5ab2366e1f4299e53ec95584f39d57dc8 (diff)
downloadseabios-c12a1dc75eeea19c9b0f6375bb74b0afcf6be817.tar.gz
virtio-mmio: add support for block devices.
Add and use bootprio_find_mmio_device() to figure the boot priority of virtio-mmio block devices. Add init_virtio_blk_mmio to initialize one virtio-mmio block device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 1c82e09e..4f27fc30 100644
--- a/src/util.h
+++ b/src/util.h
@@ -30,6 +30,7 @@ void bcv_prepboot(void);
u8 is_bootprio_strict(void);
struct pci_device;
int bootprio_find_pci_device(struct pci_device *pci);
+int bootprio_find_mmio_device(void *mmio);
int bootprio_find_scsi_device(struct pci_device *pci, int target, int lun);
int bootprio_find_scsi_mmio_device(void *mmio, int target, int lun);
int bootprio_find_ata_device(struct pci_device *pci, int chanid, int slave);