Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode -thunk_makecontext_trapframe2go(ucontext_t...
details: https://anonhg.NetBSD.org/src/rev/3d1ecfb5fc12
branches: trunk
changeset: 769240:3d1ecfb5fc12
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sun Sep 04 20:15:57 2011 +0000
description:
-thunk_makecontext_trapframe2go(ucontext_t *ucp, void *func, void *trapframe)
+thunk_makecontext_1(ucontext_t *ucp, void *func, void *arg)
diffstat:
sys/arch/usermode/include/thunk.h | 4 ++--
sys/arch/usermode/usermode/thunk.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r bf8e58c85cfb -r 3d1ecfb5fc12 sys/arch/usermode/include/thunk.h
--- a/sys/arch/usermode/include/thunk.h Sun Sep 04 20:14:37 2011 +0000
+++ b/sys/arch/usermode/include/thunk.h Sun Sep 04 20:15:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.h,v 1.25 2011/09/03 18:42:13 jmcneill Exp $ */
+/* $NetBSD: thunk.h,v 1.26 2011/09/04 20:15:57 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -83,7 +83,7 @@
int thunk_getcontext(ucontext_t *);
int thunk_setcontext(const ucontext_t *);
void thunk_makecontext(ucontext_t *, void (*)(void), int, void (*)(void *), void *);
-void thunk_makecontext_trapframe2go(ucontext_t *, void *func, void *trapframe);
+void thunk_makecontext_1(ucontext_t *, void *func, void *arg);
int thunk_swapcontext(ucontext_t *, ucontext_t *);
int thunk_tcgetattr(int, struct thunk_termios *);
diff -r bf8e58c85cfb -r 3d1ecfb5fc12 sys/arch/usermode/usermode/thunk.c
--- a/sys/arch/usermode/usermode/thunk.c Sun Sep 04 20:14:37 2011 +0000
+++ b/sys/arch/usermode/usermode/thunk.c Sun Sep 04 20:15:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.28 2011/09/03 18:42:13 jmcneill Exp $ */
+/* $NetBSD: thunk.c,v 1.29 2011/09/04 20:15:57 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.28 2011/09/03 18:42:13 jmcneill Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.29 2011/09/04 20:15:57 reinoud Exp $");
#endif
#include <sys/types.h>
@@ -256,9 +256,9 @@
}
void
-thunk_makecontext_trapframe2go(ucontext_t *ucp, void *func, void *trapframe)
+thunk_makecontext_1(ucontext_t *ucp, void *func, void *arg)
{
- makecontext(ucp, func, 1, trapframe);
+ makecontext(ucp, func, 1, arg);
}
int
Home |
Main Index |
Thread Index |
Old Index