Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/arch/sparc/sparc Pull up revision 1.9 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/799af2ce7060
branches:  netbsd-2-0
changeset: 560532:799af2ce7060
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sat Apr 24 18:27:07 2004 +0000

description:
Pull up revision 1.9 (requested by pk in ticket #179)

Many fixes for issues with sparc multi-processor support (includes
fixes to make HyperSPARC MP work).

diffstat:

 sys/arch/sparc/sparc/emul.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 77ca19df44d2 -r 799af2ce7060 sys/arch/sparc/sparc/emul.c
--- a/sys/arch/sparc/sparc/emul.c       Sat Apr 24 18:26:36 2004 +0000
+++ b/sys/arch/sparc/sparc/emul.c       Sat Apr 24 18:27:07 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.8 2003/07/15 00:05:04 lukem Exp $   */
+/*     $NetBSD: emul.c,v 1.8.2.1 2004/04/24 18:27:07 jdc Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.8 2003/07/15 00:05:04 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.8.2.1 2004/04/24 18:27:07 jdc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -432,7 +432,10 @@
 
        switch (code.i_op3.i_op3) {
        case IOP3_FLUSH:
-               cache_flush((caddr_t)(rs1 + rs2), 4); /*XXX*/
+               /*
+                * A FLUSH instruction causing a T_ILLINST!
+                * Turn it into a NOP.
+                */
                return 0;
 
        default:



Home | Main Index | Thread Index | Old Index