| * <Insert copyright here : it must be BSD-like so everyone can use it> |
| * Author: Erich Boleyn <erich@uruk.org> http://www.uruk.org/~erich/ |
| * Header file for Intel Architecture local and I/O APIC definitions. |
| * This file was created from information in the Intel Pentium Pro |
| * Family Developer's Manual, Volume 3: Operating System Writer's |
| * Manual, order number 242692-001, which can be ordered from the |
| * Intel literature center. |
| #define APIC_BROADCAST_ID 0xFF |
| * APIC register definitions |
| * Shared defines for I/O and local APIC definitions |
| /* APIC version register */ |
| #define APIC_VERSION(x) ((x) & 0xFF) |
| /* if the APIC version is equal or greater than APIC_VER_NEW, it |
| #define APIC_VER_NEW 0x10 |
| /* this next one is used in all cases but an old local APIC, which has |
| #define APIC_MAXREDIR(x) (((x) >> 16) & 0xFF) |
| #define APIC_OLD_ID(x) ((x) >> 24) |
| #define APIC_NEW_ID(x) (((x) >> 24) & 0xF) |
| #define IOAPIC_REDIR 0x10 |
| #define LAPIC_SPIV_ENABLE_APIC 0x100 |
| #define LAPIC_DEST_MASK 0xFFFFFF |
| #define LAPIC_LVTPC 0x340 |