Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k Move declaration of setfunc_trampoline() into ...
details: https://anonhg.NetBSD.org/src/rev/c65e0abe0f15
branches: trunk
changeset: 750184:c65e0abe0f15
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Dec 19 18:06:51 2009 +0000
description:
Move declaration of setfunc_trampoline() into <m68k/m68k.h>.
diffstat:
sys/arch/m68k/include/m68k.h | 3 ++-
sys/arch/m68k/m68k/vm_machdep.c | 5 ++---
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r bf2d2e833f28 -r c65e0abe0f15 sys/arch/m68k/include/m68k.h
--- a/sys/arch/m68k/include/m68k.h Sat Dec 19 18:00:26 2009 +0000
+++ b/sys/arch/m68k/include/m68k.h Sat Dec 19 18:06:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m68k.h,v 1.15 2009/12/19 13:08:26 tsutsui Exp $ */
+/* $NetBSD: m68k.h,v 1.16 2009/12/19 18:06:51 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -146,6 +146,7 @@
/* switch_subr.s */
void lwp_trampoline(void);
void savectx(struct pcb *);
+void setfunc_trampoline(void);
/* w16copy.s */
void w16zero(void *, u_int);
diff -r bf2d2e833f28 -r c65e0abe0f15 sys/arch/m68k/m68k/vm_machdep.c
--- a/sys/arch/m68k/m68k/vm_machdep.c Sat Dec 19 18:00:26 2009 +0000
+++ b/sys/arch/m68k/m68k/vm_machdep.c Sat Dec 19 18:06:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.33 2009/12/19 13:08:26 tsutsui Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.34 2009/12/19 18:06:52 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.33 2009/12/19 13:08:26 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.34 2009/12/19 18:06:52 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -171,7 +171,6 @@
struct pcb *pcb = lwp_getpcb(l);
struct trapframe *tf = (struct trapframe *)l->l_md.md_regs;
struct switchframe *sf = (struct switchframe *)tf - 1;
- extern void setfunc_trampoline(void);
sf->sf_pc = (u_int)setfunc_trampoline;
pcb->pcb_regs[6] = (int)func; /* A2 */
Home |
Main Index |
Thread Index |
Old Index