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:
parent
4199cd38f1
commit
d04c84a260
1 changed files with 11 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue