Replace boiler-plate code sequences with macro invocations from SYS.h.

This commit is contained in:
bjh21 2001-01-09 21:19:33 +00:00
parent e85ca50c79
commit da666fcde6
4 changed files with 8 additions and 34 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: __sigreturn14.S,v 1.1 2000/12/29 20:14:01 bjh21 Exp $ */
/* $NetBSD: __sigreturn14.S,v 1.2 2001/01/09 21:19:33 bjh21 Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -41,9 +41,4 @@
* We must preserve the state of the registers as the user has set them up.
*/
SYSCALL(__sigreturn14)
#ifdef __APCS_26__
movs r15, r14
#else
mov r15, r14
#endif
RSYSCALL(__sigreturn14)

View File

@ -1,4 +1,4 @@
/* $NetBSD: __syscall.S,v 1.2 2001/01/09 19:47:27 bjh21 Exp $ */
/* $NetBSD: __syscall.S,v 1.3 2001/01/09 21:19:33 bjh21 Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -37,11 +37,4 @@
#include "SYS.h"
ENTRY(__syscall)
SYSTRAP(__syscall)
bcs cerror
#ifdef __APCS_26__
movs pc, lr
#else
mov pc, lr
#endif
RSYSCALL(__syscall)

View File

@ -1,4 +1,4 @@
/* $NetBSD: exect.S,v 1.2 2001/01/09 19:47:27 bjh21 Exp $ */
/* $NetBSD: exect.S,v 1.3 2001/01/09 21:19:33 bjh21 Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -37,11 +37,4 @@
#include "SYS.h"
ENTRY(exect)
SYSTRAP(execve)
bcs cerror
#ifdef __APCS_26__
mov r15, r14
#else
mov r15, r14
#endif
PSEUDO(exect,execve)

View File

@ -1,4 +1,4 @@
/* $NetBSD: syscall.S,v 1.2 2001/01/09 19:47:28 bjh21 Exp $ */
/* $NetBSD: syscall.S,v 1.3 2001/01/09 21:19:33 bjh21 Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -37,11 +37,4 @@
#include "SYS.h"
ENTRY(syscall)
SYSTRAP(syscall)
bcs cerror
#ifdef __APCS_26__
movs r15, r14
#else
mov r15, r14
#endif
RSYSCALL(syscall)