int ioapic_set_mask(unsigned int entry, bool mask)
Set the mask bit on a redirection entry.
static unsigned int nr_entries
int ioapic_init(void)
Discover and initialise the IO-APIC.
x86 IO-APIC register definitions and utility functions.
#define IOAPIC_REDIR_MASK_SHIFT
static void ioapic_write32(unsigned int reg, uint32_t val)
#define IOAPIC_MAXREDIR_MASK
static uint32_t ioapic_read32(unsigned int reg)
#define IOAPIC_REDIR_ENTRY(e)