diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-09 08:05:21 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-15 13:37:07 +0200 |
commit | c12a1dc75eeea19c9b0f6375bb74b0afcf6be817 (patch) | |
tree | b8fa78ec673255d7122b63457c9d0ae41c8e1f77 /src/util.h | |
parent | f82e82a5ab2366e1f4299e53ec95584f39d57dc8 (diff) | |
download | seabios-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |