Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/lib/libc/arch/sh3/sys Pull up following revision(s) (requ...



details:   https://anonhg.NetBSD.org/src/rev/a2e1d25bca76
branches:  netbsd-3
changeset: 577722:a2e1d25bca76
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jan 11 16:20:47 2006 +0000

description:
Pull up following revision(s) (requested by uwe in ticket #1097):
        lib/libc/arch/sh3/sys/syscall.S: revision 1.6
This can be simplified to RSYSCALL(syscall), no special treatment necessary.

diffstat:

 lib/libc/arch/sh3/sys/syscall.S |  29 +++--------------------------
 1 files changed, 3 insertions(+), 26 deletions(-)

diffs (44 lines):

diff -r 79d9c9a69329 -r a2e1d25bca76 lib/libc/arch/sh3/sys/syscall.S
--- a/lib/libc/arch/sh3/sys/syscall.S   Wed Jan 11 16:15:48 2006 +0000
+++ b/lib/libc/arch/sh3/sys/syscall.S   Wed Jan 11 16:20:47 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.S,v 1.5 2003/08/07 16:42:21 agc Exp $  */
+/*     $NetBSD: syscall.S,v 1.5.6.1 2006/01/11 16:20:47 tron Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,32 +36,9 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: syscall.S,v 1.5 2003/08/07 16:42:21 agc Exp $")
+       RCSID("$NetBSD: syscall.S,v 1.5.6.1 2006/01/11 16:20:47 tron Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
 
-ENTRY(syscall)
-       sts     pr, r2          /* rta */
-       mov.l   Lsyscall, r0    /* syscall number */
-       trapa   #0x80
-       bf      err
-       rts
-       nop
-err:
-       mov.l   Lcerror, r1
-#ifdef PIC
-       braf    r1
-#else
-       jmp     @r1
-#endif
-       nop
-1:
-
-       .align  2
-#ifdef PIC
-Lcerror:       .long   cerror-1b
-#else
-Lcerror:       .long   cerror
-#endif
-Lsyscall:      .long   SYS_syscall
+RSYSCALL(syscall)



Home | Main Index | Thread Index | Old Index