summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-13 23:05:33 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-13 23:05:33 +0000
commit087e3f1aff6d525982c1ee0fa414dca9635fe469 (patch)
tree94443607f8d7e6c83820fb10c321dbad9938586d
parente1e1bc61d51a4a9c882d99e84b34eb1ce61b88a7 (diff)
downloadFreeBSD-src-087e3f1aff6d525982c1ee0fa414dca9635fe469.zip
FreeBSD-src-087e3f1aff6d525982c1ee0fa414dca9635fe469.tar.gz
Cheap TEMPORARY fix for "Trap 9 When Boot SMP" problem.
This is on the top of my list for a correct fix. Submitted by: "Thomas D. Dean" <tomdean@ix.netcom.com>
-rw-r--r--sys/kern/init_smp.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/kern/init_smp.c b/sys/kern/init_smp.c
index c01f30f..191cdc3 100644
--- a/sys/kern/init_smp.c
+++ b/sys/kern/init_smp.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: init_smp.c,v 1.12 1997/07/21 17:03:22 fsmp Exp $
+ * $Id: init_smp.c,v 1.13 1997/07/22 16:49:54 fsmp Exp $
*/
#include "opt_smp.h"
@@ -215,6 +215,15 @@ void *dummy;
int dcnt = 0;
int apic_id;
+#if 1
+ /*
+ * XXX FIXME: cheap fix for "trap 9 on boot" problem.
+ * this is temporary, but seems to be the most benign of our choices.
+ * expected to be fixed properly "real soon now".
+ */
+ asm("pushl %ds; popl %es");
+#endif
+
/*
* This code is executed only on startup of the idleprocs
* The fact that this is executed is an indication that the
OpenPOWER on IntegriCloud