|
Xen Test Framework
|
x86 IO-APIC register definitions and utility functions. More...
Include dependency graph for io-apic.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | IOAPIC_REGSEL 0x00 |
| #define | IOAPIC_IOWIN 0x10 |
| #define | IOAPIC_ID 0x0 |
| #define | IOAPIC_VERSION 0x1 |
| #define | IOAPIC_MAXREDIR_MASK 0xff0000 |
| #define | IOAPIC_REDIR_ENTRY(e) (0x10 + (e) * 2) |
| #define | IOAPIC_REDIR_MASK_SHIFT 16 |
| #define | IOAPIC_DEFAULT_BASE 0xfec00000 |
Functions | |
| int | ioapic_init (void) |
| Discover and initialise the IO-APIC. More... | |
| static uint32_t | ioapic_read32 (unsigned int reg) |
| static uint64_t | ioapic_read64 (unsigned int reg) |
| static void | ioapic_write32 (unsigned int reg, uint32_t val) |
| static void | ioapic_write64 (unsigned int reg, uint64_t val) |
| int | ioapic_set_mask (unsigned int entry, bool mask) |
| Set the mask bit on a redirection entry. More... | |
x86 IO-APIC register definitions and utility functions.
The IO-APIC MMIO window is expected to be in its default location for the benefit of unpaged environments.
Definition in file io-apic.h.
| int ioapic_init | ( | void | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |