- Fix a duplicated typo.

- Add a macro for the logical shift needed to extract an APIC ID from
  either from the local APIC ICR Hi register or the APIC ID registers of
  the local and IO APICs.
This commit is contained in:
John Baldwin 2003-08-15 15:23:13 +00:00
parent 426db9b60f
commit 594dfbc391
3 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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