aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/pci_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen/include/xen/pci_regs.h')
-rw-r--r--xen/include/xen/pci_regs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/include/xen/pci_regs.h b/xen/include/xen/pci_regs.h
index b92a171052..8bd193a5d7 100644
--- a/xen/include/xen/pci_regs.h
+++ b/xen/include/xen/pci_regs.h
@@ -302,6 +302,13 @@
#define PCI_MSIX_FLAGS_ENABLE (1 << 15)
#define PCI_MSIX_FLAGS_MASKALL (1 << 14)
#define PCI_MSIX_FLAGS_BIRMASK (7 << 0)
+
+#define PCI_MSIX_ENTRY_SIZE 16
+#define PCI_MSIX_ENTRY_LOWER_ADDR_OFFSET 0
+#define PCI_MSIX_ENTRY_UPPER_ADDR_OFFSET 4
+#define PCI_MSIX_ENTRY_DATA_OFFSET 8
+#define PCI_MSIX_ENTRY_VECTOR_CTRL_OFFSET 12
+
#define PCI_MSIX_FLAGS_BITMASK (1 << 0)
/* CompactPCI Hotswap Register */