This prepares for using the define in other C-files.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
# define PCI_CMD_MASTER (1 << 2)
# define PCI_CMD_INTX_OFF (1 << 10)
+#define PCI_CONFIG_HEADER_SIZE 0x40
+
+#define PCI_CAP_MSI 0x05
+#define PCI_CAP_MSIX 0x11
+
/**
* @defgroup PCI PCI Subsystem
*
#include <jailhouse/printk.h>
#include <jailhouse/utils.h>
-#define PCI_CONFIG_HEADER_SIZE 0x40
-
-#define PCI_CAP_MSI 0x05
-#define PCI_CAP_MSIX 0x11
-
#define MSIX_VECTOR_CTRL_DWORD 3
#define for_each_configured_pci_device(dev, cell) \