iPXE
PCI capability registers

Macros

#define VIRTIO_PCI_CAP_TYPE   0x03
 Capability type.
#define VIRTIO_PCI_CAP_TYPE_COMMON   0x01
 Common registers.
#define VIRTIO_PCI_CAP_TYPE_NOTIFY   0x02
 Notification doorbells.
#define VIRTIO_PCI_CAP_TYPE_DEVICE   0x04
 Device-specific registers.
#define VIRTIO_PCI_CAP_BAR   0x04
 Capability BAR index.
#define VIRTIO_PCI_CAP_OFFSET   0x08
 Capability BAR offset.
#define VIRTIO_PCI_CAP_END   0x10
 Capability minimum length.
#define VIRTIO_PCI_CAP_NOTIFY_MULT   0x10
 Notification doorbell capability multiplier offset.
#define VIRTIO_PCI_CAP_NOTIFY_END   0x14
 Notification doorbell capability minimum length.

Detailed Description

Macro Definition Documentation

◆ VIRTIO_PCI_CAP_TYPE

#define VIRTIO_PCI_CAP_TYPE   0x03

Capability type.

Definition at line 69 of file virtio.h.

Referenced by virtio_pci_cap().

◆ VIRTIO_PCI_CAP_TYPE_COMMON

#define VIRTIO_PCI_CAP_TYPE_COMMON   0x01

Common registers.

Definition at line 70 of file virtio.h.

Referenced by virtio_pci_map().

◆ VIRTIO_PCI_CAP_TYPE_NOTIFY

#define VIRTIO_PCI_CAP_TYPE_NOTIFY   0x02

Notification doorbells.

Definition at line 71 of file virtio.h.

Referenced by virtio_pci_map().

◆ VIRTIO_PCI_CAP_TYPE_DEVICE

#define VIRTIO_PCI_CAP_TYPE_DEVICE   0x04

Device-specific registers.

Definition at line 72 of file virtio.h.

Referenced by virtio_pci_map().

◆ VIRTIO_PCI_CAP_BAR

#define VIRTIO_PCI_CAP_BAR   0x04

Capability BAR index.

Definition at line 75 of file virtio.h.

Referenced by virtio_pci_cap().

◆ VIRTIO_PCI_CAP_OFFSET

#define VIRTIO_PCI_CAP_OFFSET   0x08

Capability BAR offset.

Definition at line 78 of file virtio.h.

Referenced by virtio_pci_cap().

◆ VIRTIO_PCI_CAP_END

#define VIRTIO_PCI_CAP_END   0x10

Capability minimum length.

Definition at line 81 of file virtio.h.

Referenced by virtio_pci_cap().

◆ VIRTIO_PCI_CAP_NOTIFY_MULT

#define VIRTIO_PCI_CAP_NOTIFY_MULT   0x10

Notification doorbell capability multiplier offset.

Definition at line 84 of file virtio.h.

Referenced by virtio_pci_map().

◆ VIRTIO_PCI_CAP_NOTIFY_END

#define VIRTIO_PCI_CAP_NOTIFY_END   0x14

Notification doorbell capability minimum length.

Definition at line 87 of file virtio.h.

Referenced by virtio_pci_map().