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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [sparc/] [libsys/] [syscall.h] - Diff between revs 40 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 40 Rev 1765
#ifndef _SYSCALL_H_
#ifndef _SYSCALL_H_
#define _SYSCALL_H_
#define _SYSCALL_H_
 
 
/*
/*
 * This file defines the minimal set of system calls needed
 * This file defines the minimal set of system calls needed
 * by newlib for both sunos4 and solaris2.
 * by newlib for both sunos4 and solaris2.
 *
 *
 * WARNING: This file can be included by assembler files.
 * WARNING: This file can be included by assembler files.
 */
 */
 
 
/* Process control.  */
/* Process control.  */
#define SYS_exit        1
#define SYS_exit        1
#define SYS_getpid      20
#define SYS_getpid      20
#define SYS_kill        37
#define SYS_kill        37
 
 
/* File stuff.  */
/* File stuff.  */
#define SYS_read        3
#define SYS_read        3
#define SYS_write       4
#define SYS_write       4
#define SYS_open        5
#define SYS_open        5
#define SYS_close       6
#define SYS_close       6
#define SYS_lseek       19
#define SYS_lseek       19
 
 
/* Memory stuff.  */
/* Memory stuff.  */
#define SYS_brk         17
#define SYS_brk         17
 
 
/* Directory stuff.  */
/* Directory stuff.  */
#define SYS_unlink      10
#define SYS_unlink      10
#define SYS_chdir       12
#define SYS_chdir       12
#ifdef SVR4
#ifdef SVR4
#define SYS_stat        18
#define SYS_stat        18
#define SYS_fstat       28
#define SYS_fstat       28
#define SYS_lstat       88
#define SYS_lstat       88
#else
#else
#define SYS_stat        38
#define SYS_stat        38
#define SYS_fstat       62
#define SYS_fstat       62
#define SYS_lstat       40
#define SYS_lstat       40
#endif
#endif
 
 
#endif /* _SYSCALL_H_ */
#endif /* _SYSCALL_H_ */
 
 

powered by: WebSVN 2.1.0

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