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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [sparc/] [libsys/] [syscall.h] - Blame information for rev 148

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#ifndef _SYSCALL_H_
2
#define _SYSCALL_H_
3
 
4
/*
5
 * This file defines the minimal set of system calls needed
6
 * by newlib for both sunos4 and solaris2.
7
 *
8
 * WARNING: This file can be included by assembler files.
9
 */
10
 
11
/* Process control.  */
12
#define SYS_exit        1
13
#define SYS_getpid      20
14
#define SYS_kill        37
15
 
16
/* File stuff.  */
17
#define SYS_read        3
18
#define SYS_write       4
19
#define SYS_open        5
20
#define SYS_close       6
21
#define SYS_lseek       19
22
 
23
/* Memory stuff.  */
24
#define SYS_brk         17
25
 
26
/* Directory stuff.  */
27
#define SYS_unlink      10
28
#define SYS_chdir       12
29
#ifdef SVR4
30
#define SYS_stat        18
31
#define SYS_fstat       28
32
#define SYS_lstat       88
33
#else
34
#define SYS_stat        38
35
#define SYS_fstat       62
36
#define SYS_lstat       40
37
#endif
38
 
39
#endif /* _SYSCALL_H_ */

powered by: WebSVN 2.1.0

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