|
iPXE
|
Macros | |
| #define | VIRTIO_LEG_FEAT 0x00 |
| Legacy device supported features register. | |
| #define | VIRTIO_LEG_USED 0x04 |
| Legacy negotiated in-use features register. | |
| #define | VIRTIO_LEG_BASE 0x08 |
| Legacy queue base address register. | |
| #define | VIRTIO_LEG_SIZE 0x0c |
| Legacy queue size register. | |
| #define | VIRTIO_LEG_SEL 0x0e |
| Legacy queue select register. | |
| #define | VIRTIO_LEG_DB 0x10 |
| Legacy queue doorbell notification register. | |
| #define | VIRTIO_LEG_STAT 0x12 |
| Legacy driver status register. | |
| #define | VIRTIO_STAT_ACKNOWLEDGE 0x0001 |
| Guest has found device. | |
| #define | VIRTIO_STAT_DRIVER 0x0002 |
| Guest driver exists. | |
| #define | VIRTIO_STAT_DRIVER_OK 0x0004 |
| Guest driver is ready. | |
| #define | VIRTIO_STAT_FEATURES_OK 0x0008 |
| Guest driver has set features. | |
| #define | VIRTIO_STAT_FAIL 0x0080 |
| Guest driver has failed. | |
| #define | VIRTIO_LEG_DEV 0x14 |
| Legacy device-specific registers. | |
| #define | VIRTIO_LEG_DEV_MSIX 0x18 |
| Legacy device-specific register (if MSI-X is enabled). | |
| #define VIRTIO_LEG_FEAT 0x00 |
Legacy device supported features register.
Definition at line 30 of file virtio.h.
Referenced by virtio_legacy_supported().
| #define VIRTIO_LEG_USED 0x04 |
Legacy negotiated in-use features register.
Definition at line 33 of file virtio.h.
Referenced by virtio_legacy_negotiate().
| #define VIRTIO_LEG_BASE 0x08 |
Legacy queue base address register.
Definition at line 36 of file virtio.h.
Referenced by virtio_legacy_enable().
| #define VIRTIO_LEG_SIZE 0x0c |
Legacy queue size register.
Definition at line 39 of file virtio.h.
Referenced by virtio_legacy_size().
| #define VIRTIO_LEG_SEL 0x0e |
Legacy queue select register.
Definition at line 42 of file virtio.h.
Referenced by virtio_legacy_enable(), and virtio_legacy_size().
| #define VIRTIO_LEG_DB 0x10 |
Legacy queue doorbell notification register.
Definition at line 45 of file virtio.h.
Referenced by virtio_pci_map().
| #define VIRTIO_LEG_STAT 0x12 |
Legacy driver status register.
Definition at line 48 of file virtio.h.
Referenced by virtio_legacy_reset(), and virtio_legacy_status().
| #define VIRTIO_STAT_ACKNOWLEDGE 0x0001 |
| #define VIRTIO_STAT_DRIVER 0x0002 |
| #define VIRTIO_STAT_DRIVER_OK 0x0004 |
| #define VIRTIO_STAT_FEATURES_OK 0x0008 |
| #define VIRTIO_STAT_FAIL 0x0080 |
| #define VIRTIO_LEG_DEV 0x14 |
Legacy device-specific registers.
Definition at line 56 of file virtio.h.
Referenced by virtio_pci_map().
| #define VIRTIO_LEG_DEV_MSIX 0x18 |
Legacy device-specific register (if MSI-X is enabled).
Definition at line 59 of file virtio.h.
Referenced by virtio_pci_map().