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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [m32r/] [sys/] [syscall.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
#ifndef _SYS_SYSCALL_H_
2
#define _SYS_SYSCALL_H_
3
 
4
/* Note: This file may be included by assembler source.  */
5
 
6
/* There is no need for the following:
7
   SYS_execv, SYS_creat, SYS_wait, etc. etc.
8
   Don't add them.  */
9
 
10
/* These are required by the ANSI C part of newlib
11
   (excluding system() of course).  */
12
#define SYS_exit        1
13
#define SYS_open        2
14
#define SYS_close       3
15
#define SYS_read        4
16
#define SYS_write       5
17
#define SYS_lseek       6
18
#define SYS_unlink      7
19
#define SYS_getpid      8
20
#define SYS_kill        9
21
#define SYS_fstat       10
22
/*#define SYS_sbrk      11 - not currently a system call, but reserved.  */
23
 
24
/* ARGV support.  */
25
#define SYS_argvlen     12
26
#define SYS_argv        13
27
 
28
/* These are extras added for one reason or another.  */
29
#define SYS_chdir       20
30
#define SYS_stat        21
31
#define SYS_chmod       22
32
#define SYS_utime       23
33
#define SYS_time        24
34
 
35
#endif

powered by: WebSVN 2.1.0

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