Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips setregs() cache sync turns out not to be ...
details: https://anonhg.NetBSD.org/src/rev/c66fa9c96c79
branches: trunk
changeset: 495632:c66fa9c96c79
user: jeffs <jeffs%NetBSD.org@localhost>
date: Wed Aug 02 06:46:47 2000 +0000
description:
setregs() cache sync turns out not to be needed with kern_exec 1.104
(which was 2 weeks after our internal trees full sync).
diffstat:
sys/arch/mips/mips/mips_machdep.c | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (37 lines):
diff -r 88e359b8436b -r c66fa9c96c79 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Wed Aug 02 05:58:35 2000 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Wed Aug 02 06:46:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.98 2000/07/27 17:29:06 cgd Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.99 2000/08/02 06:46:47 jeffs Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.98 2000/07/27 17:29:06 cgd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.99 2000/08/02 06:46:47 jeffs Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_ultrix.h"
@@ -671,18 +671,6 @@
{
struct frame *f = (struct frame *)p->p_md.md_regs;
- /*
- * Make sure sigreturn trampoline is coherent.
- */
-#ifdef MIPS3
- if (CPUISMIPS3) {
- int szsigcode = pack->ep_emul->e_esigcode -
- pack->ep_emul->e_sigcode;
- MachFlushDCache((vaddr_t)p->p_sigacts->ps_sigcode, szsigcode);
- MachFlushICache((vaddr_t)p->p_sigacts->ps_sigcode, szsigcode);
- }
-#endif
-
memset(f, 0, sizeof(struct frame));
f->f_regs[SP] = (int) stack;
f->f_regs[PC] = (int) pack->ep_entry & ~3;
Home |
Main Index |
Thread Index |
Old Index