OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [sim/] [sh/] [syscall.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
/* !!! DANGER !!!
3
   This was copied from newlib. */
4
 
5
 
6
#define SYS_exit        1
7
#define SYS_fork        2
8
#define SYS_read        3
9
#define SYS_write       4
10
#define SYS_open        5
11
#define SYS_close       6
12
#define SYS_wait4       7
13
#define SYS_creat       8
14
#define SYS_link        9
15
#define SYS_unlink      10
16
#define SYS_execv       11
17
#define SYS_chdir       12
18
#define SYS_mknod       14
19
#define SYS_chmod       15
20
#define SYS_chown       16
21
#define SYS_lseek       19
22
#define SYS_getpid      20
23
#define SYS_isatty      21
24
#define SYS_fstat       22
25
#define SYS_time        23
26
#define SYS_ARG         24
27
#define SYS_stat        38
28
#define SYS_pipe        42
29
#define SYS_execve      59
30
#define SYS_argc        172
31
#define SYS_argnlen     173
32
#define SYS_argn        174
33
#define SYS_utime       201 /* not really a system call */
34
#define SYS_wait        202 /* nor is this */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.