1f0074723SPhilippe Mathieu-Daudé #ifndef SPARC_TARGET_ERRNO_DEFS_H 2f0074723SPhilippe Mathieu-Daudé #define SPARC_TARGET_ERRNO_DEFS_H 3f0074723SPhilippe Mathieu-Daudé 4*8f968b6aSPhilippe Mathieu-Daudé #include "../generic/target_errno_defs.h" 5*8f968b6aSPhilippe Mathieu-Daudé 6*8f968b6aSPhilippe Mathieu-Daudé /* 7*8f968b6aSPhilippe Mathieu-Daudé * Generic target errno overridden with definitions taken 8*8f968b6aSPhilippe Mathieu-Daudé * from asm-sparc/errno.h 9*8f968b6aSPhilippe Mathieu-Daudé */ 10f0074723SPhilippe Mathieu-Daudé #undef TARGET_EWOULDBLOCK 11f0074723SPhilippe Mathieu-Daudé #define TARGET_EWOULDBLOCK TARGET_EAGAIN /* Operation would block */ 12f0074723SPhilippe Mathieu-Daudé #undef TARGET_EINPROGRESS 13f0074723SPhilippe Mathieu-Daudé #define TARGET_EINPROGRESS 36 /* Operation now in progress */ 14f0074723SPhilippe Mathieu-Daudé #undef TARGET_EALREADY 15f0074723SPhilippe Mathieu-Daudé #define TARGET_EALREADY 37 /* Operation already in progress */ 16f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOTSOCK 17f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOTSOCK 38 /* Socket operation on non-socket */ 18f0074723SPhilippe Mathieu-Daudé #undef TARGET_EDESTADDRREQ 19f0074723SPhilippe Mathieu-Daudé #define TARGET_EDESTADDRREQ 39 /* Destination address required */ 20f0074723SPhilippe Mathieu-Daudé #undef TARGET_EMSGSIZE 21f0074723SPhilippe Mathieu-Daudé #define TARGET_EMSGSIZE 40 /* Message too long */ 22f0074723SPhilippe Mathieu-Daudé #undef TARGET_EPROTOTYPE 23f0074723SPhilippe Mathieu-Daudé #define TARGET_EPROTOTYPE 41 /* Protocol wrong type for socket */ 24f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOPROTOOPT 25f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOPROTOOPT 42 /* Protocol not available */ 26f0074723SPhilippe Mathieu-Daudé #undef TARGET_EPROTONOSUPPORT 27f0074723SPhilippe Mathieu-Daudé #define TARGET_EPROTONOSUPPORT 43 /* Protocol not supported */ 28f0074723SPhilippe Mathieu-Daudé #undef TARGET_ESOCKTNOSUPPORT 29f0074723SPhilippe Mathieu-Daudé #define TARGET_ESOCKTNOSUPPORT 44 /* Socket type not supported */ 30f0074723SPhilippe Mathieu-Daudé #undef TARGET_EOPNOTSUPP 31f0074723SPhilippe Mathieu-Daudé #define TARGET_EOPNOTSUPP 45 /* Op not supported on transport endpoint */ 32f0074723SPhilippe Mathieu-Daudé #undef TARGET_EPFNOSUPPORT 33f0074723SPhilippe Mathieu-Daudé #define TARGET_EPFNOSUPPORT 46 /* Protocol family not supported */ 34f0074723SPhilippe Mathieu-Daudé #undef TARGET_EAFNOSUPPORT 35f0074723SPhilippe Mathieu-Daudé #define TARGET_EAFNOSUPPORT 47 /* Address family not supported by protocol */ 36f0074723SPhilippe Mathieu-Daudé #undef TARGET_EADDRINUSE 37f0074723SPhilippe Mathieu-Daudé #define TARGET_EADDRINUSE 48 /* Address already in use */ 38f0074723SPhilippe Mathieu-Daudé #undef TARGET_EADDRNOTAVAIL 39f0074723SPhilippe Mathieu-Daudé #define TARGET_EADDRNOTAVAIL 49 /* Cannot assign requested address */ 40f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENETDOWN 41f0074723SPhilippe Mathieu-Daudé #define TARGET_ENETDOWN 50 /* Network is down */ 42f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENETUNREACH 43f0074723SPhilippe Mathieu-Daudé #define TARGET_ENETUNREACH 51 /* Network is unreachable */ 44f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENETRESET 45f0074723SPhilippe Mathieu-Daudé #define TARGET_ENETRESET 52 /* Net dropped connection because of reset */ 46f0074723SPhilippe Mathieu-Daudé #undef TARGET_ECONNABORTED 47f0074723SPhilippe Mathieu-Daudé #define TARGET_ECONNABORTED 53 /* Software caused connection abort */ 48f0074723SPhilippe Mathieu-Daudé #undef TARGET_ECONNRESET 49f0074723SPhilippe Mathieu-Daudé #define TARGET_ECONNRESET 54 /* Connection reset by peer */ 50f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOBUFS 51f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOBUFS 55 /* No buffer space available */ 52f0074723SPhilippe Mathieu-Daudé #undef TARGET_EISCONN 53f0074723SPhilippe Mathieu-Daudé #define TARGET_EISCONN 56 /* Transport endpoint is already connected */ 54f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOTCONN 55f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOTCONN 57 /* Transport endpoint is not connected */ 56f0074723SPhilippe Mathieu-Daudé #undef TARGET_ESHUTDOWN 57f0074723SPhilippe Mathieu-Daudé #define TARGET_ESHUTDOWN 58 /* No send after transport endpoint shutdown*/ 58f0074723SPhilippe Mathieu-Daudé #undef TARGET_ETOOMANYREFS 59f0074723SPhilippe Mathieu-Daudé #define TARGET_ETOOMANYREFS 59 /* Too many references: cannot splice */ 60f0074723SPhilippe Mathieu-Daudé #undef TARGET_ETIMEDOUT 61f0074723SPhilippe Mathieu-Daudé #define TARGET_ETIMEDOUT 60 /* Connection timed out */ 62f0074723SPhilippe Mathieu-Daudé #undef TARGET_ECONNREFUSED 63f0074723SPhilippe Mathieu-Daudé #define TARGET_ECONNREFUSED 61 /* Connection refused */ 64f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELOOP 65f0074723SPhilippe Mathieu-Daudé #define TARGET_ELOOP 62 /* Too many symbolic links encountered */ 66f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENAMETOOLONG 67f0074723SPhilippe Mathieu-Daudé #define TARGET_ENAMETOOLONG 63 /* File name too long */ 68f0074723SPhilippe Mathieu-Daudé #undef TARGET_EHOSTDOWN 69f0074723SPhilippe Mathieu-Daudé #define TARGET_EHOSTDOWN 64 /* Host is down */ 70f0074723SPhilippe Mathieu-Daudé #undef TARGET_EHOSTUNREACH 71f0074723SPhilippe Mathieu-Daudé #define TARGET_EHOSTUNREACH 65 /* No route to host */ 72f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOTEMPTY 73f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOTEMPTY 66 /* Directory not empty */ 74f0074723SPhilippe Mathieu-Daudé #undef TARGET_EPROCLIM 75f0074723SPhilippe Mathieu-Daudé #define TARGET_EPROCLIM 67 /* SUNOS: Too many processes */ 76f0074723SPhilippe Mathieu-Daudé #undef TARGET_EUSERS 77f0074723SPhilippe Mathieu-Daudé #define TARGET_EUSERS 68 /* Too many users */ 78f0074723SPhilippe Mathieu-Daudé #undef TARGET_EDQUOT 79f0074723SPhilippe Mathieu-Daudé #define TARGET_EDQUOT 69 /* Quota exceeded */ 80f0074723SPhilippe Mathieu-Daudé #undef TARGET_ESTALE 81f0074723SPhilippe Mathieu-Daudé #define TARGET_ESTALE 70 /* Stale file handle */ 82f0074723SPhilippe Mathieu-Daudé #undef TARGET_EREMOTE 83f0074723SPhilippe Mathieu-Daudé #define TARGET_EREMOTE 71 /* Object is remote */ 84f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOSTR 85f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOSTR 72 /* Device not a stream */ 86f0074723SPhilippe Mathieu-Daudé #undef TARGET_ETIME 87f0074723SPhilippe Mathieu-Daudé #define TARGET_ETIME 73 /* Timer expired */ 88f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOSR 89f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOSR 74 /* Out of streams resources */ 90f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOMSG 91f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOMSG 75 /* No message of desired type */ 92f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBADMSG 93f0074723SPhilippe Mathieu-Daudé #define TARGET_EBADMSG 76 /* Not a data message */ 94f0074723SPhilippe Mathieu-Daudé #undef TARGET_EIDRM 95f0074723SPhilippe Mathieu-Daudé #define TARGET_EIDRM 77 /* Identifier removed */ 96f0074723SPhilippe Mathieu-Daudé #undef TARGET_EDEADLK 97f0074723SPhilippe Mathieu-Daudé #define TARGET_EDEADLK 78 /* Resource deadlock would occur */ 98f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOLCK 99f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOLCK 79 /* No record locks available */ 100f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENONET 101f0074723SPhilippe Mathieu-Daudé #define TARGET_ENONET 80 /* Machine is not on the network */ 102f0074723SPhilippe Mathieu-Daudé #undef TARGET_ERREMOTE 103f0074723SPhilippe Mathieu-Daudé #define TARGET_ERREMOTE 81 /* SunOS: Too many lvls of remote in path */ 104f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOLINK 105f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOLINK 82 /* Link has been severed */ 106f0074723SPhilippe Mathieu-Daudé #undef TARGET_EADV 107f0074723SPhilippe Mathieu-Daudé #define TARGET_EADV 83 /* Advertise error */ 108f0074723SPhilippe Mathieu-Daudé #undef TARGET_ESRMNT 109f0074723SPhilippe Mathieu-Daudé #define TARGET_ESRMNT 84 /* Srmount error */ 110f0074723SPhilippe Mathieu-Daudé #undef TARGET_ECOMM 111f0074723SPhilippe Mathieu-Daudé #define TARGET_ECOMM 85 /* Communication error on send */ 112f0074723SPhilippe Mathieu-Daudé #undef TARGET_EPROTO 113f0074723SPhilippe Mathieu-Daudé #define TARGET_EPROTO 86 /* Protocol error */ 114f0074723SPhilippe Mathieu-Daudé #undef TARGET_EMULTIHOP 115f0074723SPhilippe Mathieu-Daudé #define TARGET_EMULTIHOP 87 /* Multihop attempted */ 116f0074723SPhilippe Mathieu-Daudé #undef TARGET_EDOTDOT 117f0074723SPhilippe Mathieu-Daudé #define TARGET_EDOTDOT 88 /* RFS specific error */ 118f0074723SPhilippe Mathieu-Daudé #undef TARGET_EREMCHG 119f0074723SPhilippe Mathieu-Daudé #define TARGET_EREMCHG 89 /* Remote address changed */ 120f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOSYS 121f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOSYS 90 /* Function not implemented */ 122f0074723SPhilippe Mathieu-Daudé #undef TARGET_ESTRPIPE 123f0074723SPhilippe Mathieu-Daudé #define TARGET_ESTRPIPE 91 /* Streams pipe error */ 124f0074723SPhilippe Mathieu-Daudé #undef TARGET_EOVERFLOW 125f0074723SPhilippe Mathieu-Daudé #define TARGET_EOVERFLOW 92 /* Value too large for defined data type */ 126f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBADFD 127f0074723SPhilippe Mathieu-Daudé #define TARGET_EBADFD 93 /* File descriptor in bad state */ 128f0074723SPhilippe Mathieu-Daudé #undef TARGET_ECHRNG 129f0074723SPhilippe Mathieu-Daudé #define TARGET_ECHRNG 94 /* Channel number out of range */ 130f0074723SPhilippe Mathieu-Daudé #undef TARGET_EL2NSYNC 131f0074723SPhilippe Mathieu-Daudé #define TARGET_EL2NSYNC 95 /* Level 2 not synchronized */ 132f0074723SPhilippe Mathieu-Daudé #undef TARGET_EL3HLT 133f0074723SPhilippe Mathieu-Daudé #define TARGET_EL3HLT 96 /* Level 3 halted */ 134f0074723SPhilippe Mathieu-Daudé #undef TARGET_EL3RST 135f0074723SPhilippe Mathieu-Daudé #define TARGET_EL3RST 97 /* Level 3 reset */ 136f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELNRNG 137f0074723SPhilippe Mathieu-Daudé #define TARGET_ELNRNG 98 /* Link number out of range */ 138f0074723SPhilippe Mathieu-Daudé #undef TARGET_EUNATCH 139f0074723SPhilippe Mathieu-Daudé #define TARGET_EUNATCH 99 /* Protocol driver not attached */ 140f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOCSI 141f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOCSI 100 /* No CSI structure available */ 142f0074723SPhilippe Mathieu-Daudé #undef TARGET_EL2HLT 143f0074723SPhilippe Mathieu-Daudé #define TARGET_EL2HLT 101 /* Level 2 halted */ 144f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBADE 145f0074723SPhilippe Mathieu-Daudé #define TARGET_EBADE 102 /* Invalid exchange */ 146f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBADR 147f0074723SPhilippe Mathieu-Daudé #define TARGET_EBADR 103 /* Invalid request descriptor */ 148f0074723SPhilippe Mathieu-Daudé #undef TARGET_EXFULL 149f0074723SPhilippe Mathieu-Daudé #define TARGET_EXFULL 104 /* Exchange full */ 150f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOANO 151f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOANO 105 /* No anode */ 152f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBADRQC 153f0074723SPhilippe Mathieu-Daudé #define TARGET_EBADRQC 106 /* Invalid request code */ 154f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBADSLT 155f0074723SPhilippe Mathieu-Daudé #define TARGET_EBADSLT 107 /* Invalid slot */ 156f0074723SPhilippe Mathieu-Daudé #undef TARGET_EDEADLOCK 157f0074723SPhilippe Mathieu-Daudé #define TARGET_EDEADLOCK 108 /* File locking deadlock error */ 158f0074723SPhilippe Mathieu-Daudé #undef TARGET_EBFONT 159f0074723SPhilippe Mathieu-Daudé #define TARGET_EBFONT 109 /* Bad font file format */ 160f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELIBEXEC 161f0074723SPhilippe Mathieu-Daudé #define TARGET_ELIBEXEC 110 /* Cannot exec a shared library directly */ 162f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENODATA 163f0074723SPhilippe Mathieu-Daudé #define TARGET_ENODATA 111 /* No data available */ 164f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELIBBAD 165f0074723SPhilippe Mathieu-Daudé #define TARGET_ELIBBAD 112 /* Accessing a corrupted shared library */ 166f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOPKG 167f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOPKG 113 /* Package not installed */ 168f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELIBACC 169f0074723SPhilippe Mathieu-Daudé #define TARGET_ELIBACC 114 /* Can not access a needed shared library */ 170f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOTUNIQ 171f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOTUNIQ 115 /* Name not unique on network */ 172f0074723SPhilippe Mathieu-Daudé #undef TARGET_ERESTART 173f0074723SPhilippe Mathieu-Daudé #define TARGET_ERESTART 116 /* Interrupted syscall should be restarted */ 174f0074723SPhilippe Mathieu-Daudé #undef TARGET_EUCLEAN 175f0074723SPhilippe Mathieu-Daudé #define TARGET_EUCLEAN 117 /* Structure needs cleaning */ 176f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOTNAM 177f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOTNAM 118 /* Not a XENIX named type file */ 178f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENAVAIL 179f0074723SPhilippe Mathieu-Daudé #define TARGET_ENAVAIL 119 /* No XENIX semaphores available */ 180f0074723SPhilippe Mathieu-Daudé #undef TARGET_EISNAM 181f0074723SPhilippe Mathieu-Daudé #define TARGET_EISNAM 120 /* Is a named type file */ 182f0074723SPhilippe Mathieu-Daudé #undef TARGET_EREMOTEIO 183f0074723SPhilippe Mathieu-Daudé #define TARGET_EREMOTEIO 121 /* Remote I/O error */ 184f0074723SPhilippe Mathieu-Daudé #undef TARGET_EILSEQ 185f0074723SPhilippe Mathieu-Daudé #define TARGET_EILSEQ 122 /* Illegal byte sequence */ 186f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELIBMAX 187f0074723SPhilippe Mathieu-Daudé #define TARGET_ELIBMAX 123 /* Atmpt to link in too many shared libs */ 188f0074723SPhilippe Mathieu-Daudé #undef TARGET_ELIBSCN 189f0074723SPhilippe Mathieu-Daudé #define TARGET_ELIBSCN 124 /* .lib section in a.out corrupted */ 190f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOMEDIUM 191f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOMEDIUM 125 /* No medium found */ 192f0074723SPhilippe Mathieu-Daudé #undef TARGET_EMEDIUMTYPE 193f0074723SPhilippe Mathieu-Daudé #define TARGET_EMEDIUMTYPE 126 /* Wrong medium type */ 194f0074723SPhilippe Mathieu-Daudé #undef TARGET_ECANCELED 195f0074723SPhilippe Mathieu-Daudé #define TARGET_ECANCELED 127 /* Operation Cancelled */ 196f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOKEY 197f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOKEY 128 /* Required key not available */ 198f0074723SPhilippe Mathieu-Daudé #undef TARGET_EKEYEXPIRED 199f0074723SPhilippe Mathieu-Daudé #define TARGET_EKEYEXPIRED 129 /* Key has expired */ 200f0074723SPhilippe Mathieu-Daudé #undef TARGET_EKEYREVOKED 201f0074723SPhilippe Mathieu-Daudé #define TARGET_EKEYREVOKED 130 /* Key has been revoked */ 202f0074723SPhilippe Mathieu-Daudé #undef TARGET_EKEYREJECTED 203f0074723SPhilippe Mathieu-Daudé #define TARGET_EKEYREJECTED 131 /* Key was rejected by service */ 204f0074723SPhilippe Mathieu-Daudé #undef TARGET_EOWNERDEAD 205f0074723SPhilippe Mathieu-Daudé #define TARGET_EOWNERDEAD 132 /* Owner died */ 206f0074723SPhilippe Mathieu-Daudé #undef TARGET_ENOTRECOVERABLE 207f0074723SPhilippe Mathieu-Daudé #define TARGET_ENOTRECOVERABLE 133 /* State not recoverable */ 208f0074723SPhilippe Mathieu-Daudé #undef TARGET_ERFKILL 209f0074723SPhilippe Mathieu-Daudé #define TARGET_ERFKILL 134 /* Operation not possible due to RF-kill */ 210f0074723SPhilippe Mathieu-Daudé #undef TARGET_EHWPOISON 211f0074723SPhilippe Mathieu-Daudé #define TARGET_EHWPOISON 135 /* Memory page has hardware error */ 212f0074723SPhilippe Mathieu-Daudé #endif 213