Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/include Revert revision 1.4 and change LAPIC_LE...



details:   https://anonhg.NetBSD.org/src/rev/76fe3c388f08
branches:  trunk
changeset: 772899:76fe3c388f08
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Jan 20 18:47:04 2012 +0000

description:
Revert revision 1.4 and change LAPIC_LEVEL_ASSERT / _MASK back to 0x4000.

According to "Intel 64 and IA-32 Architectures Software Developer's Manual"
Vol. 3, May 2011, Order Number: 325384-039US, Section 10.6.1:

        LEVEL_ASSERT is bit #14, bit #13 is reserved.

With this change NetBSD now boots multiple processors under CentOS 6.2/kvm.

diffstat:

 sys/arch/x86/include/i82489reg.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 538358819f02 -r 76fe3c388f08 sys/arch/x86/include/i82489reg.h
--- a/sys/arch/x86/include/i82489reg.h  Fri Jan 20 18:25:30 2012 +0000
+++ b/sys/arch/x86/include/i82489reg.h  Fri Jan 20 18:47:04 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82489reg.h,v 1.10 2010/11/15 11:58:09 cegger Exp $    */
+/*     $NetBSD: i82489reg.h,v 1.11 2012/01/20 18:47:04 hannken Exp $   */
 
 /*-
  * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -92,8 +92,8 @@
 #      define LAPIC_DLSTAT_BUSY        0x00001000
 #      define LAPIC_DLSTAT_IDLE        0x00000000
 
-#      define LAPIC_LEVEL_MASK         0x00002000
-#      define LAPIC_LEVEL_ASSERT       0x00002000
+#      define LAPIC_LEVEL_MASK         0x00004000
+#      define LAPIC_LEVEL_ASSERT       0x00004000
 #      define LAPIC_LEVEL_DEASSERT     0x00000000
 
 #      define LAPIC_TRIGGER_MASK       0x00008000



Home | Main Index | Thread Index | Old Index