REpsp2
PSP2 OS reverse engineering
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
2#ifndef _SCE_KERNEL_ERROR_H
3#define _SCE_KERNEL_ERROR_H
4
5/*
6 * Generic kernel errors
7 * ("kernel errno")
8 */
9#define SCE_KERNEL_ERROR_ERROR -2147352575 /* 0x80020001 */
10#define SCE_KERNEL_ERROR_NOT_IMPLEMENTED -2147352574 /* 0x80020002 */
11#define SCE_KERNEL_ERROR_NOSYS -2147352573 /* 0x80020003 */
12#define SCE_KERNEL_ERROR_UNSUP -2147352572 /* 0x80020004 */
13#define SCE_KERNEL_ERROR_INVALID_ARGUMENT -2147352571 /* 0x80020005 */
14#define SCE_KERNEL_ERROR_ILLEGAL_ADDR -2147352570 /* 0x80020006 */
15#define SCE_KERNEL_ERROR_ILLEGAL_ALIGNMENT -2147352569 /* 0x80020007 */
16#define SCE_KERNEL_ERROR_ILLEGAL_PERMISSION -2147352568 /* 0x80020008 */
17#define SCE_KERNEL_ERROR_INVALID_ARGUMENT_SIZE -2147352567 /* 0x80020009 */
18#define SCE_KERNEL_ERROR_INVALID_FLAGS -2147352566 /* 0x8002000A */
19#define SCE_KERNEL_ERROR_ILLEGAL_SIZE -2147352565 /* 0x8002000B */
20#define SCE_KERNEL_ERROR_ILLEGAL_TYPE -2147352564 /* 0x8002000C */
21#define SCE_KERNEL_ERROR_ILLEGAL_PATTERN -2147352563 /* 0x8002000D */
22#define SCE_KERNEL_ERROR_ILLEGAL_ATTR -2147352562 /* 0x8002000E */
23#define SCE_KERNEL_ERROR_ILLEGAL_COUNT -2147352561 /* 0x8002000F */
24#define SCE_KERNEL_ERROR_ILLEGAL_MODE -2147352560 /* 0x80020010 */
25#define SCE_KERNEL_ERROR_ILLEGAL_OPEN_LIMIT -2147352559 /* 0x80020011 */
26#define SCE_KERNEL_ERROR_ONLY_DEVELOPMENT_MODE -2147352558 /* 0x80020012 */
27
28
29
30/*
31 * SceDebug errors
32 */
33#define SCE_KERNEL_ERROR_DEBUG_ERROR -2147348480 /* 0x80021000 */
34#define SCE_KERNEL_ERROR_ILLEGAL_DIPSW_NUMBER -2147348479 /* 0x80021001 */
35#define SCE_KERNEL_ERROR_PA_ERROR -2147348224 /* 0x80021100 */
36#define SCE_KERNEL_ERROR_PA_NOT_AVAILABLE -2147348223 /* 0x80021101 */
37#define SCE_KERNEL_ERROR_PA_INVALID_KEY -2147348222 /* 0x80021102 */
38#define SCE_KERNEL_ERROR_PA_KEY_IS_NOT_SHARED -2147348221 /* 0x80021103 */
39#define SCE_KERNEL_ERROR_PA_INVALID_SIGNATURE -2147348220 /* 0x80021104 */
40
41
42
43/*
44 * SceCpu errors
45 */
46#define SCE_KERNEL_ERROR_CPU_ERROR -2147344384 /* 0x80022000 */
47#define SCE_KERNEL_ERROR_MMU_ILLEGAL_L1_TYPE -2147344383 /* 0x80022001 */
48#define SCE_KERNEL_ERROR_MMU_L2_INDEX_OVERFLOW -2147344382 /* 0x80022002 */
49#define SCE_KERNEL_ERROR_MMU_L2_SIZE_OVERFLOW -2147344381 /* 0x80022003 */
50#define SCE_KERNEL_ERROR_INVALID_CPU_AFFINITY -2147344380 /* 0x80022004 */
51#define SCE_KERNEL_ERROR_INVALID_MEMORY_ACCESS -2147344379 /* 0x80022005 */
52#define SCE_KERNEL_ERROR_INVALID_MEMORY_ACCESS_PERMISSION -2147344378 /* 0x80022006 */
53#define SCE_KERNEL_ERROR_VA2PA_FAULT -2147344377 /* 0x80022007 */
54#define SCE_KERNEL_ERROR_VA2PA_MAPPED -2147344376 /* 0x80022008 */
55#define SCE_KERNEL_ERROR_VALIDATION_CHECK_FAILED -2147344375 /* 0x80022009 */
56#define SCE_KERNEL_ERROR_NOT_L2PTE -2147344374 /* 0x8002200A */
57#define SCE_KERNEL_ERROR_CPU_MMU_L1PTE_NOT_FAULT -2147344373 /* 0x8002200B */
58#define SCE_KERNEL_ERROR_CPU_MMU_L2PTE_NOT_FAULT -2147344372 /* 0x8002200C */
59
60
61
62/*
63 * SceSysmem errors
64 */
65#define SCE_KERNEL_ERROR_SYSMEM_ERROR -2147336192 /* 0x80024000 */
66#define SCE_KERNEL_ERROR_INVALID_PROCESS_CONTEXT -2147336191 /* 0x80024001 */
67#define SCE_KERNEL_ERROR_UID_NAME_TOO_LONG -2147336190 /* 0x80024002 */
68#define SCE_KERNEL_ERROR_VARANGE_IS_NOT_PHYSICAL_CONTINUOUS -2147336189 /* 0x80024003 */
69#define SCE_KERNEL_ERROR_NOT_PA_ADDRESS -2147336188 /* 0x80024004 */
70
71#define SCE_KERNEL_ERROR_PHYADDR_ERROR -2147335936 /* 0x80024100 */
72#define SCE_KERNEL_ERROR_NO_PHYADDR -2147335935 /* 0x80024101 */
73#define SCE_KERNEL_ERROR_PHYADDR_USED -2147335934 /* 0x80024102 */
74#define SCE_KERNEL_ERROR_PHYADDR_NOT_USED -2147335933 /* 0x80024103 */
75#define SCE_KERNEL_ERROR_NO_IOADDR -2147335932 /* 0x80024104 */
76
77#define SCE_KERNEL_ERROR_PHYMEM_ERROR -2147335424 /* 0x80024300 */
78#define SCE_KERNEL_ERROR_ILLEGAL_PHYPAGE_STATUS -2147335423 /* 0x80024301 */
79#define SCE_KERNEL_ERROR_NO_FREE_PHYSICAL_PAGE -2147335422 /* 0x80024302 */
80#define SCE_KERNEL_ERROR_NO_FREE_PHYSICAL_PAGE_UNIT -2147335421 /* 0x80024303 */
81#define SCE_KERNEL_ERROR_PHYMEMPART_NOT_EMPTY -2147335420 /* 0x80024304 */
82#define SCE_KERNEL_ERROR_NO_PHYMEMPART_LPDDR2 -2147335419 /* 0x80024305 */
83#define SCE_KERNEL_ERROR_NO_PHYMEMPART_CDRAM -2147335418 /* 0x80024306 */
84#define SCE_KERNEL_ERROR_PHYMEMPART_OUT_OF_INDEX -2147335417 /* 0x80024307 */
85#define SCE_KERNEL_ERROR_CANNOT_GROW_PHYMEMPART -2147335416 /* 0x80024308 */
86#define SCE_KERNEL_ERROR_NO_FREE_PHYSICAL_PAGE_CDRAM -2147335415 /* 0x80024309 */
87#define SCE_KERNEL_ERROR_INVALID_SUBBUDGET_ID -2147335414 /* 0x8002430A */
88#define SCE_KERNEL_ERROR_PHYMEMPART_NOT_ACTIVE -2147335413 /* 0x8002430B */
89
90#define SCE_KERNEL_ERROR_FIXEDHEAP_ERROR -2147335168 /* 0x80024400 */
91#define SCE_KERNEL_ERROR_FIXEDHEAP_ILLEGAL_SIZE -2147335167 /* 0x80024401 */
92#define SCE_KERNEL_ERROR_FIXEDHEAP_ILLEGAL_INDEX -2147335166 /* 0x80024402 */
93#define SCE_KERNEL_ERROR_FIXEDHEAP_INDEX_OVERFLOW -2147335165 /* 0x80024403 */
94#define SCE_KERNEL_ERROR_FIXEDHEAP_NO_CHUNK -2147335164 /* 0x80024404 */
95
96#define SCE_KERNEL_ERROR_UID_ERROR -2147334912 /* 0x80024500 */
97#define SCE_KERNEL_ERROR_INVALID_UID -2147334911 /* 0x80024501 */
98#define SCE_KERNEL_ERROR_SYSMEM_UID_INVALID_ARGUMENT -2147334910 /* 0x80024502 */
99#define SCE_KERNEL_ERROR_SYSMEM_INVALID_UID_RANGE -2147334909 /* 0x80024503 */
100#define SCE_KERNEL_ERROR_SYSMEM_NO_VALID_UID -2147334908 /* 0x80024504 */
101#define SCE_KERNEL_ERROR_SYSMEM_CANNOT_ALLOCATE_UIDENTRY -2147334907 /* 0x80024505 */
102#define SCE_KERNEL_ERROR_NOT_PROCESS_UID -2147334906 /* 0x80024506 */
103#define SCE_KERNEL_ERROR_NOT_KERNEL_UID -2147334905 /* 0x80024507 */
104#define SCE_KERNEL_ERROR_INVALID_UID_CLASS -2147334904 /* 0x80024508 */
105#define SCE_KERNEL_ERROR_INVALID_UID_SUBCLASS -2147334903 /* 0x80024509 */
106#define SCE_KERNEL_ERROR_UID_CANNOT_FIND_BY_NAME -2147334902 /* 0x8002450A */
107#define SCE_KERNEL_ERROR_UID_NOT_VISIBLE -2147334901 /* 0x8002450B */
108#define SCE_KERNEL_ERROR_UID_MAX_OPEN -2147334900 /* 0x8002450C */
109#define SCE_KERNEL_ERROR_UID_RL_OVERFLOW -2147334899 /* 0x8002450D */
110#define SCE_KERNEL_ERROR_UID_FOR_PRODCESS_OVERFLOW -2147334898 /* 0x8002450E */
111#define SCE_KERNEL_ERROR_UID_CLASS_NOT_FOUND -2147334897 /* 0x8002450F */
112#define SCE_KERNEL_ERROR_UID_LINK_COUNT_UNDERFLOW -2147334896 /* 0x80024510 */
113#define SCE_KERNEL_ERROR_UID_REFER_NOT_ZERO -2147334895 /* 0x80024511 */
114
115#define SCE_KERNEL_ERROR_VIRPAGE_ERROR -2147334656 /* 0x80024600 */
116#define SCE_KERNEL_ERROR_ILLEGAL_VIRPAGE_TYPE -2147334655 /* 0x80024601 */
117
118#define SCE_KERNEL_ERROR_BLOCK_ERROR -2147334400 /* 0x80024700 */
119#define SCE_KERNEL_ERROR_ILLEGAL_BLOCK_ID -2147334399 /* 0x80024701 */
120#define SCE_KERNEL_ERROR_ILLEGAL_BLOCK_TYPE -2147334398 /* 0x80024702 */
121#define SCE_KERNEL_ERROR_BLOCK_IN_USE -2147334397 /* 0x80024703 */
122
123#define SCE_KERNEL_ERROR_PARTITION_ERROR -2147334144 /* 0x80024800 */
124#define SCE_KERNEL_ERROR_ILLEGAL_PARTITION_ID -2147334143 /* 0x80024801 */
125#define SCE_KERNEL_ERROR_ILLEGAL_PARTITION_INDEX -2147334142 /* 0x80024802 */
126#define SCE_KERNEL_ERROR_NO_L2PAGETABLE -2147334141 /* 0x80024803 */
127#define SCE_KERNEL_ERROR_PARTITION_NO_VIRTUAL_ADDRESS -2147334140 /* 0x80024804 */
128
129#define SCE_KERNEL_ERROR_HEAPLIB_ERROR -2147333888 /* 0x80024900 */
130#define SCE_KERNEL_ERROR_ILLEGAL_HEAP_ID -2147333887 /* 0x80024901 */
131#define SCE_KERNEL_ERROR_OUT_OF_RANG -2147333886 /* 0x80024902 */
132#define SCE_KERNEL_ERROR_HEAPLIB_NOMEM -2147333885 /* 0x80024903 */
133#define SCE_KERNEL_ERROR_HEAPLIB_VERIFY_ERROR -2147333884 /* 0x80024904 */
134#define SCE_KERNEL_ERROR_HEAP_NOT_ACTIVE -2147333883 /* 0x80024905 */
135
136#define SCE_KERNEL_ERROR_SYSMEM_ADDRESS_SPACE_ERROR -2147333632 /* 0x80024A00 */
137#define SCE_KERNEL_ERROR_INVALID_ADDRESS_SPACE_ID -2147333631 /* 0x80024A01 */
138#define SCE_KERNEL_ERROR_INVALID_PARTITION_INDEX -2147333630 /* 0x80024A02 */
139#define SCE_KERNEL_ERROR_ADDRESS_SPACE_CANNOT_FIND_PARTITION_BY_ADDR -2147333629 /* 0x80024A03 */
140#define SCE_KERNEL_ERROR_ADDRESS_SPACE_CANNOT_FIND_L2PAGETABLE -2147333628 /* 0x80024A04 */
141
142#define SCE_KERNEL_ERROR_SYSMEM_MEMBLOCK_ERROR -2147333376 /* 0x80024B00 */
143#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK_TYPE -2147333375 /* 0x80024B01 */
144#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK_REMAP_TYPE -2147333374 /* 0x80024B02 */
145#define SCE_KERNEL_ERROR_NOT_PHY_CONT_MEMBLOCK -2147333373 /* 0x80024B03 */
146#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK_CODE -2147333372 /* 0x80024B04 */
147#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK_SIZE -2147333371 /* 0x80024B05 */
148#define SCE_KERNEL_ERROR_ILLEGAL_USERMAP_SIZE -2147333370 /* 0x80024B06 */
149#define SCE_KERNEL_ERROR_MEMBLOCK_TYPE_FOR_KERNEL_PROCESS -2147333369 /* 0x80024B07 */
150#define SCE_KERNEL_ERROR_PROCESS_CANNOT_REMAP_MEMBLOCK -2147333368 /* 0x80024B08 */
151#define SCE_KERNEL_ERROR_MEMBLOCK_RANGE_ERROR -2147333367 /* 0x80024B09 */
152#define SCE_KERNEL_ERROR_MEMBLOCK_TYPE_FOR_UPDATER_OR_SAFEMODE -2147333366 /* 0x80024B0A */
153#define SCE_KERNEL_ERROR_MEMBLOCK_OVERFLOW -2147333365 /* 0x80024B0B */
154#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK_PERMISSION -2147333364 /* 0x80024B0C */
155#define SCE_KERNEL_ERROR_MEMBLOCK_NOT_ALLOW_REMAP_OP -2147333363 /* 0x80024B0D */
156#define SCE_KERNEL_ERROR_ADDRESS_SPACE_LOCK_ERROR -2147333362 /* 0x80024B0E */
157#define SCE_KERNEL_ERROR_ADDRESS_SPACE_UNLOCK_ERROR -2147333361 /* 0x80024B0F */
158#define SCE_KERNEL_ERROR_MEMBLOCK_LOCKED -2147333360 /* 0x80024B10 */
159#define SCE_KERNEL_ERROR_NO_SMB -2147333359 /* 0x80024B11 */
160
161#define SCE_KERNEL_ERROR_SYSMEM_PHYMEMLOW_ERROR -2147333120 /* 0x80024C00 */
162#define SCE_KERNEL_ERROR_CANNOT_ALLOC_PHYMEMLOW -2147333119 /* 0x80024C01 */
163#define SCE_KERNEL_ERROR_UNKNOWN_PHYMEMLOW_TYPE -2147333118 /* 0x80024C02 */
164
165#define SCE_KERNEL_ERROR_SYSMEM_BITHEAP_ERROR -2147332864 /* 0x80024D00 */
166#define SCE_KERNEL_ERROR_CANNOT_ALLOC_BITHEAP -2147332863 /* 0x80024D01 */
167
168#define SCE_KERNEL_ERROR_SYSMEM_NAMEHEAP_ERROR -2147332608 /* 0x80024E00 */
169#define SCE_KERNEL_ERROR_NO_SUCH_NAME -2147332607 /* 0x80024E01 */
170#define SCE_KERNEL_ERROR_DUPLICATE_NAME -2147332606 /* 0x80024E02 */
171#define SCE_KERNEL_ERROR_NONAMEHEAP -2147332605 /* 0x80024E03 */
172
173#define SCE_KERNEL_ERROR_LOADCORE_ERROR -2147332096 /* 0x80025000 */
174#define SCE_KERNEL_ERROR_ILLEGAL_ELF_HEADER -2147332095 /* 0x80025001 */
175#define SCE_KERNEL_ERROR_ILLEGAL_SELF_HEADER -2147332094 /* 0x80025002 */
176
177
178
179/*
180 * SceExcpmgr errors
181 */
182#define SCE_KERNEL_ERROR_EXCPMGR_ERROR -2147323904 /* 0x80027000 */
183#define SCE_KERNEL_ERROR_ILLEGAL_EXCPCODE -2147323903 /* 0x80027001 */
184#define SCE_KERNEL_ERROR_ILLEGAL_EXCPHANDLER -2147323902 /* 0x80027002 */
185#define SCE_KERNEL_ERROR_NOTFOUND_EXCPHANDLER -2147323901 /* 0x80027003 */
186#define SCE_KERNEL_ERROR_CANNOT_RELEASE_EXCPHANDLER -2147323900 /* 0x80027004 */
187
188
189
190/*
191 * SceKernelIntrMgr errors
192 */
193#define SCE_KERNEL_ERROR_INTRMGR_ERROR -2147323648 /* 0x80027100 */
194#define SCE_KERNEL_ERROR_ILLEGAL_CONTEXT -2147323647 /* 0x80027101 */
195#define SCE_KERNEL_ERROR_ILLEGAL_INTRCODE -2147323646 /* 0x80027102 */
196#define SCE_KERNEL_ERROR_ILLEGAL_INTRPARAM -2147323645 /* 0x80027103 */
197#define SCE_KERNEL_ERROR_ILLEGAL_INTRPRIORITY -2147323644 /* 0x80027104 */
198#define SCE_KERNEL_ERROR_ILLEGAL_TARGET_CPU -2147323643 /* 0x80027105 */
199#define SCE_KERNEL_ERROR_ILLEGAL_INTRFILTER -2147323642 /* 0x80027106 */
200#define SCE_KERNEL_ERROR_ILLEGAL_INTRTYPE -2147323641 /* 0x80027107 */
201#define SCE_KERNEL_ERROR_ILLEGAL_HANDLER -2147323640 /* 0x80027108 */
202#define SCE_KERNEL_ERROR_FOUND_HANDLER -2147323639 /* 0x80027109 */
203#define SCE_KERNEL_ERROR_NOTFOUND_HANDLER -2147323638 /* 0x8002710A */
204#define SCE_KERNEL_ERROR_NO_MEMORY -2147323637 /* 0x8002710B */
205#define SCE_KERNEL_ERROR_ILLEGAL_SYSCALL_NUMBER -2147323636 /* 0x8002710C */
206
207
208
209/*
210 * SceKernelDmacMgr errors
211 */
212#define SCE_KERNEL_ERROR_DMACMGR_ERROR -2147323392 /* 0x80027200 */
213#define SCE_KERNEL_ERROR_ALREADY_QUEUED -2147323391 /* 0x80027201 */
214#define SCE_KERNEL_ERROR_NOT_QUEUED -2147323390 /* 0x80027202 */
215#define SCE_KERNEL_ERROR_NOT_SETUP -2147323389 /* 0x80027203 */
216#define SCE_KERNEL_ERROR_ON_TRANSFERRING -2147323388 /* 0x80027204 */
217#define SCE_KERNEL_ERROR_NOT_INITIALIZED -2147323387 /* 0x80027205 */
218#define SCE_KERNEL_ERROR_TRANSFERRED -2147323386 /* 0x80027206 */
219#define SCE_KERNEL_ERROR_NOT_UNDER_CONTROL -2147323385 /* 0x80027207 */
220#define SCE_KERNEL_ERROR_CANCELING -2147323384 /* 0x80027208 */
221
222
223
224/*
225 * SceSystimer errors
226 */
227#define SCE_KERNEL_ERROR_SYSTIMER_ERROR -2147323136 /* 0x80027300 */
228#define SCE_KERNEL_ERROR_NO_FREE_TIMER -2147323135 /* 0x80027301 */
229#define SCE_KERNEL_ERROR_TIMER_NOT_ALLOCATED -2147323134 /* 0x80027302 */
230#define SCE_KERNEL_ERROR_TIMER_COUNTING -2147323133 /* 0x80027303 */
231#define SCE_KERNEL_ERROR_TIMER_STOPPED -2147323132 /* 0x80027304 */
232
233
234
235/*
236 * SceKernelThreadMgr errors
237 */
238#define SCE_KERNEL_ERROR_THREADMGR_ERROR -2147319808 /* 0x80028000 */
239#define SCE_KERNEL_ERROR_UNKNOWN_UID -2147319807 /* 0x80028001 */
240#define SCE_KERNEL_ERROR_DIFFERENT_UID_CLASS -2147319806 /* 0x80028002 */
241#define SCE_KERNEL_ERROR_ALREADY_REGISTERED -2147319805 /* 0x80028003 */
242#define SCE_KERNEL_ERROR_CAN_NOT_WAIT -2147319804 /* 0x80028004 */
243#define SCE_KERNEL_ERROR_WAIT_TIMEOUT -2147319803 /* 0x80028005 */
244#define SCE_KERNEL_ERROR_WAIT_DELETE -2147319802 /* 0x80028006 */
245#define SCE_KERNEL_ERROR_WAIT_CANCEL -2147319801 /* 0x80028007 */
246
247#define SCE_KERNEL_ERROR_THREAD_ERROR -2147319776 /* 0x80028020 */
248#define SCE_KERNEL_ERROR_UNKNOWN_THREAD_ID -2147319775 /* 0x80028021 */
249#define SCE_KERNEL_ERROR_ILLEGAL_THREAD_ID -2147319774 /* 0x80028022 */
250#define SCE_KERNEL_ERROR_ILLEGAL_PRIORITY -2147319773 /* 0x80028023 */
251#define SCE_KERNEL_ERROR_ILLEGAL_STACK_SIZE -2147319772 /* 0x80028024 */
252#define SCE_KERNEL_ERROR_ILLEGAL_CPU_AFFINITY_MASK -2147319771 /* 0x80028025 */
253#define SCE_KERNEL_ERROR_ILLEGAL_THREAD_PARAM_COMBINATION -2147319770 /* 0x80028026 */
254#define SCE_KERNEL_ERROR_DORMANT -2147319769 /* 0x80028027 */
255#define SCE_KERNEL_ERROR_NOT_DORMANT -2147319768 /* 0x80028028 */
256#define SCE_KERNEL_ERROR_RUNNING -2147319767 /* 0x80028029 */
257#define SCE_KERNEL_ERROR_DELETED -2147319766 /* 0x8002802A */
258#define SCE_KERNEL_ERROR_CAN_NOT_SUSPEND -2147319765 /* 0x8002802B */
259#define SCE_KERNEL_ERROR_THREAD_STOPPED -2147319764 /* 0x8002802C */
260#define SCE_KERNEL_ERROR_THREAD_SUSPENDED -2147319763 /* 0x8002802D */
261#define SCE_KERNEL_ERROR_NOT_SUSPENDED -2147319762 /* 0x8002802E */
262#define SCE_KERNEL_ERROR_ALREADY_DEBUG_SUSPENDED -2147319761 /* 0x8002802F */
263
264#define SCE_KERNEL_ERROR_NOT_DEBUG_SUSPENDED -2147319760 /* 0x80028030 */
265#define SCE_KERNEL_ERROR_CAN_NOT_USE_VFP -2147319759 /* 0x80028031 */
266#define SCE_KERNEL_ERROR_SUSPEND_COUNT_OVF -2147319758 /* 0x80028032 */
267#define SCE_KERNEL_ERROR_SUSPEND_COUNT_UDF -2147319757 /* 0x80028033 */
268
269#define SCE_KERNEL_ERROR_THREAD_EVENT_ERROR -2147319712 /* 0x80028060 */
270#define SCE_KERNEL_ERROR_UNKNOWN_THREAD_EVENT_ID -2147319711 /* 0x80028061 */
271
272#define SCE_KERNEL_ERROR_KERNEL_TLS_ERROR -2147319680 /* 0x80028080 */
273#define SCE_KERNEL_ERROR_KERNEL_TLS_FULL -2147319679 /* 0x80028081 */
274#define SCE_KERNEL_ERROR_ILLEGAL_KERNEL_TLS_INDEX -2147319678 /* 0x80028082 */
275#define SCE_KERNEL_ERROR_KERNEL_TLS_BUSY -2147319677 /* 0x80028083 */
276
277#define SCE_KERNEL_ERROR_CALLBACK_ERROR -2147319648 /* 0x800280A0 */
278#define SCE_KERNEL_ERROR_UNKNOWN_CALLBACK_ID -2147319647 /* 0x800280A1 */
279#define SCE_KERNEL_ERROR_NOTIFY_CALLBACK -2147319646 /* 0x800280A2 */
280#define SCE_KERNEL_ERROR_CALLBACK_NOT_REGISTERED -2147319645 /* 0x800280A3 */
281
282#define SCE_KERNEL_ERROR_ALARM_ERROR -2147319616 /* 0x800280C0 */
283#define SCE_KERNEL_ERROR_UNKNOWN_ALARM_ID -2147319615 /* 0x800280C1 */
284#define SCE_KERNEL_ERROR_ALARM_CAN_NOT_CANCEL -2147319614 /* 0x800280C2 */
285
286#define SCE_KERNEL_ERROR_EVF_ERROR -2147319584 /* 0x800280E0 */
287#define SCE_KERNEL_ERROR_UNKNOWN_EVF_ID -2147319583 /* 0x800280E1 */
288#define SCE_KERNEL_ERROR_EVF_MULTI -2147319582 /* 0x800280E2 */
289#define SCE_KERNEL_ERROR_EVF_COND -2147319581 /* 0x800280E3 */
290
291#define SCE_KERNEL_ERROR_SEMA_ERROR -2147319552 /* 0x80028100 */
292#define SCE_KERNEL_ERROR_UNKNOWN_SEMA_ID -2147319551 /* 0x80028101 */
293#define SCE_KERNEL_ERROR_SEMA_ZERO -2147319550 /* 0x80028102 */
294#define SCE_KERNEL_ERROR_SEMA_OVF -2147319549 /* 0x80028103 */
295
296#define SCE_KERNEL_ERROR_SIGNAL_ERROR -2147319520 /* 0x80028120 */
297#define SCE_KERNEL_ERROR_ALREADY_SENT -2147319519 /* 0x80028121 */
298
299#define SCE_KERNEL_ERROR_MUTEX_ERROR -2147319488 /* 0x80028140 */
300#define SCE_KERNEL_ERROR_UNKNOWN_MUTEX_ID -2147319487 /* 0x80028141 */
301#define SCE_KERNEL_ERROR_MUTEX_RECURSIVE -2147319486 /* 0x80028142 */
302#define SCE_KERNEL_ERROR_MUTEX_LOCK_OVF -2147319485 /* 0x80028143 */
303#define SCE_KERNEL_ERROR_MUTEX_UNLOCK_UDF -2147319484 /* 0x80028144 */
304#define SCE_KERNEL_ERROR_MUTEX_FAILED_TO_OWN -2147319483 /* 0x80028145 */
305#define SCE_KERNEL_ERROR_MUTEX_NOT_OWNED -2147319482 /* 0x80028146 */
306
307#define SCE_KERNEL_ERROR_FAST_MUTEX_ERROR -2147319456 /* 0x80028160 */
308#define SCE_KERNEL_ERROR_UNKNOWN_FAST_MUTEX_ID -2147319455 /* 0x80028161 */
309#define SCE_KERNEL_ERROR_FAST_MUTEX_RECURSIVE -2147319454 /* 0x80028162 */
310#define SCE_KERNEL_ERROR_FAST_MUTEX_LOCK_OVF -2147319453 /* 0x80028163 */
311#define SCE_KERNEL_ERROR_FAST_MUTEX_FAILED_TO_OWN -2147319452 /* 0x80028164 */
312#define SCE_KERNEL_ERROR_FAST_MUTEX_NOT_OWNED -2147319451 /* 0x80028165 */
313#define SCE_KERNEL_ERROR_FAST_MUTEX_OWNED -2147319450 /* 0x80028166 */
314#define SCE_KERNEL_ERROR_FAST_MUTEX_ALREADY_INITIALIZED -2147319449 /* 0x80028167 */
315#define SCE_KERNEL_ERROR_FAST_MUTEX_NOT_INITIALIZED -2147319448 /* 0x80028168 */
316
317#define SCE_KERNEL_ERROR_LW_MUTEX_ERROR -2147319424 /* 0x80028180 */
318#define SCE_KERNEL_ERROR_UNKNOWN_LW_MUTEX_ID -2147319423 /* 0x80028181 */
319#define SCE_KERNEL_ERROR_LW_MUTEX_RECURSIVE -2147319422 /* 0x80028182 */
320#define SCE_KERNEL_ERROR_LW_MUTEX_LOCK_OVF -2147319421 /* 0x80028183 */
321#define SCE_KERNEL_ERROR_LW_MUTEX_UNLOCK_UDF -2147319420 /* 0x80028184 */
322#define SCE_KERNEL_ERROR_LW_MUTEX_FAILED_TO_OWN -2147319419 /* 0x80028185 */
323#define SCE_KERNEL_ERROR_LW_MUTEX_NOT_OWNED -2147319418 /* 0x80028186 */
324#define SCE_KERNEL_ERROR_LW_MUTEX_CAN_NOT_ACCESS -2147319417 /* 0x80028187 */
325
326#define SCE_KERNEL_ERROR_COND_ERROR -2147319392 /* 0x800281A0 */
327#define SCE_KERNEL_ERROR_UNKNOWN_COND_ID -2147319391 /* 0x800281A1 */
328#define SCE_KERNEL_ERROR_WAIT_DELETE_MUTEX -2147319390 /* 0x800281A2 */
329#define SCE_KERNEL_ERROR_WAIT_CANCEL_MUTEX -2147319389 /* 0x800281A3 */
330#define SCE_KERNEL_ERROR_WAIT_DELETE_COND -2147319388 /* 0x800281A4 */
331#define SCE_KERNEL_ERROR_WAIT_CANCEL_COND -2147319387 /* 0x800281A5 */
332
333#define SCE_KERNEL_ERROR_LW_COND_ERROR -2147319360 /* 0x800281C0 */
334#define SCE_KERNEL_ERROR_UNKNOWN_LW_COND_ID -2147319359 /* 0x800281C1 */
335#define SCE_KERNEL_ERROR_WAIT_DELETE_LW_MUTEX -2147319358 /* 0x800281C2 */
336#define SCE_KERNEL_ERROR_WAIT_DELETE_LW_COND -2147319357 /* 0x800281C3 */
337
338#define SCE_KERNEL_ERROR_RW_LOCK_ERROR -2147319328 /* 0x800281E0 */
339#define SCE_KERNEL_ERROR_UNKNOWN_RW_LOCK_ID -2147319327 /* 0x800281E1 */
340#define SCE_KERNEL_ERROR_RW_LOCK_RECURSIVE -2147319326 /* 0x800281E2 */
341#define SCE_KERNEL_ERROR_RW_LOCK_LOCK_OVF -2147319325 /* 0x800281E3 */
342#define SCE_KERNEL_ERROR_RW_LOCK_NOT_OWNED -2147319324 /* 0x800281E4 */
343#define SCE_KERNEL_ERROR_RW_LOCK_UNLOCK_UDF -2147319323 /* 0x800281E5 */
344#define SCE_KERNEL_ERROR_RW_LOCK_FAILED_TO_LOCK -2147319322 /* 0x800281E6 */
345#define SCE_KERNEL_ERROR_RW_LOCK_FAILED_TO_UNLOCK -2147319321 /* 0x800281E7 */
346
347#define SCE_KERNEL_ERROR_EVENT_ERROR -2147319296 /* 0x80028200 */
348#define SCE_KERNEL_ERROR_UNKNOWN_EVENT_ID -2147319295 /* 0x80028201 */
349#define SCE_KERNEL_ERROR_EVENT_COND -2147319294 /* 0x80028202 */
350
351#define SCE_KERNEL_ERROR_MSG_PIPE_ERROR -2147319264 /* 0x80028220 */
352#define SCE_KERNEL_ERROR_UNKNOWN_MSG_PIPE_ID -2147319263 /* 0x80028221 */
353#define SCE_KERNEL_ERROR_MSG_PIPE_FULL -2147319262 /* 0x80028222 */
354#define SCE_KERNEL_ERROR_MSG_PIPE_EMPTY -2147319261 /* 0x80028223 */
355#define SCE_KERNEL_ERROR_MSG_PIPE_DELETED -2147319260 /* 0x80028224 */
356#define SCE_KERNEL_ERROR_MSG_PIPE_ASYNC_REQUEST_OVF -2147319259 /* 0x80028225 */
357
358#define SCE_KERNEL_ERROR_TIMER_ERROR -2147319232 /* 0x80028240 */
359#define SCE_KERNEL_ERROR_UNKNOWN_TIMER_ID -2147319231 /* 0x80028241 */
360#define SCE_KERNEL_ERROR_EVENT_NOT_SET -2147319230 /* 0x80028242 */
361
362#define SCE_KERNEL_ERROR_SIMPLE_EVENT_ERROR -2147319200 /* 0x80028260 */
363#define SCE_KERNEL_ERROR_UNKNOWN_SIMPLE_EVENT_ID -2147319199 /* 0x80028261 */
364
365#define SCE_KERNEL_ERROR_PMON_ERROR -2147319168 /* 0x80028280 */
366#define SCE_KERNEL_ERROR_PMON_NOT_THREAD_MODE -2147319167 /* 0x80028281 */
367#define SCE_KERNEL_ERROR_PMON_NOT_CPU_MODE -2147319166 /* 0x80028282 */
368
369#define SCE_KERNEL_ERROR_WORK_QUEUE -2147319040 /* 0x80028300 */
370#define SCE_KERNEL_ERROR_UNKNOWN_WORK_QUEUE_ID -2147319039 /* 0x80028301 */
371#define SCE_KERNEL_ERROR_UNKNOWN_WORK_TASK_ID -2147319038 /* 0x80028302 */
372
373#define SCE_KERNEL_ERROR_EXCEPTION -2147319008 /* 0x80028320 */
374#define SCE_KERNEL_ERROR_EXCEPTION_MULTI -2147319007 /* 0x80028321 */
375
376
377/*
378 * SceProcessmgr errors
379 */
380#define SCE_KERNEL_ERROR_PROCESSMGR_ERROR -2147315712 /* 0x80029000 */
381#define SCE_KERNEL_ERROR_INVALID_PID -2147315711 /* 0x80029001 */
382#define SCE_KERNEL_ERROR_INVALID_PROCESS_TYPE -2147315710 /* 0x80029002 */
383#define SCE_KERNEL_ERROR_PLS_FULL -2147315709 /* 0x80029003 */
384#define SCE_KERNEL_ERROR_INVALID_PROCESS_STATUS -2147315708 /* 0x80029004 */
385#define SCE_KERNEL_ERROR_PROCESS_CALLBACK_NOTFOUND -2147315707 /* 0x80029005 */
386#define SCE_KERNEL_ERROR_INVALID_BUDGET_ID -2147315706 /* 0x80029006 */
387#define SCE_KERNEL_ERROR_INVALID_BUDGET_SIZE -2147315705 /* 0x80029007 */
388#define SCE_KERNEL_ERROR_CP14_DISABLED -2147315704 /* 0x80029008 */
389#define SCE_KERNEL_ERROR_EXCEEDED_MAX_PROCESSES -2147315703 /* 0x80029009 */
390#define SCE_KERNEL_ERROR_PROCESS_REMAINING -2147315702 /* 0x8002900A */
391#define SCE_KERNEL_ERROR_NO_PROCESS_DATA -2147315701 /* 0x8002900B */
392#define SCE_KERNEL_ERROR_PROCESS_EVENT_INHIBITED -2147315700 /* 0x8002900C */
393
394/*
395 * SceIofilemgr errors
396 */
397#define SCE_KERNEL_ERROR_IOFILEMGR_ERROR -2147311616 /* 0x8002A000 */
398#define SCE_KERNEL_ERROR_IO_NAME_TOO_LONG -2147311615 /* 0x8002A001 */
399#define SCE_KERNEL_ERROR_IO_REG_DEV -2147311614 /* 0x8002A002 */
400#define SCE_KERNEL_ERROR_IO_ALIAS_USED -2147311613 /* 0x8002A003 */
401#define SCE_KERNEL_ERROR_IO_DEL_DEV -2147311612 /* 0x8002A004 */
402#define SCE_KERNEL_ERROR_IO_WOULD_BLOCK -2147311611 /* 0x8002A005 */
403
404/*
405 * SceKernelModulemgr errors
406 */
407#define SCE_KERNEL_ERROR_MODULEMGR_START_FAILED -2147299328 /* 0x8002D000 */
408#define SCE_KERNEL_ERROR_MODULEMGR_STOP_FAIL -2147299327 /* 0x8002D001 */
409#define SCE_KERNEL_ERROR_MODULEMGR_IN_USE -2147299326 /* 0x8002D002 */
410#define SCE_KERNEL_ERROR_MODULEMGR_NO_LIB -2147299325 /* 0x8002D003 */
411#define SCE_KERNEL_ERROR_MODULEMGR_SYSCALL_REG -2147299324 /* 0x8002D004 */
412#define SCE_KERNEL_ERROR_MODULEMGR_NOMEM_LIB -2147299323 /* 0x8002D005 */
413#define SCE_KERNEL_ERROR_MODULEMGR_NOMEM_STUB -2147299322 /* 0x8002D006 */
414#define SCE_KERNEL_ERROR_MODULEMGR_NOMEM_SELF -2147299321 /* 0x8002D007 */
415#define SCE_KERNEL_ERROR_MODULEMGR_NOMEM -2147299320 /* 0x8002D008 */
416#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_LIB -2147299319 /* 0x8002D009 */
417#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_STUB -2147299318 /* 0x8002D00A */
418#define SCE_KERNEL_ERROR_MODULEMGR_NO_FUNC_NID -2147299317 /* 0x8002D00B */
419#define SCE_KERNEL_ERROR_MODULEMGR_NO_VAR_NID -2147299316 /* 0x8002D00C */
420#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_TYPE -2147299315 /* 0x8002D00D */
421#define SCE_KERNEL_ERROR_MODULEMGR_NO_MOD_ENTRY -2147299314 /* 0x8002D00E */
422#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_PROC_PARAM -2147299313 /* 0x8002D00F */
423#define SCE_KERNEL_ERROR_MODULEMGR_NO_MODOBJ -2147299312 /* 0x8002D010 */
424#define SCE_KERNEL_ERROR_MODULEMGR_NO_MOD -2147299311 /* 0x8002D011 */
425#define SCE_KERNEL_ERROR_MODULEMGR_NO_PROCESS -2147299310 /* 0x8002D012 */
426#define SCE_KERNEL_ERROR_MODULEMGR_OLD_LIB -2147299309 /* 0x8002D013 */
427#define SCE_KERNEL_ERROR_MODULEMGR_STARTED -2147299308 /* 0x8002D014 */
428#define SCE_KERNEL_ERROR_MODULEMGR_NOT_STARTED -2147299307 /* 0x8002D015 */
429#define SCE_KERNEL_ERROR_MODULEMGR_NOT_STOPPED -2147299306 /* 0x8002D016 */
430#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_PROCESS_UID -2147299305 /* 0x8002D017 */
431#define SCE_KERNEL_ERROR_MODULEMGR_CANNOT_EXPORT_LIB_TO_SHARED -2147299304 /* 0x8002D018 */
432#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_REL_INFO -2147299303 /* 0x8002D019 */
433#define SCE_KERNEL_ERROR_MODULEMGR_INVALID_REF_INFO -2147299302 /* 0x8002D01A */
434#define SCE_KERNEL_ERROR_MODULEMGR_ELINK -2147299301 /* 0x8002D01B */
435#define SCE_KERNEL_ERROR_MODULEMGR_NOENT -2147299300 /* 0x8002D01C */
436#define SCE_KERNEL_ERROR_MODULEMGR_BUSY -2147299299 /* 0x8002D01D */
437#define SCE_KERNEL_ERROR_MODULEMGR_NOEXEC -2147299298 /* 0x8002D01E */
438#define SCE_KERNEL_ERROR_MODULEMGR_NAMETOOLONG -2147299297 /* 0x8002D01F */
439#define SCE_KERNEL_ERROR_MODULEMGR_CANNOT_STOP -2147299296 /* 0x8002D020 */
440#define SCE_KERNEL_ERROR_MODULEMGR_ALREADY_LOADED -2147299295 /* 0x8002D021 */
441#define SCE_KERNEL_ERROR_MODULEMGR_STOPPED -2147299294 /* 0x8002D022 */
442#define SCE_KERNEL_ERROR_MODULEMGR_NOT_MAIN_MODULE -2147299293 /* 0x8002D023 */
443
444#define SCE_KERNEL_ERROR_LIBRARYDB_NOENT -2147299200 /* 0x8002D080 */
445#define SCE_KERNEL_ERROR_LIBRARYDB_NO_LIB -2147299199 /* 0x8002D081 */
446#define SCE_KERNEL_ERROR_LIBRARYDB_NO_MOD -2147299198 /* 0x8002D082 */
447
448#define SCE_KERNEL_ERROR_PRELOAD_FAILED -2147299088 /* 0x8002D0F0 */
449#define SCE_KERNEL_ERROR_PRELOAD_LIBC_FAILED -2147299087 /* 0x8002D0F1 */
450#define SCE_KERNEL_ERROR_PRELOAD_FIOS2_FAILED -2147299086 /* 0x8002D0F2 */
451#define SCE_KERNEL_ERROR_MODULEMGR_INHIBITED -2147299085 /* 0x8002D0F3 */
452
453
454
455/*
456 * SceSblAuthMgr errors
457 */
458#define SCE_KERNEL_ERROR_AUTHFAIL -2147291136 /* 0x8002F000 */
459#define SCE_KERNEL_ERROR_NO_AUTH -2147291135 /* 0x8002F001 */
460
461#endif /* _SCE_KERNEL_ERROR_H */