-
Notifications
You must be signed in to change notification settings - Fork 38
/
errors.h
359 lines (340 loc) · 21.4 KB
/
errors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
/* Copyright (C) 2011 - 2016 The uOFW team
See the file COPYING for copying permission.
*/
#ifndef COMMON_INCLUDED
# error "Only include common_asm.h, common_imp.h or common_header.h!"
#endif
/**
* uofw/include/common/errors.h
*
* Defines error codes used by the system software. Throughout the kernel, error codes
* are organized as negative values expressed in hexadecimal notation.
*/
/**
* PSP error value format
*
* 31 30 29 28 27 16 15 0
* +---+---+-------+------------------+-----------------------+
* | E | C | Rsrvd | F A C I L I T Y | E R R O R C O D E |
* +---+---+-------+------------------+-----------------------+
*
* bit 31: Error
* 1 = Error
* 0 = Success
*
* bit 30: Critical
* 1 = Critical error
* 0 = Normal error
*
* bits 29-28: Reserved
* always zero
*
* bits 27-16: Facility
* One of the below facility codes
*
* bits 15-0: Error code
* Define the concrete meaning of the error code. The meaning is depending
* on the facility code, in other words, if for two error values the
* error code fields are equal, but the facility differs, then the meaning of the
* error value might differ as well.
*
*/
/*
* Definition of facility codes
*/
#define SCE_ERROR_FACILITY_NULL 0x000
#define SCE_ERROR_FACILITY_ERRNO 0x001
#define SCE_ERROR_FACILITY_KERNEL 0x002
#define SCE_ERROR_FACILITY_REGISTRY 0x008
#define SCE_ERROR_FACILITY_VSH 0x010
#define SCE_ERROR_FACILITY_UTILITY 0x011
#define SCE_ERROR_FACILITY_SYSFILE 0x012
#define SCE_ERROR_FACILITY_MSAPP 0x013
#define SCE_ERROR_FACILITY_UMD 0x021
#define SCE_ERROR_FACILITY_MEMSTICK 0x022
#define SCE_ERROR_FACILITY_FLASH 0x023
#define SCE_ERROR_FACILITY_USB 0x024
#define SCE_ERROR_FACILITY_SYSCON 0x025
#define SCE_ERROR_FACILITY_AUDIO 0x026
#define SCE_ERROR_FACILITY_LFLASH 0x027
#define SCE_ERROR_FACILITY_LFATFS 0x028
#define SCE_ERROR_FACILITY_SIRCS 0x029
#define SCE_ERROR_FACILITY_IRDA 0x02A
#define SCE_ERROR_FACILITY_POWER 0x02B
#define SCE_ERROR_FACILITY_AUDIOROUTING 0x02C
#define SCE_ERROR_FACILITY_MEDIASYNC 0x02D
#define SCE_ERROR_FACILITY_PERIPH 0x03F
#define SCE_ERROR_FACILITY_NETWORK 0x041
#define SCE_ERROR_FACILITY_SAS 0x042
#define SCE_ERROR_FACILITY_HTTP 0x043
#define SCE_ERROR_FACILITY_WAVE 0x044
#define SCE_ERROR_FACILITY_SND 0x045
#define SCE_ERROR_FACILITY_FONT 0x046
#define SCE_ERROR_FACILITY_P3DA 0x047
#define SCE_ERROR_FACILITY_MAGICGATE 0x050
#define SCE_ERROR_FACILITY_CPHIO 0x051
#define SCE_ERROR_FACILITY_OPENPSID 0x052
#define SCE_ERROR_FACILITY_DNAS 0x053
#define SCE_ERROR_FACILITY_MTP 0x054
#define SCE_ERROR_FACILITY_NP 0x055
#define SCE_ERROR_FACILITY_GAMEUPDATE 0x056
#define SCE_ERROR_FACILITY_FMAC 0x057
#define SCE_ERROR_FACILITY_FACE 0x058
#define SCE_ERROR_FACILITY_LIBRARY 0x05F
#define SCE_ERROR_FACILITY_MPEG 0x061
#define SCE_ERROR_FACILITY_AVC 0x062
#define SCE_ERROR_FACILITY_ATRAC 0x063
#define SCE_ERROR_FACILITY_ASF 0x064
#define SCE_ERROR_FACILITY_JPEG 0x065
#define SCE_ERROR_FACILITY_AVI 0x066
#define SCE_ERROR_FACILITY_MP3 0x067
#define SCE_ERROR_FACILITY_G729 0x068
#define SCE_ERROR_FACILITY_AAC 0x069
#define SCE_ERROR_FACILITY_CODEC 0x07F
/*
* Error definitions belonging to SCE_ERROR_FACILITY_NULL
*/
#define SCE_ERROR_OK 0x0
#define SCE_ERROR_NOT_SUPPORTED 0x80000004
#define SCE_ERROR_ALREADY 0x80000020
#define SCE_ERROR_BUSY 0x80000021
#define SCE_ERROR_OUT_OF_MEMORY 0x80000022
#define SCE_ERROR_PRIV_REQUIRED 0x80000023
#define SCE_ERROR_NOT_FOUND 0x80000025
#define SCE_ERROR_ILLEGAL_CONTEXT 0x80000030
#define SCE_ERROR_CPUDI 0x80000031
#define SCE_ERROR_SEMAPHORE 0x80000041
#define SCE_ERROR_INVALID_ID 0x80000100
#define SCE_ERROR_INVALID_NAME 0x80000101
#define SCE_ERROR_INVALID_INDEX 0x80000102
#define SCE_ERROR_INVALID_POINTER 0x80000103
#define SCE_ERROR_INVALID_SIZE 0x80000104
#define SCE_ERROR_INVALID_FLAG 0x80000105
#define SCE_ERROR_INVALID_COMMAND 0x80000106
#define SCE_ERROR_INVALID_MODE 0x80000107
#define SCE_ERROR_INVALID_FORMAT 0x80000108
#define SCE_ERROR_INVALID_VALUE 0x800001FE
#define SCE_ERROR_INVALID_ARGUMENT 0x800001FF
#define SCE_ERROR_NOENT 0x80000202
#define SCE_ERROR_BAD_FILE 0x80000209
#define SCE_ERROR_ACCESS_ERROR 0x8000020D
#define SCE_ERROR_EXIST 0x80000211
#define SCE_ERROR_INVAL 0x80000216
#define SCE_ERROR_MFILE 0x80000218
#define SCE_ERROR_NOSPC 0x8000021C
#define SCE_ERROR_DFUNC 0x800002FF
/*
* Error definitions belonging to SCE_ERROR_FACILITY_ERRNO
*/
#define SCE_ERROR_ERRNO_OPERATION_NOT_PERMITTED 0x80010001
#define SCE_ERROR_ERRNO_FILE_NOT_FOUND 0x80010002
#define SCE_ERROR_ERRNO_FILE_OPEN_ERROR 0x80010003
#define SCE_ERROR_ERRNO_IO_ERROR 0x80010005
#define SCE_ERROR_ERRNO_ARG_LIST_TOO_LONG 0x80010007
#define SCE_ERROR_ERRNO_INVALID_FILE_DESCRIPTOR 0x80010009
#define SCE_ERROR_ERRNO_RESOURCE_UNAVAILABLE 0x8001000B
#define SCE_ERROR_ERRNO_NO_MEMORY 0x8001000C
#define SCE_ERROR_ERRNO_NO_PERM 0x8001000D
#define SCE_ERROR_ERRNO_FILE_INVALID_ADDR 0x8001000E
#define SCE_ERROR_ERRNO_DEVICE_BUSY 0x80010010
#define SCE_ERROR_ERRNO_FILE_ALREADY_EXISTS 0x80010011
#define SCE_ERROR_ERRNO_CROSS_DEV_LINK 0x80010012
#define SCE_ERROR_ERRNO_DEVICE_NOT_FOUND 0x80010013
#define SCE_ERROR_ERRNO_NOT_A_DIRECTORY 0x80010014
#define SCE_ERROR_ERRNO_IS_DIRECTORY 0x80010015
#define SCE_ERROR_ERRNO_INVALID_ARGUMENT 0x80010016
#define SCE_ERROR_ERRNO_TOO_MANY_OPEN_SYSTEM_FILES 0x80010018
#define SCE_ERROR_ERRNO_FILE_IS_TOO_BIG 0x8001001B
#define SCE_ERROR_ERRNO_DEVICE_NO_FREE_SPACE 0x8001001C
#define SCE_ERROR_ERRNO_READ_ONLY 0x8001001E
#define SCE_ERROR_ERRNO_CLOSED 0x80010020
// #define SCE_ERROR_ERRNO_EIDRM 0x80010024 -- Note: Keep this undefined.
#define SCE_ERROR_ERRNO_FILE_PROTOCOL 0x80010047
#define SCE_ERROR_ERRNO_DIRECTORY_IS_NOT_EMPTY 0x8001005A
#define SCE_ERROR_ERRNO_NAME_TOO_LONG 0x8001005B /* File name or path name too long */
#define SCE_ERROR_ERRNO_TOO_MANY_SYMBOLIC_LINKS 0x8001005C
#define SCE_ERROR_ERRNO_CONNECTION_RESET 0x80010068
#define SCE_ERROR_ERRNO_NO_FREE_BUF_SPACE 0x80010069
#define SCE_ERROR_ERRNO_ESHUTDOWN 0x8001006E /* Error sending package after socket was shutdown */
#define SCE_ERROR_ERRNO_EADDRINUSE 0x80010070 /* The address is already in use. */
#define SCE_ERROR_ERRNO_CONNECTION_ABORTED 0x80010071 /* Connection was aborted by software. */
#define SCE_ERROR_ERRNO_ETIMEDOUT 0x80010074 /* Operation timed out. */
#define SCE_ERROR_ERRNO_IN_PROGRESS 0x80010077
#define SCE_ERROR_ERRNO_ALREADY 0x80010078
#define SCE_ERROR_ERRNO_INVALID_PROTOCOL 0x8001007B /* Protocol is not supported. */
#define SCE_ERROR_ERRNO_INVALID_SOCKET_TYPE 0x8001007C /* Unsupported socket type. */
#define SCE_ERROR_ERRNO_ADDRESS_NOT_AVAILABLE 0x8001007D
#define SCE_ERROR_ERRNO_IS_ALREADY_CONNECTED 0x8001007F
#define SCE_ERROR_ERRNO_NOT_CONNECTED 0x80010080
#define SCE_ERROR_ERRNO_FILE_QUOTA_EXCEEDED 0x80010084
#define SCE_ERROR_ERRNO_NOT_SUPPORTED 0x80010086
#define SCE_ERROR_ERRNO_ENOMEDIUM 0x80010087 /* No medium was found. */
/*
* Non-standard error code definitions
*/
#define SCE_ERROR_ERRNO_ADDR_OUT_OF_MAIN_MEM 0x8001B001
#define SCE_ERROR_ERRNO_INVALID_UNIT_NUM 0x8001B002
#define SCE_ERROR_ERRNO_INVALID_FILE_SIZE 0x8001B003
#define SCE_ERROR_ERRNO_INVALID_FLAG 0x8001B004
#define SCE_ERROR_ERRNO_NO_CACHE 0x8001B005
#define SCE_ERROR_ERRNO_WRONG_MEDIUM_TYPE 0x8001B006
/*
* Flash memory (UMD, MS) up to 1.5.0 mistakenly had returned these values.
*/
#define SCE_ERROR_ERRNO150_ENAMETOOLONG 0x80010024
#define SCE_ERROR_ERRNO150_EADDRINUSE 0x80010062
#define SCE_ERROR_ERRNO150_ECONNABORTED 0x80010067
#define SCE_ERROR_ERRNO150_ETIMEDOUT 0x8001006E
#define SCE_ERROR_ERRNO150_ENOMEDIUM 0x8001007B
#define SCE_ERROR_ERRNO150_EMEDIUMTYPE 0x8001007C
#define SCE_ERROR_ERRNO150_ENOTSUP 0x8001B000
/*
* Error definitions belonging to SCE_ERROR_FACILITY_KERNEL
*/
#define SCE_ERROR_KERNEL_ERROR 0x80020001
#define SCE_ERROR_KERNEL_NOT_IMPLEMENTED 0x80020002
#define SCE_ERROR_KERNEL_CANNOT_BE_CALLED_FROM_INTERRUPT 0x80020064
#define SCE_ERROR_KERNEL_INTERRUPTS_ALREADY_DISABLED 0x80020066
#define SCE_ERROR_KERNEL_NO_TIMER 0x80020096
#define SCE_ERROR_KERNEL_ILLEGAL_TIMER_ID 0x80020097
#define SCE_ERROR_KERNEL_ILLEGAL_PRESCALE 0x80020099
#define SCE_ERROR_KERNEL_TIMER_BUSY 0x8002009A
#define SCE_ERROR_KERNEL_UNKNOWN_UID 0x800200CB
#define SCE_ERROR_KERNEL_UNMATCH_TYPE_UID 0x800200CC
#define SCE_ERROR_KERNEL_NOT_EXIST_ID 0x800200CD
#define SCE_ERROR_KERNEL_NOT_FOUND_FUNCTION_UID 0x800200CE
#define SCE_ERROR_KERNEL_ALREADY_HOLDER_UID 0x800200CF
#define SCE_ERROR_KERNEL_NOT_HOLDER_UID 0x800200D0
#define SCE_ERROR_KERNEL_ILLEGAL_PERMISSION 0x800200D1
#define SCE_ERROR_KERNEL_ILLEGAL_ARGUMENT 0x800200D2
#define SCE_ERROR_KERNEL_ILLEGAL_ADDR 0x800200D3
#define SCE_ERROR_KERNEL_MEMORY_AREA_OUT_OF_RANGE 0x800200D4
#define SCE_ERROR_KERNEL_MEMORY_AREA_IS_OVERLAP 0x800200D5
#define SCE_ERROR_KERNEL_ILLEGAL_PARTITION_ID 0x800200D6
#define SCE_ERROR_KERNEL_PARTITION_IN_USE 0x800200D7
#define SCE_ERROR_KERNEL_ILLEGAL_MEMBLOCK_ALLOC_TYPE 0x800200D8
#define SCE_ERROR_KERNEL_FAILED_ALLOC_MEMBLOCK 0x800200D9
#define SCE_ERROR_KERNEL_INHIBITED_RESIZE_MEMBLOCK 0x800200DA
#define SCE_ERROR_KERNEL_FAILED_RESIZE_MEMBLOCK 0x800200DB
#define SCE_ERROR_KERNEL_FAILED_ALLOC_HEAPBLOCK 0x800200DC
#define SCE_ERROR_KERNEL_FAILED_ALLOC_HEAP 0x800200DD
#define SCE_ERROR_KERNEL_ILLEGAL_CHUNK_ID 0x800200DE
#define SCE_ERROR_KERNEL_CANNOT_FIND_CHUNK_NAME 0x800200DF
#define SCE_ERROR_KERNEL_NO_FREE_CHUNK 0x800200E0
#define SCE_ERROR_KERNEL_MEMBLOCK_FRAGMENTED 0x800200E1
#define SCE_ERROR_KERNEL_MEMBLOCK_CANNOT_JOINT 0x800200E2
#define SCE_ERROR_KERNEL_MEMBLOCK_CANNOT_SEPARATE 0x800200E3
#define SCE_ERROR_KERNEL_ILLEGAL_ALIGNMENT_SIZE 0x800200E4
#define SCE_ERROR_KERNEL_ILLEGAL_DEVKIT_VER 0x800200E5
#define SCE_ERROR_KERNEL_MODULE_LINK_ERROR 0x8002012C
#define SCE_ERROR_KERNEL_ILLEGAL_OBJECT_FORMAT 0x8002012D
#define SCE_ERROR_KERNEL_UNKNOWN_MODULE 0x8002012E
#define SCE_ERROR_KERNEL_UNKNOWN_MODULE_FILE 0x8002012F
#define SCE_ERROR_KERNEL_FILE_READ_ERROR 0x80020130
#define SCE_ERROR_KERNEL_MEMORY_IN_USE 0x80020131
#define SCE_ERROR_KERNEL_PARTITION_MISMATCH 0x80020132
#define SCE_ERROR_KERNEL_MODULE_ALREADY_STARTED 0x80020133
#define SCE_ERROR_KERNEL_MODULE_NOT_STARTED 0x80020134
#define SCE_ERROR_KERNEL_MODULE_ALREADY_STOPPED 0x80020135
#define SCE_ERROR_KERNEL_MODULE_CANNOT_STOP 0x80020136
#define SCE_ERROR_KERNEL_MODULE_NOT_STOPPED 0x80020137
#define SCE_ERROR_KERNEL_MODULE_CANNOT_REMOVE 0x80020138
#define SCE_ERROR_KERNEL_EXCLUSIVE_LOAD 0x80020139
#define SCE_ERROR_KERNEL_LIBRARY_IS_NOT_LINKED 0x8002013A
#define SCE_ERROR_KERNEL_LIBRARY_ALREADY_EXISTS 0x8002013B
#define SCE_ERROR_KERNEL_LIBRARY_NOT_FOUND 0x8002013C
#define SCE_ERROR_KERNEL_ILLEGAL_LIBRARY_HEADER 0x8002013D
#define SCE_ERROR_KERNEL_LIBRARY_IN_USE 0x8002013E
#define SCE_ERROR_KERNEL_MODULE_ALREADY_STOPPING 0x8002013F
#define SCE_ERROR_KERNEL_ILLEGAL_OFFSET_VALUE 0x80020140
#define SCE_ERROR_KERNEL_ILLEGAL_POSITION_CODE 0x80020141
#define SCE_ERROR_KERNEL_ILLEGAL_ACCESS_CODE 0x80020142
#define SCE_ERROR_KERNEL_MODULE_MANAGER_BUSY 0x80020143
#define SCE_ERROR_KERNEL_ILLEGAL_FLAG 0x80020144
#define SCE_ERROR_KERNEL_CANNOT_GET_MODULE_LIST 0x80020145
#define SCE_ERROR_KERNEL_PROHIBIT_LOADMODULE_DEVICE 0x80020146
#define SCE_ERROR_KERNEL_PROHIBIT_LOADEXEC_DEVICE 0x80020147
#define SCE_ERROR_KERNEL_UNSUPPORTED_PRX_TYPE 0x80020148
#define SCE_ERROR_KERNEL_ILLEGAL_PERMISSION_CALL 0x80020149
#define SCE_ERROR_KERNEL_CANNOT_GET_MODULE_INFO 0x8002014A
#define SCE_ERROR_KERNEL_ILLEGAL_LOADEXEC_BUFFER 0x8002014B
#define SCE_ERROR_KERNEL_ILLEGAL_LOADEXEC_FILENAME 0x8002014C
#define SCE_ERROR_KERNEL_NO_EXIT_CALLBACK 0x8002014D
#define SCE_ERROR_KERNEL_MEDIA_CHANGED 0x8002014E
#define SCE_ERROR_KERNEL_CANNOT_USE_BETA_VER_MODULE 0x8002014F
#define SCE_ERROR_KERNEL_NO_MEMORY 0x80020190
#define SCE_ERROR_KERNEL_ILLEGAL_ATTR 0x80020191
#define SCE_ERROR_KERNEL_ILLEGAL_THREAD_ENTRY_ADDR 0x80020192
#define SCE_ERROR_KERNEL_ILLEGAL_PRIORITY 0x80020193
#define SCE_ERROR_KERNEL_ILLEGAL_STACK_SIZE 0x80020194
#define SCE_ERROR_KERNEL_ILLEGAL_MODE 0x80020195
#define SCE_ERROR_KERNEL_ILLEGAL_MASK 0x80020196
#define SCE_ERROR_KERNEL_ILLEGAL_THREAD 0x80020197
#define SCE_ERROR_KERNEL_NOT_FOUND_THREAD 0x80020198
#define SCE_ERROR_KERNEL_NOT_FOUND_SEMAPHORE 0x80020199
#define SCE_ERROR_KERNEL_NOT_FOUND_EVENT_FLAG 0x8002019A
#define SCE_ERROR_KERNEL_NOT_FOUND_MESSAGE_BOX 0x8002019B
#define SCE_ERROR_KERNEL_NOT_FOUND_VPOOL 0x8002019C
#define SCE_ERROR_KERNEL_NOT_FOUND_FPOOL 0x8002019D
#define SCE_ERROR_KERNEL_NOT_FOUND_MESSAGE_PIPE 0x8002019E
#define SCE_ERROR_KERNEL_NOT_FOUND_ALARM 0x8002019F
#define SCE_ERROR_KERNEL_NOT_FOUND_THREAD_EVENT_HANDLER 0x800201A0
#define SCE_ERROR_KERNEL_NOT_FOUND_CALLBACK 0x800201A1
#define SCE_ERROR_KERNEL_THREAD_ALREADY_DORMANT 0x800201A2
#define SCE_ERROR_KERNEL_THREAD_ALREADY_SUSPEND 0x800201A3
#define SCE_ERROR_KERNEL_THREAD_IS_NOT_DORMANT 0x800201A4
#define SCE_ERROR_KERNEL_THREAD_IS_NOT_SUSPEND 0x800201A5
#define SCE_ERROR_KERNEL_THREAD_IS_NOT_WAIT 0x800201A6
#define SCE_ERROR_KERNEL_WAIT_CAN_NOT_WAIT 0x800201A7
#define SCE_ERROR_KERNEL_WAIT_TIMEOUT 0x800201A8
#define SCE_ERROR_KERNEL_WAIT_CANCELLED 0x800201A9
#define SCE_ERROR_KERNEL_WAIT_STATUS_RELEASED 0x800201AA
#define SCE_ERROR_KERNEL_WAIT_STATUS_RELEASED_CALLBACK 0x800201AB
#define SCE_ERROR_KERNEL_THREAD_IS_TERMINATED 0x800201AC
#define SCE_ERROR_KERNEL_SEMA_ZERO 0x800201AD
#define SCE_ERROR_KERNEL_SEMA_OVERFLOW 0x800201AE
#define SCE_ERROR_KERNEL_EVENT_FLAG_POLL_FAILED 0x800201AF
#define SCE_ERROR_KERNEL_EVENT_FLAG_NO_MULTI_PERM 0x800201B0
#define SCE_ERROR_KERNEL_EVENT_FLAG_ILLEGAL_WAIT_PATTERN 0x800201B1
#define SCE_ERROR_KERNEL_MESSAGEBOX_NO_MESSAGE 0x800201B2
#define SCE_ERROR_KERNEL_MESSAGE_PIPE_FULL 0x800201B3
#define SCE_ERROR_KERNEL_MESSAGE_PIPE_EMPTY 0x800201B4
#define SCE_ERROR_KERNEL_WAIT_DELETE 0x800201B5
#define SCE_ERROR_KERNEL_ILLEGAL_MEMBLOCK 0x800201B6
#define SCE_ERROR_KERNEL_ILLEGAL_MEMSIZE 0x800201B7
#define SCE_ERROR_KERNEL_ILLEGAL_SCRATCHPAD_ADDR 0x800201B8
#define SCE_ERROR_KERNEL_SCRATCHPAD_IN_USE 0x800201B9
#define SCE_ERROR_KERNEL_SCRATCHPAD_NOT_IN_USE 0x800201BA
#define SCE_ERROR_KERNEL_ILLEGAL_TYPE 0x800201BB
#define SCE_ERROR_KERNEL_ILLEGAL_SIZE 0x800201BC
#define SCE_ERROR_KERNEL_ILLEGAL_COUNT 0x800201BD
#define SCE_ERROR_KERNEL_NOT_FOUND_VTIMER 0x800201BE
#define SCE_ERROR_KERNEL_ILLEGAL_VTIMER 0x800201BF
#define SCE_ERROR_KERNEL_ILLEGAL_KTLS 0x800201C0
#define SCE_ERROR_KERNEL_KTLS_IS_FULL 0x800201C1
#define SCE_ERROR_KERNEL_KTLS_IS_BUSY 0x800201C2
#define SCE_ERROR_KERNEL_MUTEX_NOT_FOUND 0x800201C3
#define SCE_ERROR_KERNEL_MUTEX_LOCKED 0x800201C4
#define SCE_ERROR_KERNEL_MUTEX_UNLOCKED 0x800201C5
#define SCE_ERROR_KERNEL_MUTEX_LOCK_OVERFLOW 0x800201C6
#define SCE_ERROR_KERNEL_MUTEX_UNLOCK_UNDERFLOW 0x800201C7
#define SCE_ERROR_KERNEL_MUTEX_RECURSIVE_NOT_ALLOWED 0x800201C8
#define SCE_ERROR_KERNEL_MESSAGEBOX_DUPLICATE_MESSAGE 0x800201C9
#define SCE_ERROR_KERNEL_LWMUTEX_NOT_FOUND 0x800201CA
#define SCE_ERROR_KERNEL_LWMUTEX_LOCKED 0x800201CB
#define SCE_ERROR_KERNEL_LWMUTEX_UNLOCKED 0x800201CC
#define SCE_ERROR_KERNEL_LWMUTEX_LOCK_OVERFLOW 0x800201CD
#define SCE_ERROR_KERNEL_LWMUTEX_UNLOCK_UNDERFLOW 0x800201CE
#define SCE_ERROR_KERNEL_LWMUTEX_RECURSIVE_NOT_ALLOWED 0x800201CF
#define SCE_ERROR_KERNEL_POWER_CANNOT_CANCEL 0x80020261
#define SCE_ERROR_KERNEL_TOO_MANY_OPEN_FILES 0x80020320
#define SCE_ERROR_KERNEL_NO_SUCH_DEVICE 0x80020321
#define SCE_ERROR_KERNEL_BAD_FILE_DESCRIPTOR 0x80020323
#define SCE_ERROR_KERNEL_INVALID_ARGUMENT 0x80020324
#define SCE_ERROR_KERNEL_UNSUPPORTED_OPERATION 0x80020325
#define SCE_ERROR_KERNEL_NOCWD 0x8002032C
#define SCE_ERROR_KERNEL_FILENAME_TOO_LONG 0x8002032D
#define SCE_ERROR_KERNEL_ASYNC_BUSY 0x80020329
#define SCE_ERROR_KERNEL_NO_ASYNC_OP 0x8002032A
#define SCE_ERROR_KERNEL_NOT_CACHE_ALIGNED 0x8002044C
#define SCE_ERROR_KERNEL_MAX_ERROR 0x8002044D