Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/m68k/sys Add END(func)
details: https://anonhg.NetBSD.org/src/rev/d0a5535bbd19
branches: trunk
changeset: 787965:d0a5535bbd19
user: matt <matt%NetBSD.org@localhost>
date: Tue Jul 16 22:19:16 2013 +0000
description:
Add END(func)
Use SYSTRAP
diffstat:
lib/libc/arch/m68k/sys/__sigtramp2.S | 6 +++---
lib/libc/arch/m68k/sys/_lwp_getprivate.S | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 5c1f107354d8 -r d0a5535bbd19 lib/libc/arch/m68k/sys/__sigtramp2.S
--- a/lib/libc/arch/m68k/sys/__sigtramp2.S Tue Jul 16 22:18:14 2013 +0000
+++ b/lib/libc/arch/m68k/sys/__sigtramp2.S Tue Jul 16 22:19:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __sigtramp2.S,v 1.3 2013/07/16 20:49:42 matt Exp $ */
+/* $NetBSD: __sigtramp2.S,v 1.4 2013/07/16 22:19:16 matt Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
movl 8(%sp),%a0 /* get pointer to ucontext */
movl %a0,4(%sp) /* put it in the argument slot */
/* fake return address already there */
- movl #SYS_setcontext,%d0
- trap #0
+ SYSTRAP(setcontext)
movl %d0,4(%sp) /* error code */
SYSTRAP(exit) /* exit */
+END(__sigtramp_siginfo_2)
diff -r 5c1f107354d8 -r d0a5535bbd19 lib/libc/arch/m68k/sys/_lwp_getprivate.S
--- a/lib/libc/arch/m68k/sys/_lwp_getprivate.S Tue Jul 16 22:18:14 2013 +0000
+++ b/lib/libc/arch/m68k/sys/_lwp_getprivate.S Tue Jul 16 22:19:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: _lwp_getprivate.S,v 1.2 2008/04/28 20:22:56 martin Exp $ */
+/* $NetBSD: _lwp_getprivate.S,v 1.3 2013/07/16 22:19:16 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -33,3 +33,4 @@
movl %d0,%a0
#endif
rts
+END(_lwp_getprivate)
Home |
Main Index |
Thread Index |
Old Index