aboutsummaryrefslogtreecommitdiff
path: root/libgloss/v850
diff options
context:
space:
mode:
authorRanjith Kumaran <ranjith@cygnus.com>2000-03-17 22:48:54 +0000
committerRanjith Kumaran <ranjith@cygnus.com>2000-03-17 22:48:54 +0000
commit03261851a10dd2d6900a0a00a7515a0a46fb5d76 (patch)
tree7c22ac6cbbc99fd5cd1b5426853be8d4fd7bfcf1 /libgloss/v850
parentfae4c299f14fc23e2829c8656992eba21f79242a (diff)
downloadnewlib-03261851a10dd2d6900a0a00a7515a0a46fb5d76.zip
newlib-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.gz
newlib-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.bz2
20000317 sourceware import
Diffstat (limited to 'libgloss/v850')
-rw-r--r--libgloss/v850/sys/syscall.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/libgloss/v850/sys/syscall.h b/libgloss/v850/sys/syscall.h
new file mode 100644
index 0000000..4187226
--- /dev/null
+++ b/libgloss/v850/sys/syscall.h
@@ -0,0 +1,41 @@
+#ifndef _SYS_SYSCALL_H_
+#define _SYS_SYSCALL_H_
+
+/* Note: This file may be included by assembler source. */
+
+#define SYS_exit 1
+#define SYS_fork 2
+
+#define SYS_read 3
+#define SYS_write 4
+#define SYS_open 5
+#define SYS_close 6
+#define SYS_wait4 7
+#define SYS_creat 8
+#define SYS_link 9
+#define SYS_unlink 10
+#define SYS_execv 11
+#define SYS_chdir 12
+#define SYS_mknod 14
+#define SYS_chmod 15
+#define SYS_chown 16
+#define SYS_lseek 19
+#define SYS_getpid 20
+#define SYS_isatty 21
+#define SYS_fstat 22
+#define SYS_time 23
+
+
+#define SYS_ARG 24
+#define SYS_stat 38
+
+
+#define SYS_pipe 42
+#define SYS_execve 59
+#define SYS_times 43
+#define SYS_gettimeofday 116
+
+#define SYS_utime 201 /* not really a system call */
+#define SYS_wait 202 /* nor is this */
+
+#endif