• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020 Loongson Technology Corporation Limited
4  * Authors: Hanlu Li <lihanlu@loongson.cn>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 #ifndef _TRANS_MIPS_SYSCALLS_H
11 #define _TRANS_MIPS_SYSCALLS_H
12 
13 #define M_ENOMSG		35
14 #define M_EIDRM			36
15 #define M_ECHRNG		37
16 #define M_EL2NSYNC		38
17 #define M_EL3HLT		39
18 #define M_EL3RST		40
19 #define M_ELNRNG		41
20 #define M_EUNATCH		42
21 #define M_ENOCSI		43
22 #define M_EL2HLT		44
23 #define M_EDEADLK		45
24 #define M_ENOLCK		46
25 #define M_EBADE			50
26 #define M_EBADR			51
27 #define M_EXFULL		52
28 #define M_ENOANO		53
29 #define M_EBADRQC		54
30 #define M_EBADSLT		55
31 #define M_EBFONT		59
32 #define M_ENOSTR		60
33 #define M_ENODATA		61
34 #define M_ETIME			62
35 #define M_ENOSR			63
36 #define M_ENONET		64
37 #define M_ENOPKG		65
38 #define M_EREMOTE		66
39 #define M_ENOLINK		67
40 #define M_EADV			68
41 #define M_ESRMNT		69
42 #define M_ECOMM			70
43 #define M_EPROTO		71
44 #define M_EDOTDOT		73
45 #define M_EMULTIHOP		74
46 #define M_EBADMSG		77
47 #define M_ENAMETOOLONG		78
48 #define M_EOVERFLOW		79
49 #define M_ENOTUNIQ		80
50 #define M_EBADFD		81
51 #define M_EREMCHG		82
52 #define M_ELIBACC		83
53 #define M_ELIBBAD		84
54 #define M_ELIBSCN		85
55 #define M_ELIBMAX		86
56 #define M_ELIBEXEC		87
57 #define M_EILSEQ		88
58 #define M_ENOSYS		89
59 #define M_ELOOP			90
60 #define M_ERESTART		91
61 #define M_ESTRPIPE		92
62 #define M_ENOTEMPTY		93
63 #define M_EUSERS		94
64 #define M_ENOTSOCK		95
65 #define M_EDESTADDRREQ		96
66 #define M_EMSGSIZE		97
67 #define M_EPROTOTYPE		98
68 #define M_ENOPROTOOPT		99
69 #define M_EPROTONOSUPPORT	120
70 #define M_ESOCKTNOSUPPORT	121
71 #define M_EOPNOTSUPP		122
72 #define M_EPFNOSUPPORT		123
73 #define M_EAFNOSUPPORT		124
74 #define M_EADDRINUSE		125
75 #define M_EADDRNOTAVAIL		126
76 #define M_ENETDOWN		127
77 #define M_ENETUNREACH		128
78 #define M_ENETRESET		129
79 #define M_ECONNABORTED		130
80 #define M_ECONNRESET		131
81 #define M_ENOBUFS		132
82 #define M_EISCONN		133
83 #define M_ENOTCONN		134
84 #define M_EUCLEAN		135
85 #define M_ENOTNAM		137
86 #define M_ENAVAIL		138
87 #define M_EISNAM		139
88 #define M_EREMOTEIO		140
89 #define M_ESHUTDOWN		143
90 #define M_ETOOMANYREFS		144
91 #define M_ETIMEDOUT		145
92 #define M_ECONNREFUSED		146
93 #define M_EHOSTDOWN		147
94 #define M_EHOSTUNREACH		148
95 #define M_EALREADY		149
96 #define M_EINPROGRESS		150
97 #define M_ESTALE		151
98 #define M_ECANCELED		158
99 #define M_ENOMEDIUM		159
100 #define M_EMEDIUMTYPE		160
101 #define M_ENOKEY		161
102 #define M_EKEYEXPIRED		162
103 #define M_EKEYREVOKED		163
104 #define M_EKEYREJECTED		164
105 #define M_EOWNERDEAD		165
106 #define M_ENOTRECOVERABLE	166
107 #define M_ERFKILL		167
108 #define M_EHWPOISON		168
109 #define M_EDQUOT		1133
110 #endif /* _TRANS_MIPS_SYSCALLS_H  */
111