equal
deleted
inserted
replaced
25 */ |
25 */ |
26 |
26 |
27 /* Copyright (c) 1988 AT&T */ |
27 /* Copyright (c) 1988 AT&T */ |
28 /* All Rights Reserved */ |
28 /* All Rights Reserved */ |
29 |
29 |
30 #pragma ident "%Z%%M% %I% %E% SMI" |
|
31 |
|
32 /* |
30 /* |
33 * C library -- int syscall(int sysnum, ...); |
31 * C library -- int syscall(int sysnum, ...); |
34 * C library -- int __systemcall(sysret_t *, int sysnum, ...); |
32 * C library -- int __systemcall(sysret_t *, int sysnum, ...); |
35 * |
33 * |
36 * Interpret a given system call |
34 * Interpret a given system call |
43 * |
41 * |
44 * Even though %g5 can be used as a scratch register for sparcv9, we don't |
42 * Even though %g5 can be used as a scratch register for sparcv9, we don't |
45 * use it here because this code is shared between sparcv8 and sparcv9. |
43 * use it here because this code is shared between sparcv8 and sparcv9. |
46 */ |
44 */ |
47 |
45 |
48 .file "%M%" |
46 .file "syscall.s" |
49 |
47 |
50 #include "SYS.h" |
48 #include "SYS.h" |
51 |
49 |
52 ANSI_PRAGMA_WEAK(syscall,function) |
50 ANSI_PRAGMA_WEAK(syscall,function) |
53 |
51 |