Module Name: src
Committed By: reinoud
Date: Sun Sep 4 20:15:57 UTC 2011
Modified Files:
src/sys/arch/usermode/include: thunk.h
src/sys/arch/usermode/usermode: thunk.c
Log Message:
-thunk_makecontext_trapframe2go(ucontext_t *ucp, void *func, void *trapframe)
+thunk_makecontext_1(ucontext_t *ucp, void *func, void *arg)
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/usermode/usermode/thunk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/include/thunk.h
diff -u src/sys/arch/usermode/include/thunk.h:1.25 src/sys/arch/usermode/include/thunk.h:1.26
--- src/sys/arch/usermode/include/thunk.h:1.25 Sat Sep 3 18:42:13 2011
+++ src/sys/arch/usermode/include/thunk.h Sun Sep 4 20:15:57 2011
@@ -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 <[email protected]>
@@ -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 *);
Index: src/sys/arch/usermode/usermode/thunk.c
diff -u src/sys/arch/usermode/usermode/thunk.c:1.28 src/sys/arch/usermode/usermode/thunk.c:1.29
--- src/sys/arch/usermode/usermode/thunk.c:1.28 Sat Sep 3 18:42:13 2011
+++ src/sys/arch/usermode/usermode/thunk.c Sun Sep 4 20:15:57 2011
@@ -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 <[email protected]>
@@ -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