summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/apicreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-17 19:14:13 +0000
committerjhb <jhb@FreeBSD.org>2003-03-17 19:14:13 +0000
commitc76c140d9b405699acb8b5ddd28b4aa844797949 (patch)
tree58f47145a8d06003684503f70e0ba6fc9e1e871a /sys/amd64/include/apicreg.h
parentbf1f3783a0fc86740dd608391f6cbfb7ce93d386 (diff)
downloadFreeBSD-src-c76c140d9b405699acb8b5ddd28b4aa844797949.zip
FreeBSD-src-c76c140d9b405699acb8b5ddd28b4aa844797949.tar.gz
Expand the APIC ID mask field of the ICR register to 8 bits intead of just
4 bits. This reportedly fixes booting on the SW7500CW2. Much thanks to the submitter for tracking this down! Submitted by: Brian Buchanan <brian@ncircle.com> Reviewed by: peter MFC after: 3 days
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r--sys/amd64/include/apicreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h
index 4acdeee..e72ffb1 100644
--- a/sys/amd64/include/apicreg.h
+++ b/sys/amd64/include/apicreg.h
@@ -290,7 +290,7 @@ typedef struct IOAPIC ioapic_t;
/* fields in ICR_HIGH */
-#define APIC_ID_MASK 0x0f000000
+#define APIC_ID_MASK 0xff000000
/* fields in LVT1/2 */
OpenPOWER on IntegriCloud