1: /*
2: * Copyright (c) 1983 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #ifdef SYSLIBC_SCCS
8: _sccsid:.asciz "@(#)syscall.c 5.3 (Berkeley) 3/9/86"
9: #endif SYSLIBC_SCCS
10:
11: #include "SYS.h"
12:
13: ENTRY(syscall)
14: movl 4(ap),r0 # syscall number
15: subl3 $1,(ap)+,(ap) # one fewer arguments
16: chmk r0
17: jcs 1f
18: ret
19: 1:
20: jmp cerror
Defined functions
ENTRY
defined in line
8;
never used