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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [d10v/] [sys/] [syscall.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
/* syscall.h - definitions of system calls for D10V.
2
 *
3
 * This file must contain only pre-processor directives, and no C code,
4
 * because it's included by assembly language sources as well as C.
5
 */
6
 
7
#define SYS_exit        1
8
#define SYS_fork        2
9
 
10
#define SYS_read        3
11
#define SYS_write       4
12
#define SYS_open        5
13
#define SYS_close       6
14
#define SYS_wait4       7
15
#define SYS_creat       8
16
#define SYS_link        9
17
#define SYS_unlink      10
18
#define SYS_execv       11
19
#define SYS_chdir       12
20
#define SYS_mknod       14
21
#define SYS_chmod       15
22
#define SYS_chown       16
23
#define SYS_lseek       19
24
#define SYS_getpid      20
25
#define SYS_isatty      21
26
#define SYS_fstat       22
27
#define SYS_time        23
28
 
29
 
30
#define SYS_ARG         24
31
#define SYS_stat        38
32
 
33
#define SYS_pipe        42
34
#define SYS_execve      59
35
#define SYS_kill        60
36
 
37
#define SYS_utime       201 /* not really a system call */
38
#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.