diff options
author | jhb <jhb@FreeBSD.org> | 2003-08-15 15:23:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-08-15 15:23:13 +0000 |
commit | abb82abe53818557c1ea9ef74f5028f3723569e6 (patch) | |
tree | b9aae1dff7c5111b0069af18334d3f9812405f91 /sys/amd64 | |
parent | 87baae7b76cf1c5befb48d28870a0d2272273648 (diff) | |
download | FreeBSD-src-abb82abe53818557c1ea9ef74f5028f3723569e6.zip FreeBSD-src-abb82abe53818557c1ea9ef74f5028f3723569e6.tar.gz |
- 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.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/apicreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h index 6e6d260..37ca706 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 |