diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h index 6e6d260810bf..37ca7067c6c3 100644 --- a/sys/amd64/include/apicreg.h +++ b/sys/amd64/include/apicreg.h @@ -33,10 +33,10 @@ */ /* - * Pentium P54C+ Build-in APIC + * Pentium P54C+ Built-in APIC * (Advanced programmable Interrupt Controller) * - * Base Address of Build-in APIC in memory location + * Base Address of Built-in APIC in memory location * is 0xfee00000. * * Map of APIC REgisters: @@ -292,7 +292,7 @@ typedef struct IOAPIC ioapic_t; /* fields in ICR_HIGH */ #define APIC_ID_MASK 0xff000000 - +#define APIC_ID_SHIFT 24 /* fields in LVT1/2 */ #define APIC_LVT_VECTOR 0x000000ff diff --git a/sys/i386/include/apic.h b/sys/i386/include/apic.h index 6e6d260810bf..37ca7067c6c3 100644 --- a/sys/i386/include/apic.h +++ b/sys/i386/include/apic.h @@ -33,10 +33,10 @@ */ /* - * Pentium P54C+ Build-in APIC + * Pentium P54C+ Built-in APIC * (Advanced programmable Interrupt Controller) * - * Base Address of Build-in APIC in memory location + * Base Address of Built-in APIC in memory location * is 0xfee00000. * * Map of APIC REgisters: @@ -292,7 +292,7 @@ typedef struct IOAPIC ioapic_t; /* fields in ICR_HIGH */ #define APIC_ID_MASK 0xff000000 - +#define APIC_ID_SHIFT 24 /* fields in LVT1/2 */ #define APIC_LVT_VECTOR 0x000000ff diff --git a/sys/i386/include/apicreg.h b/sys/i386/include/apicreg.h index 6e6d260810bf..37ca7067c6c3 100644 --- a/sys/i386/include/apicreg.h +++ b/sys/i386/include/apicreg.h @@ -33,10 +33,10 @@ */ /* - * Pentium P54C+ Build-in APIC + * Pentium P54C+ Built-in APIC * (Advanced programmable Interrupt Controller) * - * Base Address of Build-in APIC in memory location + * Base Address of Built-in APIC in memory location * is 0xfee00000. * * Map of APIC REgisters: @@ -292,7 +292,7 @@ typedef struct IOAPIC ioapic_t; /* fields in ICR_HIGH */ #define APIC_ID_MASK 0xff000000 - +#define APIC_ID_SHIFT 24 /* fields in LVT1/2 */ #define APIC_LVT_VECTOR 0x000000ff