/* Target header values needed by the simulator and gdb. */ /* This file is machine generated by gentmap.c. */ #ifndef TARG_VALS_H #define TARG_VALS_H /* syscall values */ /* errno values */ #define TARGET_E2BIG 7 #define TARGET_EACCES 13 #define TARGET_EADDRINUSE 112 #define TARGET_EADDRNOTAVAIL 125 #define TARGET_EADV 68 #define TARGET_EAFNOSUPPORT 106 #define TARGET_EAGAIN 11 #define TARGET_EALREADY 120 #define TARGET_EBADE 50 #define TARGET_EBADF 9 #define TARGET_EBADFD 81 #define TARGET_EBADMSG 77 #define TARGET_EBADR 51 #define TARGET_EBADRQC 54 #define TARGET_EBADSLT 55 #define TARGET_EBFONT 57 #define TARGET_EBUSY 16 #define TARGET_ECHILD 10 #define TARGET_ECHRNG 37 #define TARGET_ECOMM 70 #define TARGET_ECONNABORTED 113 #define TARGET_ECONNREFUSED 111 #define TARGET_ECONNRESET 104 #define TARGET_EDEADLK 45 #define TARGET_EDEADLOCK 56 #define TARGET_EDESTADDRREQ 121 #define TARGET_EDOM 33 #define TARGET_EDOTDOT 76 #define TARGET_EDQUOT 132 #define TARGET_EEXIST 17 #define TARGET_EFAULT 14 #define TARGET_EFBIG 27 #define TARGET_EHOSTDOWN 117 #define TARGET_EHOSTUNREACH 118 #define TARGET_EIDRM 36 #define TARGET_EINPROGRESS 119 #define TARGET_EINTR 4 #define TARGET_EINVAL 22 #define TARGET_EIO 5 #define TARGET_EISCONN 127 #define TARGET_EISDIR 21 #define TARGET_EL2HLT 44 #define TARGET_EL2NSYNC 38 #define TARGET_EL3HLT 39 #define TARGET_EL3RST 40 #define TARGET_ELBIN 75 #define TARGET_ELIBACC 83 #define TARGET_ELIBBAD 84 #define TARGET_ELIBEXEC 87 #define TARGET_ELIBMAX 86 #define TARGET_ELIBSCN 85 #define TARGET_ELNRNG 41 #define TARGET_ELOOP 92 #define TARGET_EMFILE 24 #define TARGET_EMLINK 31 #define TARGET_EMSGSIZE 122 #define TARGET_EMULTIHOP 74 #define TARGET_ENAMETOOLONG 91 #define TARGET_ENETDOWN 115 #define TARGET_ENETRESET 126 #define TARGET_ENETUNREACH 114 #define TARGET_ENFILE 23 #define TARGET_ENMFILE 89 #define TARGET_ENOANO 53 #define TARGET_ENOBUFS 105 #define TARGET_ENOCSI 43 #define TARGET_ENODATA 61 #define TARGET_ENODEV 19 #define TARGET_ENOENT 2 #define TARGET_ENOEXEC 8 #define TARGET_ENOLCK 46 #define TARGET_ENOLINK 67 #define TARGET_ENOMEM 12 #define TARGET_ENOMSG 35 #define TARGET_ENONET 64 #define TARGET_ENOPKG 65 #define TARGET_ENOPROTOOPT 109 #define TARGET_ENOSPC 28 #define TARGET_ENOSR 63 #define TARGET_ENOSTR 60 #define TARGET_ENOSYS 88 #define TARGET_ENOTBLK 15 #define TARGET_ENOTCONN 128 #define TARGET_ENOTDIR 20 #define TARGET_ENOTEMPTY 90 #define TARGET_ENOTSOCK 108 #define TARGET_ENOTSUP 134 #define TARGET_ENOTTY 25 #define TARGET_ENOTUNIQ 80 #define TARGET_ENXIO 6 #define TARGET_EOPNOTSUPP 95 #define TARGET_EPERM 1 #define TARGET_EPFNOSUPPORT 96 #define TARGET_EPIPE 32 #define TARGET_EPROCLIM 130 #define TARGET_EPROTO 71 #define TARGET_EPROTONOSUPPORT 123 #define TARGET_EPROTOTYPE 107 #define TARGET_ERANGE 34 #define TARGET_EREMCHG 82 #define TARGET_EREMOTE 66 #define TARGET_EROFS 30 #define TARGET_ESHUTDOWN 110 #define TARGET_ESOCKTNOSUPPORT 124 #define TARGET_ESPIPE 29 #define TARGET_ESRCH 3 #define TARGET_ESRMNT 69 #define TARGET_ESTALE 133 #define TARGET_ETIME 62 #define TARGET_ETIMEDOUT 116 #define TARGET_ETOOMANYREFS 129 #define TARGET_ETXTBSY 26 #define TARGET_EUNATCH 42 #define TARGET_EUSERS 131 #define TARGET_EWOULDBLOCK 11 #define TARGET_EXDEV 18 #define TARGET_EXFULL 52 /* open flag values */ #define TARGET_O_ACCMODE 0x3 #define TARGET_O_APPEND 0x8 #define TARGET_O_CREAT 0x200 #define TARGET_O_EXCL 0x800 #define TARGET_O_NOCTTY 0x8000 #define TARGET_O_NONBLOCK 0x4000 #define TARGET_O_RDONLY 0x0 #define TARGET_O_RDWR 0x2 #define TARGET_O_SYNC 0x2000 #define TARGET_O_TRUNC 0x400 #define TARGET_O_WRONLY 0x1 #endif /* TARG_VALS_H */