Call the machine dependent code to do d-cache/i-cache synchronization, for

architectures that need it. Without this, at least on Motorola 68040 and 68060
machines, the sigtramp regression test fails.
This commit is contained in:
is 1999-11-21 17:04:05 +00:00
parent f038a8aeeb
commit 58f7417063

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_exec.c,v 1.103 1999/09/28 14:47:03 bouyer Exp $ */
/* $NetBSD: kern_exec.c,v 1.104 1999/11/21 17:04:05 is Exp $ */
/*-
* Copyright (C) 1993, 1994, 1996 Christopher G. Demetriou
@ -413,6 +413,10 @@ sys_execve(p, v, retval)
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 */