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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [m32r/] [sys/] [syscall.h] - Diff between revs 39 and 40

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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