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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [libgloss/] [m32r/] [sys/] [syscall.h] - Rev 1782

Compare with Previous | Blame | View Log

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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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