1 /* cr16 syscall.h file. This is used only by the simulator. These numbers
2 match the syscalls used by the sim port which are different from linux
4 This will allow correct generation of sim/common/nltvals.def */
7 #ifndef _SYS_SYSCALL_H_
8 #define _SYS_SYSCALL_H_
10 /* Note: This file may be included by assembler source. */
31 #define SYS_time 0x300
32 #define SYS_open 0x401
33 #define SYS_close 0x402
34 #define SYS_read 0x403
35 #define SYS_write 0x404
36 #define SYS_lseek 0x405
37 #define SYS_rename 0x406
38 #define SYS_unlink 0x407
39 #define SYS_exit 0x410