arch/x86: Add the arch-specific structur for MSI
This will be necessary for x86 support of MSI multi-vector
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
diff --git a/include/arch/x86/arch.h b/include/arch/x86/arch.h
index e792a1c..b075f06 100644
--- a/include/arch/x86/arch.h
+++ b/include/arch/x86/arch.h
@@ -27,6 +27,17 @@
extern "C" {
#endif
+#ifdef CONFIG_PCIE_MSI
+
+struct x86_msi_vector {
+ unsigned int irq;
+ uint8_t vector;
+};
+
+typedef struct x86_msi_vector arch_msi_vector_t;
+
+#endif /* CONFIG_PCIE_MSI */
+
static ALWAYS_INLINE void arch_irq_unlock(unsigned int key)
{
if ((key & 0x00000200U) != 0U) { /* 'IF' bit */