ENTRY() takes two argument now, not one.
This commit is contained in:
parent
63930d7db4
commit
2663970272
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
/* .asciz "@(#)Ovfork.s 8.1 (Berkeley) 6/4/93" */
|
||||
.asciz "$NetBSD: Ovfork.S,v 1.1 1995/04/17 12:23:56 ragge Exp $"
|
||||
.asciz "$NetBSD: Ovfork.S,v 1.2 1997/02/04 18:38:17 ragge Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
@ -54,7 +54,7 @@
|
|||
* with a ret off this stack... we do the ret before we vfork!
|
||||
*/
|
||||
|
||||
ENTRY(vfork)
|
||||
ENTRY(vfork, 0)
|
||||
movl 16(fp),r2 # save return address before we smash it
|
||||
movab here,16(fp)
|
||||
ret
|
||||
|
|
|
@ -33,17 +33,17 @@
|
|||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
/* .asciz "@(#)brk.s 8.1 (Berkeley) 6/4/93" */
|
||||
.asciz "$NetBSD: brk.S,v 1.1 1995/04/17 12:23:58 ragge Exp $"
|
||||
.asciz "$NetBSD: brk.S,v 1.2 1997/02/04 18:38:18 ragge Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
.globl curbrk
|
||||
.globl minbrk
|
||||
ENTRY(_brk)
|
||||
ENTRY(_brk, 0)
|
||||
jbr ok
|
||||
|
||||
ENTRY(brk)
|
||||
ENTRY(brk, 0)
|
||||
cmpl 4(ap),minbrk
|
||||
bgeq ok
|
||||
movl minbrk,4(ap)
|
||||
|
|
|
@ -33,13 +33,13 @@
|
|||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
/* .asciz "@(#)exect.s 8.1 (Berkeley) 6/4/93" */
|
||||
.asciz "$NetBSD: exect.S,v 1.1 1995/04/17 12:24:00 ragge Exp $"
|
||||
.asciz "$NetBSD: exect.S,v 1.2 1997/02/04 18:38:19 ragge Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
#include <machine/psl.h>
|
||||
|
||||
ENTRY(exect)
|
||||
ENTRY(exect, 0)
|
||||
bispsw $PSL_T
|
||||
chmk $ SYS_execve
|
||||
jmp cerror # exect(file, argv, env)
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
/* .asciz "@(#)ptrace.s 8.1 (Berkeley) 6/4/93" */
|
||||
.asciz "$NetBSD: ptrace.S,v 1.1 1995/04/17 12:24:03 ragge Exp $"
|
||||
.asciz "$NetBSD: ptrace.S,v 1.2 1997/02/04 18:38:19 ragge Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
ENTRY(ptrace)
|
||||
ENTRY(ptrace, 0)
|
||||
clrl _errno
|
||||
chmk $ SYS_ptrace
|
||||
jcs err
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
/* .asciz "@(#)sbrk.s 8.1 (Berkeley) 6/4/93" */
|
||||
.asciz "$NetBSD: sbrk.S,v 1.1 1995/04/17 12:24:05 ragge Exp $"
|
||||
.asciz "$NetBSD: sbrk.S,v 1.2 1997/02/04 18:38:20 ragge Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
@ -48,7 +48,7 @@ minbrk: .long _end
|
|||
curbrk: .long _end
|
||||
.text
|
||||
|
||||
ENTRY(sbrk)
|
||||
ENTRY(sbrk, 0)
|
||||
addl3 curbrk,4(ap),-(sp)
|
||||
pushl $1
|
||||
movl ap,r3
|
||||
|
|
Loading…
Reference in New Issue