source: trunk/libs/newlib/src/libgloss/microblaze/linux-syscalls.h @ 498

Last change on this file since 498 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 637 bytes
Line 
1/** Linux system call interface for the MicroBlaze processor.
2 * Copyright (c) 2009 Edgar E. Iglesias.
3 *
4 * Permission to use, copy, modify, and distribute this software
5 * is freely granted, provided that this notice is preserved.
6 */
7
8#define SYS_exit        1
9#define SYS_fork        2
10#define SYS_read        3
11#define SYS_write       4
12#define SYS_open        5
13#define SYS_close       6
14#define SYS_waitpid     7
15#define SYS_creat       8
16#define SYS_link        9
17#define SYS_unlink      10
18#define SYS_execve      11
19#define SYS_chdir       12
20#define SYS_time        13
21
22#define SYS_lseek       19
23#define SYS_getpid      20
24#define SYS_kill        37
25#define SYS_brk         45
26#define SYS_fstat       108
27
28#define SYS_rt_sigaction  174
Note: See TracBrowser for help on using the repository browser.