diff --git a/include/arch/x86/arch.h b/include/arch/x86/arch.h index e792a1cea7f..b075f06c606 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 */