Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/mvme68k/mvme68k Pull up revision 1.19 (request...



details:   https://anonhg.NetBSD.org/src/rev/254dd1a9fe4b
branches:  netbsd-1-4
changeset: 469751:254dd1a9fe4b
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 27 15:46:36 1999 +0000

description:
Pull up revision 1.19 (requested by is):
  Fix i-cache/d-cache synchronization for M68040 cpus (see M68040
  UM p.4-10).  Makes regress/sys/kern/sigtramp work even on M68040.

diffstat:

 sys/arch/mvme68k/mvme68k/sys_machdep.c |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 9873e6a09fd3 -r 254dd1a9fe4b sys/arch/mvme68k/mvme68k/sys_machdep.c
--- a/sys/arch/mvme68k/mvme68k/sys_machdep.c    Sat Nov 27 15:45:55 1999 +0000
+++ b/sys/arch/mvme68k/mvme68k/sys_machdep.c    Sat Nov 27 15:46:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_machdep.c,v 1.17 1999/02/26 22:37:58 is Exp $      */
+/*     $NetBSD: sys_machdep.c,v 1.17.2.1 1999/11/27 15:46:36 he Exp $  */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -156,6 +156,13 @@
 #endif
 
                if (addr == 0 ||
+#if defined(M68040)
+#if defined(M68060)
+                   (cputype == CPU_68040 && req & CC_IPURGE) ||
+#else
+                   (req && CC_IPURGE) ||
+#endif
+#endif
                    ((req & ~CC_EXTPURGE) != CC_PURGE && len > 2*NBPG))
                        doall = 1;
 



Home | Main Index | Thread Index | Old Index