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>
This commit is contained in:
Tomasz Bursztyka 2020-11-13 09:21:41 +01:00 committed by Anas Nashif
commit d04c84a260

View file

@ -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 */