Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/kern Pull up revision 1.104 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/1b740857c94e
branches:  netbsd-1-4
changeset: 469748:1b740857c94e
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 27 15:29:27 1999 +0000

description:
Pull up revision 1.104 (requested by is):
  Add explicit instruction and data cache flush on machines which
  needs it when installing the signal trampoline code.  This makes
  regress/sys/kern/sigtramp work on m68060 processors.

diffstat:

 sys/kern/kern_exec.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a8558a31be8c -r 1b740857c94e sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Sat Nov 27 15:21:14 1999 +0000
+++ b/sys/kern/kern_exec.c      Sat Nov 27 15:29:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exec.c,v 1.100.2.1 1999/08/09 03:08:25 cgd Exp $  */
+/*     $NetBSD: kern_exec.c,v 1.100.2.2 1999/11/27 15:29:27 he Exp $   */
 
 /*-
  * Copyright (C) 1993, 1994, 1996 Christopher G. Demetriou
@@ -413,6 +413,10 @@
                    p->p_sigacts->ps_sigcode = (char *)PS_STRINGS - szsigcode,
                    szsigcode))
                        goto exec_abort;
+#ifdef PMAP_NEED_PROCWR
+               /* This is code. Let the pmap do what is needed. */
+               pmap_procwr(p, (vaddr_t)p->p_sigacts->ps_sigcode, szsigcode);
+#endif
        }
 
        stopprofclock(p);       /* stop profiling */



Home | Main Index | Thread Index | Old Index