VirtualBox

root/trunk/include/iprt/err.mac

Revision 13702, 10.1 kB (checked in by vboxsync, 3 weeks ago)

VMM++: new EM status code VINF_EM_DBG_RING0_ASSERTION for distinguishing ring-0 and hyper assertions. Resynched the .mac files, hacking the x86.h sed transformations in the process.

  • Property svn:eol-style set to native
  • Property eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 %define VINF_SUCCESS    0
2 %define VERR_GENERAL_FAILURE    (-1)
3 %define VERR_INVALID_PARAMETER    (-2)
4 %define VWRN_INVALID_PARAMETER    2
5 %define VERR_INVALID_MAGIC    (-3)
6 %define VWRN_INVALID_MAGIC    3
7 %define VERR_INVALID_HANDLE    (-4)
8 %define VWRN_INVALID_HANDLE    4
9 %define VERR_LOCK_FAILED    (-5)
10 %define VERR_INVALID_POINTER    (-6)
11 %define VERR_IDT_FAILED    (-7)
12 %define VERR_NO_MEMORY    (-8)
13 %define VERR_ALREADY_LOADED    (-9)
14 %define VERR_PERMISSION_DENIED    (-10)
15 %define VERR_VERSION_MISMATCH    (-11)
16 %define VERR_NOT_IMPLEMENTED    (-12)
17 %define VERR_NO_TMP_MEMORY    (-20)
18 %define VERR_INVALID_FMODE    (-21)
19 %define VERR_WRONG_ORDER    (-22)
20 %define VERR_NO_TLS_FOR_SELF    (-23)
21 %define VERR_FAILED_TO_SET_SELF_TLS    (-24)
22 %define VERR_NO_CONT_MEMORY    (-26)
23 %define VERR_NO_PAGE_MEMORY    (-27)
24 %define VINF_ALREADY_INITIALIZED    28
25 %define VERR_THREAD_IS_DEAD    (-29)
26 %define VERR_THREAD_NOT_WAITABLE    (-30)
27 %define VERR_PAGE_TABLE_NOT_PRESENT    (-31)
28 %define VERR_INTERNAL_ERROR    (-32)
29 %define VERR_TIMER_BUSY    (-33)
30 %define VERR_ADDRESS_CONFLICT    (-34)
31 %define VERR_UNRESOLVED_ERROR    (-35)
32 %define VERR_INVALID_FUNCTION    (-36)
33 %define VERR_NOT_SUPPORTED    (-37)
34 %define VERR_ACCESS_DENIED    (-38)
35 %define VERR_INTERRUPTED    (-39)
36 %define VERR_TIMEOUT    (-40)
37 %define VERR_BUFFER_OVERFLOW    (-41)
38 %define VINF_BUFFER_OVERFLOW    41
39 %define VERR_TOO_MUCH_DATA    (-42)
40 %define VERR_MAX_THRDS_REACHED    (-43)
41 %define VERR_MAX_PROCS_REACHED    (-44)
42 %define VERR_SIGNAL_REFUSED    (-45)
43 %define VERR_SIGNAL_PENDING    (-46)
44 %define VERR_SIGNAL_INVALID    (-47)
45 %define VERR_STATE_CHANGED    (-48)
46 %define VWRN_STATE_CHANGED    48
47 %define VERR_INVALID_UUID_FORMAT    (-49)
48 %define VERR_PROCESS_NOT_FOUND    (-50)
49 %define VERR_PROCESS_RUNNING    (-51)
50 %define VERR_TRY_AGAIN    (-52)
51 %define VERR_PARSE_ERROR    (-53)
52 %define VERR_OUT_OF_RANGE    (-54)
53 %define VERR_NUMBER_TOO_BIG    (-55)
54 %define VWRN_NUMBER_TOO_BIG    55
55 %define VERR_NO_DIGITS    (-56)
56 %define VWRN_NO_DIGITS    56
57 %define VERR_NEGATIVE_UNSIGNED    (-57)
58 %define VWRN_NEGATIVE_UNSIGNED    57
59 %define VERR_NO_TRANSLATION    (-58)
60 %define VERR_CODE_POINT_ENDIAN_INDICATOR    (-59)
61 %define VERR_CODE_POINT_SURROGATE    (-60)
62 %define VERR_INVALID_UTF8_ENCODING    (-61)
63 %define VERR_INVALID_UTF16_ENCODING    (-62)
64 %define VERR_CANT_RECODE_AS_UTF16    (-63)
65 %define VERR_NO_STR_MEMORY    (-64)
66 %define VERR_NO_UTF16_MEMORY    (-65)
67 %define VERR_NO_CODE_POINT_MEMORY    (-66)
68 %define VERR_MEMORY_BUSY    (-67)
69 %define VERR_TIMER_ACTIVE    (-68)
70 %define VERR_TIMER_SUSPENDED    (-69)
71 %define VERR_CANCELLED    (-70)
72 %define VERR_MEMOBJ_INIT_FAILED    (-71)
73 %define VERR_NO_LOW_MEMORY    (-72)
74 %define VERR_NO_PHYS_MEMORY    (-73)
75 %define VERR_ADDRESS_TOO_BIG    (-74)
76 %define VERR_MAP_FAILED    (-75)
77 %define VERR_TRAILING_CHARS    (-76)
78 %define VWRN_TRAILING_CHARS    76
79 %define VERR_TRAILING_SPACES    (-77)
80 %define VWRN_TRAILING_SPACES    77
81 %define VERR_NOT_FOUND    (-78)
82 %define VWRN_NOT_FOUND    78
83 %define VERR_INVALID_STATE    (-79)
84 %define VWRN_INVALID_STATE    79
85 %define VERR_OUT_OF_RESOURCES    (-80)
86 %define VWRN_OUT_OF_RESOURCES    80
87 %define VERR_NO_MORE_HANDLES    (-81)
88 %define VERR_PREEMPT_DISABLED    (-82)
89 %define VERR_FILE_IO_ERROR    (-100)
90 %define VERR_OPEN_FAILED    (-101)
91 %define VERR_FILE_NOT_FOUND    (-102)
92 %define VERR_PATH_NOT_FOUND    (-103)
93 %define VERR_INVALID_NAME    (-104)
94 %define VERR_ALREADY_EXISTS    (-105)
95 %define VERR_TOO_MANY_OPEN_FILES    (-106)
96 %define VERR_SEEK    (-107)
97 %define VERR_NEGATIVE_SEEK    (-108)
98 %define VERR_SEEK_ON_DEVICE    (-109)
99 %define VERR_EOF    (-110)
100 %define VINF_EOF    110
101 %define VERR_READ_ERROR    (-111)
102 %define VERR_WRITE_ERROR    (-112)
103 %define VERR_WRITE_PROTECT    (-113)
104 %define VERR_SHARING_VIOLATION    (-114)
105 %define VERR_FILE_LOCK_FAILED    (-115)
106 %define VERR_FILE_LOCK_VIOLATION    (-116)
107 %define VERR_CANT_CREATE    (-117)
108 %define VERR_CANT_DELETE_DIRECTORY    (-118)
109 %define VERR_NOT_SAME_DEVICE    (-119)
110 %define VERR_FILENAME_TOO_LONG    (-120)
111 %define VERR_MEDIA_NOT_PRESENT    (-121)
112 %define VERR_MEDIA_NOT_RECOGNIZED    (-122)
113 %define VERR_FILE_NOT_LOCKED    (-123)
114 %define VERR_FILE_LOCK_LOST    (-124)
115 %define VERR_DIR_NOT_EMPTY    (-125)
116 %define VERR_NOT_A_DIRECTORY    (-126)
117 %define VERR_IS_A_DIRECTORY    (-127)
118 %define VERR_FILE_TOO_BIG    (-128)
119 %define VERR_DISK_IO_ERROR    (-150)
120 %define VERR_INVALID_DRIVE    (-151)
121 %define VERR_DISK_FULL    (-152)
122 %define VERR_DISK_CHANGE    (-153)
123 %define VERR_DRIVE_LOCKED    (-154)
124 %define VERR_DISK_INVALID_FORMAT    (-155)
125 %define VERR_TOO_MANY_SYMLINKS    (-156)
126 %define VERR_SEARCH_ERROR    (-200)
127 %define VERR_NO_MORE_FILES    (-201)
128 %define VERR_NO_MORE_SEARCH_HANDLES    (-202)
129 %define VWRN_NO_DIRENT_INFO    203
130 %define VERR_DEV_IO_ERROR    (-250)
131 %define VERR_IO_BAD_UNIT    (-251)
132 %define VERR_IO_NOT_READY    (-252)
133 %define VERR_IO_BAD_COMMAND    (-253)
134 %define VERR_IO_CRC    (-254)
135 %define VERR_IO_BAD_LENGTH    (-255)
136 %define VERR_IO_SECTOR_NOT_FOUND    (-256)
137 %define VERR_IO_GEN_FAILURE    (-257)
138 %define VERR_PIPE_IO_ERROR    (-300)
139 %define VERR_BROKEN_PIPE    (-301)
140 %define VERR_BAD_PIPE    (-302)
141 %define VERR_PIPE_BUSY    (-303)
142 %define VERR_NO_DATA    (-304)
143 %define VERR_PIPE_NOT_CONNECTED    (-305)
144 %define VERR_MORE_DATA    (-306)
145 %define VERR_SEM_ERROR    (-350)
146 %define VERR_TOO_MANY_SEMAPHORES    (-351)
147 %define VERR_EXCL_SEM_ALREADY_OWNED    (-352)
148 %define VERR_SEM_IS_SET    (-353)
149 %define VERR_TOO_MANY_SEM_REQUESTS    (-354)
150 %define VERR_NOT_OWNER    (-355)
151 %define VERR_TOO_MANY_OPENS    (-356)
152 %define VERR_TOO_MANY_POSTS    (-357)
153 %define VERR_ALREADY_POSTED    (-358)
154 %define VERR_ALREADY_RESET    (-359)
155 %define VERR_SEM_BUSY    (-360)
156 %define VERR_SEM_OWNER_DIED    (-361)
157 %define VERR_SEM_NOT_FOUND    (-362)
158 %define VERR_SEM_DESTROYED    (-363)
159 %define VERR_SEM_NESTED    (-364)
160 %define VERR_DEADLOCK    (-365)
161 %define VERR_SEM_OUT_OF_TURN    (-366)
162 %define VERR_NET_IO_ERROR    (-400)
163 %define VERR_NET_OUT_OF_RESOURCES    (-401)
164 %define VERR_NET_HOST_NOT_FOUND    (-402)
165 %define VERR_NET_PATH_NOT_FOUND    (-403)
166 %define VERR_NET_PRINT_ERROR    (-404)
167 %define VERR_NET_NO_NETWORK    (-405)
168 %define VERR_NET_NOT_UNIQUE_NAME    (-406)
169 %define VERR_NET_IN_PROGRESS    (-436)
170 %define VERR_NET_ALREADY_IN_PROGRESS    (-437)
171 %define VERR_NET_NOT_SOCKET    (-438)
172 %define VERR_NET_DEST_ADDRESS_REQUIRED    (-439)
173 %define VERR_NET_MSG_SIZE    (-440)
174 %define VERR_NET_PROTOCOL_TYPE    (-441)
175 %define VERR_NET_PROTOCOL_NOT_AVAILABLE    (-442)
176 %define VERR_NET_PROTOCOL_NOT_SUPPORTED    (-443)
177 %define VERR_NET_SOCKET_TYPE_NOT_SUPPORTED    (-444)
178 %define VERR_NET_OPERATION_NOT_SUPPORTED    (-445)
179 %define VERR_NET_PROTOCOL_FAMILY_NOT_SUPPORTED    (-446)
180 %define VERR_NET_ADDRESS_FAMILY_NOT_SUPPORTED    (-447)
181 %define VERR_NET_ADDRESS_IN_USE    (-448)
182 %define VERR_NET_ADDRESS_NOT_AVAILABLE    (-449)
183 %define VERR_NET_DOWN    (-450)
184 %define VERR_NET_UNREACHABLE    (-451)
185 %define VERR_NET_CONNECTION_RESET    (-452)
186 %define VERR_NET_CONNECTION_ABORTED    (-453)
187 %define VERR_NET_CONNECTION_RESET_BY_PEER    (-454)
188 %define VERR_NET_NO_BUFFER_SPACE    (-455)
189 %define VERR_NET_ALREADY_CONNECTED    (-456)
190 %define VERR_NET_NOT_CONNECTED    (-457)
191 %define VERR_NET_SHUTDOWN    (-458)
192 %define VERR_NET_TOO_MANY_REFERENCES    (-459)
193 %define VERR_NET_CONNECTION_TIMED_OUT    (-460)
194 %define VERR_NET_CONNECTION_REFUSED    (-461)
195 %define VERR_NET_HOST_DOWN    (-464)
196 %define VERR_NET_HOST_UNREACHABLE    (-465)
197 %define VERR_NET_PROTOCOL_ERROR    (-466)
198 %define VERR_TCP_SERVER_STOP    (-500)
199 %define VINF_TCP_SERVER_STOP    500
200 %define VERR_L4_INVALID_DS_OFFSET    (-550)
201 %define VERR_IPC    (-551)
202 %define VERR_RESOURCE_IN_USE    (-552)
203 %define VERR_IPC_PROCESS_NOT_FOUND    (-553)
204 %define VERR_IPC_RECEIVE_TIMEOUT    (-554)
205 %define VERR_IPC_SEND_TIMEOUT    (-555)
206 %define VERR_IPC_RECEIVE_CANCELLED    (-556)
207 %define VERR_IPC_SEND_CANCELLED    (-557)
208 %define VERR_IPC_RECEIVE_ABORTED    (-558)
209 %define VERR_IPC_SEND_ABORTED    (-559)
210 %define VERR_IPC_RECEIVE_MAP_FAILED    (-560)
211 %define VERR_IPC_SEND_MAP_FAILED    (-561)
212 %define VERR_IPC_RECEIVE_SEND_PF_TIMEOUT    (-562)
213 %define VERR_IPC_SEND_SEND_PF_TIMEOUT    (-563)
214 %define VINF_IPC_RECEIVE_MSG_CUT    564
215 %define VINF_IPC_SEND_MSG_CUT    565
216 %define VERR_L4_DS_MANAGER_NOT_FOUND    (-566)
217 %define VERR_INVALID_EXE_SIGNATURE    (-600)
218 %define VERR_ELF_EXE_NOT_SUPPORTED    (-601)
219 %define VERR_PE_EXE_NOT_SUPPORTED    (-602)
220 %define VERR_LX_EXE_NOT_SUPPORTED    (-603)
221 %define VERR_LE_EXE_NOT_SUPPORTED    (-604)
222 %define VERR_NE_EXE_NOT_SUPPORTED    (-605)
223 %define VERR_MZ_EXE_NOT_SUPPORTED    (-606)
224 %define VERR_AOUT_EXE_NOT_SUPPORTED    (-607)
225 %define VERR_BAD_EXE_FORMAT    (-608)
226 %define VERR_SYMBOL_NOT_FOUND    (-609)
227 %define VERR_MODULE_NOT_FOUND    (-610)
228 %define VERR_SYMBOL_VALUE_TOO_BIG    (-611)
229 %define VERR_IMAGE_TOO_BIG    (-612)
230 %define VERR_IMAGE_BASE_TOO_HIGH    (-614)
231 %define VERR_LDRPE_DELAY_IMPORT    (-620)
232 %define VERR_LDRPE_SECURITY    (-621)
233 %define VERR_LDRPE_GLOBALPTR    (-622)
234 %define VERR_LDRPE_TLS    (-623)
235 %define VERR_LDRPE_COM_DESCRIPTOR    (-624)
236 %define VERR_LDRPE_LOAD_CONFIG_SIZE    (-625)
237 %define VERR_LDRPE_LOCK_PREFIX_TABLE    (-626)
238 %define VERR_LDRELF_ODD_ENDIAN    (-630)
239 %define VERR_LDRELF_DYN    (-631)
240 %define VERR_LDRELF_EXEC    (-632)
241 %define VERR_LDRELF_MACHINE    (-633)
242 %define VERR_LDRELF_VERSION    (-634)
243 %define VERR_LDRELF_MULTIPLE_SYMTABS    (-635)
244 %define VERR_LDRELF_RELOCATION_NOT_SUPPORTED    (-636)
245 %define VERR_LDRELF_INVALID_SYMBOL_INDEX    (-637)
246 %define VERR_LDRELF_INVALID_SYMBOL_NAME_OFFSET    (-638)
247 %define VERR_LDRELF_INVALID_RELOCATION_OFFSET    (-639)
248 %define VERR_LDRELF_NO_SYMBOL_OR_NO_STRING_TABS    (-640)
249 %define VERR_DBGMOD_INVALID_ADDRESS    (-650)
250 %define VERR_RT_REQUEST_INVALID_TYPE    (-700)
251 %define VERR_RT_REQUEST_STATE    (-701)
252 %define VERR_RT_REQUEST_INVALID_PACKAGE    (-702)
253 %define VERR_RT_REQUEST_STATUS_STILL_PENDING    (-703)
254 %define VERR_RT_REQUEST_STATUS_FREED    (-704)
255 %define VERR_ENV_VAR_NOT_FOUND    (-750)
256 %define VINF_ENV_VAR_NOT_FOUND    (750)
257 %define VERR_CPU_OFFLINE    (-800)
258 %define VERR_CPU_NOT_FOUND    (-801)
259 %define VERR_GETOPT_UNKNOWN_OPTION    (-825)
260 %define VERR_GETOPT_REQUIRED_ARGUMENT_MISSING    (-826)
261 %define VERR_GETOPT_INVALID_ARGUMENT_FORMAT    (-827)
262 %define VERR_CACHE_FULL    (-850)
263 %define VERR_CACHE_EMPTY    (-851)
Note: See TracBrowser for help on using the browser.

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy