pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspkerror.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* pspkerror.h - Definitions for the kernel error codes
7
*
8
* Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9
* Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10
* Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11
*
12
* $Id: pspkerror.h 1095 2005-09-27 21:02:16Z jim $
13
*/
14
#ifndef PSPKERROR_H
15
#define PSPKERROR_H
16
17
/* Note: The error code enumerations in this file were extrapolated from
18
symbolic debugging information found in the Japanese version of Puzzle Bobble. */
19
20
enum
PspKernelErrorCodes
21
{
22
SCE_KERNEL_ERROR_OK
= 0,
23
SCE_KERNEL_ERROR_ERROR
= 0x80020001,
24
SCE_KERNEL_ERROR_NOTIMP
= 0x80020002,
25
SCE_KERNEL_ERROR_ILLEGAL_EXPCODE
= 0x80020032,
26
SCE_KERNEL_ERROR_EXPHANDLER_NOUSE
= 0x80020033,
27
SCE_KERNEL_ERROR_EXPHANDLER_USED
= 0x80020034,
28
SCE_KERNEL_ERROR_SYCALLTABLE_NOUSED
= 0x80020035,
29
SCE_KERNEL_ERROR_SYCALLTABLE_USED
= 0x80020036,
30
SCE_KERNEL_ERROR_ILLEGAL_SYSCALLTABLE
= 0x80020037,
31
SCE_KERNEL_ERROR_ILLEGAL_PRIMARY_SYSCALL_NUMBER
= 0x80020038,
32
SCE_KERNEL_ERROR_PRIMARY_SYSCALL_NUMBER_INUSE
= 0x80020039,
33
SCE_KERNEL_ERROR_ILLEGAL_CONTEXT
= 0x80020064,
34
SCE_KERNEL_ERROR_ILLEGAL_INTRCODE
= 0x80020065,
35
SCE_KERNEL_ERROR_CPUDI
= 0x80020066,
36
SCE_KERNEL_ERROR_FOUND_HANDLER
= 0x80020067,
37
SCE_KERNEL_ERROR_NOTFOUND_HANDLER
= 0x80020068,
38
SCE_KERNEL_ERROR_ILLEGAL_INTRLEVEL
= 0x80020069,
39
SCE_KERNEL_ERROR_ILLEGAL_ADDRESS
= 0x8002006a,
40
SCE_KERNEL_ERROR_ILLEGAL_INTRPARAM
= 0x8002006b,
41
SCE_KERNEL_ERROR_ILLEGAL_STACK_ADDRESS
= 0x8002006c,
42
SCE_KERNEL_ERROR_ALREADY_STACK_SET
= 0x8002006d,
43
SCE_KERNEL_ERROR_NO_TIMER
= 0x80020096,
44
SCE_KERNEL_ERROR_ILLEGAL_TIMERID
= 0x80020097,
45
SCE_KERNEL_ERROR_ILLEGAL_SOURCE
= 0x80020098,
46
SCE_KERNEL_ERROR_ILLEGAL_PRESCALE
= 0x80020099,
47
SCE_KERNEL_ERROR_TIMER_BUSY
= 0x8002009a,
48
SCE_KERNEL_ERROR_TIMER_NOT_SETUP
= 0x8002009b,
49
SCE_KERNEL_ERROR_TIMER_NOT_INUSE
= 0x8002009c,
50
SCE_KERNEL_ERROR_UNIT_USED
= 0x800200a0,
51
SCE_KERNEL_ERROR_UNIT_NOUSE
= 0x800200a1,
52
SCE_KERNEL_ERROR_NO_ROMDIR
= 0x800200a2,
53
SCE_KERNEL_ERROR_IDTYPE_EXIST
= 0x800200c8,
54
SCE_KERNEL_ERROR_IDTYPE_NOT_EXIST
= 0x800200c9,
55
SCE_KERNEL_ERROR_IDTYPE_NOT_EMPTY
= 0x800200ca,
56
SCE_KERNEL_ERROR_UNKNOWN_UID
= 0x800200cb,
57
SCE_KERNEL_ERROR_UNMATCH_UID_TYPE
= 0x800200cc,
58
SCE_KERNEL_ERROR_ID_NOT_EXIST
= 0x800200cd,
59
SCE_KERNEL_ERROR_NOT_FOUND_UIDFUNC
= 0x800200ce,
60
SCE_KERNEL_ERROR_UID_ALREADY_HOLDER
= 0x800200cf,
61
SCE_KERNEL_ERROR_UID_NOT_HOLDER
= 0x800200d0,
62
SCE_KERNEL_ERROR_ILLEGAL_PERM
= 0x800200d1,
63
SCE_KERNEL_ERROR_ILLEGAL_ARGUMENT
= 0x800200d2,
64
SCE_KERNEL_ERROR_ILLEGAL_ADDR
= 0x800200d3,
65
SCE_KERNEL_ERROR_OUT_OF_RANGE
= 0x800200d4,
66
SCE_KERNEL_ERROR_MEM_RANGE_OVERLAP
= 0x800200d5,
67
SCE_KERNEL_ERROR_ILLEGAL_PARTITION
= 0x800200d6,
68
SCE_KERNEL_ERROR_PARTITION_INUSE
= 0x800200d7,
69
SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCKTYPE
= 0x800200d8,
70
SCE_KERNEL_ERROR_MEMBLOCK_ALLOC_FAILED
= 0x800200d9,
71
SCE_KERNEL_ERROR_MEMBLOCK_RESIZE_LOCKED
= 0x800200da,
72
SCE_KERNEL_ERROR_MEMBLOCK_RESIZE_FAILED
= 0x800200db,
73
SCE_KERNEL_ERROR_HEAPBLOCK_ALLOC_FAILED
= 0x800200dc,
74
SCE_KERNEL_ERROR_HEAP_ALLOC_FAILED
= 0x800200dd,
75
SCE_KERNEL_ERROR_ILLEGAL_CHUNK_ID
= 0x800200de,
76
SCE_KERNEL_ERROR_NOCHUNK
= 0x800200df,
77
SCE_KERNEL_ERROR_NO_FREECHUNK
= 0x800200e0,
78
SCE_KERNEL_ERROR_LINKERR
= 0x8002012c,
79
SCE_KERNEL_ERROR_ILLEGAL_OBJECT
= 0x8002012d,
80
SCE_KERNEL_ERROR_UNKNOWN_MODULE
= 0x8002012e,
81
SCE_KERNEL_ERROR_NOFILE
= 0x8002012f,
82
SCE_KERNEL_ERROR_FILEERR
= 0x80020130,
83
SCE_KERNEL_ERROR_MEMINUSE
= 0x80020131,
84
SCE_KERNEL_ERROR_PARTITION_MISMATCH
= 0x80020132,
85
SCE_KERNEL_ERROR_ALREADY_STARTED
= 0x80020133,
86
SCE_KERNEL_ERROR_NOT_STARTED
= 0x80020134,
87
SCE_KERNEL_ERROR_ALREADY_STOPPED
= 0x80020135,
88
SCE_KERNEL_ERROR_CAN_NOT_STOP
= 0x80020136,
89
SCE_KERNEL_ERROR_NOT_STOPPED
= 0x80020137,
90
SCE_KERNEL_ERROR_NOT_REMOVABLE
= 0x80020138,
91
SCE_KERNEL_ERROR_EXCLUSIVE_LOAD
= 0x80020139,
92
SCE_KERNEL_ERROR_LIBRARY_NOT_YET_LINKED
= 0x8002013a,
93
SCE_KERNEL_ERROR_LIBRARY_FOUND
= 0x8002013b,
94
SCE_KERNEL_ERROR_LIBRARY_NOTFOUND
= 0x8002013c,
95
SCE_KERNEL_ERROR_ILLEGAL_LIBRARY
= 0x8002013d,
96
SCE_KERNEL_ERROR_LIBRARY_INUSE
= 0x8002013e,
97
SCE_KERNEL_ERROR_ALREADY_STOPPING
= 0x8002013f,
98
SCE_KERNEL_ERROR_ILLEGAL_OFFSET
= 0x80020140,
99
SCE_KERNEL_ERROR_ILLEGAL_POSITION
= 0x80020141,
100
SCE_KERNEL_ERROR_ILLEGAL_ACCESS
= 0x80020142,
101
SCE_KERNEL_ERROR_MODULE_MGR_BUSY
= 0x80020143,
102
SCE_KERNEL_ERROR_ILLEGAL_FLAG
= 0x80020144,
103
SCE_KERNEL_ERROR_CANNOT_GET_MODULELIST
= 0x80020145,
104
SCE_KERNEL_ERROR_PROHIBIT_LOADMODULE_DEVICE
= 0x80020146,
105
SCE_KERNEL_ERROR_PROHIBIT_LOADEXEC_DEVICE
= 0x80020147,
106
SCE_KERNEL_ERROR_UNSUPPORTED_PRX_TYPE
= 0x80020148,
107
SCE_KERNEL_ERROR_ILLEGAL_PERM_CALL
= 0x80020149,
108
SCE_KERNEL_ERROR_CANNOT_GET_MODULE_INFORMATION
= 0x8002014a,
109
SCE_KERNEL_ERROR_ILLEGAL_LOADEXEC_BUFFER
= 0x8002014b,
110
SCE_KERNEL_ERROR_ILLEGAL_LOADEXEC_FILENAME
= 0x8002014c,
111
SCE_KERNEL_ERROR_NO_EXIT_CALLBACK
= 0x8002014d,
112
SCE_KERNEL_ERROR_NO_MEMORY
= 0x80020190,
113
SCE_KERNEL_ERROR_ILLEGAL_ATTR
= 0x80020191,
114
SCE_KERNEL_ERROR_ILLEGAL_ENTRY
= 0x80020192,
115
SCE_KERNEL_ERROR_ILLEGAL_PRIORITY
= 0x80020193,
116
SCE_KERNEL_ERROR_ILLEGAL_STACK_SIZE
= 0x80020194,
117
SCE_KERNEL_ERROR_ILLEGAL_MODE
= 0x80020195,
118
SCE_KERNEL_ERROR_ILLEGAL_MASK
= 0x80020196,
119
SCE_KERNEL_ERROR_ILLEGAL_THID
= 0x80020197,
120
SCE_KERNEL_ERROR_UNKNOWN_THID
= 0x80020198,
121
SCE_KERNEL_ERROR_UNKNOWN_SEMID
= 0x80020199,
122
SCE_KERNEL_ERROR_UNKNOWN_EVFID
= 0x8002019a,
123
SCE_KERNEL_ERROR_UNKNOWN_MBXID
= 0x8002019b,
124
SCE_KERNEL_ERROR_UNKNOWN_VPLID
= 0x8002019c,
125
SCE_KERNEL_ERROR_UNKNOWN_FPLID
= 0x8002019d,
126
SCE_KERNEL_ERROR_UNKNOWN_MPPID
= 0x8002019e,
127
SCE_KERNEL_ERROR_UNKNOWN_ALMID
= 0x8002019f,
128
SCE_KERNEL_ERROR_UNKNOWN_TEID
= 0x800201a0,
129
SCE_KERNEL_ERROR_UNKNOWN_CBID
= 0x800201a1,
130
SCE_KERNEL_ERROR_DORMANT
= 0x800201a2,
131
SCE_KERNEL_ERROR_SUSPEND
= 0x800201a3,
132
SCE_KERNEL_ERROR_NOT_DORMANT
= 0x800201a4,
133
SCE_KERNEL_ERROR_NOT_SUSPEND
= 0x800201a5,
134
SCE_KERNEL_ERROR_NOT_WAIT
= 0x800201a6,
135
SCE_KERNEL_ERROR_CAN_NOT_WAIT
= 0x800201a7,
136
SCE_KERNEL_ERROR_WAIT_TIMEOUT
= 0x800201a8,
137
SCE_KERNEL_ERROR_WAIT_CANCEL
= 0x800201a9,
138
SCE_KERNEL_ERROR_RELEASE_WAIT
= 0x800201aa,
139
SCE_KERNEL_ERROR_NOTIFY_CALLBACK
= 0x800201ab,
140
SCE_KERNEL_ERROR_THREAD_TERMINATED
= 0x800201ac,
141
SCE_KERNEL_ERROR_SEMA_ZERO
= 0x800201ad,
142
SCE_KERNEL_ERROR_SEMA_OVF
= 0x800201ae,
143
SCE_KERNEL_ERROR_EVF_COND
= 0x800201af,
144
SCE_KERNEL_ERROR_EVF_MULTI
= 0x800201b0,
145
SCE_KERNEL_ERROR_EVF_ILPAT
= 0x800201b1,
146
SCE_KERNEL_ERROR_MBOX_NOMSG
= 0x800201b2,
147
SCE_KERNEL_ERROR_MPP_FULL
= 0x800201b3,
148
SCE_KERNEL_ERROR_MPP_EMPTY
= 0x800201b4,
149
SCE_KERNEL_ERROR_WAIT_DELETE
= 0x800201b5,
150
SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK
= 0x800201b6,
151
SCE_KERNEL_ERROR_ILLEGAL_MEMSIZE
= 0x800201b7,
152
SCE_KERNEL_ERROR_ILLEGAL_SPADADDR
= 0x800201b8,
153
SCE_KERNEL_ERROR_SPAD_INUSE
= 0x800201b9,
154
SCE_KERNEL_ERROR_SPAD_NOT_INUSE
= 0x800201ba,
155
SCE_KERNEL_ERROR_ILLEGAL_TYPE
= 0x800201bb,
156
SCE_KERNEL_ERROR_ILLEGAL_SIZE
= 0x800201bc,
157
SCE_KERNEL_ERROR_ILLEGAL_COUNT
= 0x800201bd,
158
SCE_KERNEL_ERROR_UNKNOWN_VTID
= 0x800201be,
159
SCE_KERNEL_ERROR_ILLEGAL_VTID
= 0x800201bf,
160
SCE_KERNEL_ERROR_ILLEGAL_KTLSID
= 0x800201c0,
161
SCE_KERNEL_ERROR_KTLS_FULL
= 0x800201c1,
162
SCE_KERNEL_ERROR_KTLS_BUSY
= 0x800201c2,
163
SCE_KERNEL_ERROR_PM_INVALID_PRIORITY
= 0x80020258,
164
SCE_KERNEL_ERROR_PM_INVALID_DEVNAME
= 0x80020259,
165
SCE_KERNEL_ERROR_PM_UNKNOWN_DEVNAME
= 0x8002025a,
166
SCE_KERNEL_ERROR_PM_PMINFO_REGISTERED
= 0x8002025b,
167
SCE_KERNEL_ERROR_PM_PMINFO_UNREGISTERED
= 0x8002025c,
168
SCE_KERNEL_ERROR_PM_INVALID_MAJOR_STATE
= 0x8002025d,
169
SCE_KERNEL_ERROR_PM_INVALID_REQUEST
= 0x8002025e,
170
SCE_KERNEL_ERROR_PM_UNKNOWN_REQUEST
= 0x8002025f,
171
SCE_KERNEL_ERROR_PM_INVALID_UNIT
= 0x80020260,
172
SCE_KERNEL_ERROR_PM_CANNOT_CANCEL
= 0x80020261,
173
SCE_KERNEL_ERROR_PM_INVALID_PMINFO
= 0x80020262,
174
SCE_KERNEL_ERROR_PM_INVALID_ARGUMENT
= 0x80020263,
175
SCE_KERNEL_ERROR_PM_ALREADY_TARGET_PWRSTATE
= 0x80020264,
176
SCE_KERNEL_ERROR_PM_CHANGE_PWRSTATE_FAILED
= 0x80020265,
177
SCE_KERNEL_ERROR_PM_CANNOT_CHANGE_DEVPWR_STATE
= 0x80020266,
178
SCE_KERNEL_ERROR_PM_NO_SUPPORT_DEVPWR_STATE
= 0x80020267,
179
SCE_KERNEL_ERROR_DMAC_REQUEST_FAILED
= 0x800202bc,
180
SCE_KERNEL_ERROR_DMAC_REQUEST_DENIED
= 0x800202bd,
181
SCE_KERNEL_ERROR_DMAC_OP_QUEUED
= 0x800202be,
182
SCE_KERNEL_ERROR_DMAC_OP_NOT_QUEUED
= 0x800202bf,
183
SCE_KERNEL_ERROR_DMAC_OP_RUNNING
= 0x800202c0,
184
SCE_KERNEL_ERROR_DMAC_OP_NOT_ASSIGNED
= 0x800202c1,
185
SCE_KERNEL_ERROR_DMAC_OP_TIMEOUT
= 0x800202c2,
186
SCE_KERNEL_ERROR_DMAC_OP_FREED
= 0x800202c3,
187
SCE_KERNEL_ERROR_DMAC_OP_USED
= 0x800202c4,
188
SCE_KERNEL_ERROR_DMAC_OP_EMPTY
= 0x800202c5,
189
SCE_KERNEL_ERROR_DMAC_OP_ABORTED
= 0x800202c6,
190
SCE_KERNEL_ERROR_DMAC_OP_ERROR
= 0x800202c7,
191
SCE_KERNEL_ERROR_DMAC_CHANNEL_RESERVED
= 0x800202c8,
192
SCE_KERNEL_ERROR_DMAC_CHANNEL_EXCLUDED
= 0x800202c9,
193
SCE_KERNEL_ERROR_DMAC_PRIVILEGE_ADDRESS
= 0x800202ca,
194
SCE_KERNEL_ERROR_DMAC_NO_ENOUGHSPACE
= 0x800202cb,
195
SCE_KERNEL_ERROR_DMAC_CHANNEL_NOT_ASSIGNED
= 0x800202cc,
196
SCE_KERNEL_ERROR_DMAC_CHILD_OPERATION
= 0x800202cd,
197
SCE_KERNEL_ERROR_DMAC_TOO_MUCH_SIZE
= 0x800202ce,
198
SCE_KERNEL_ERROR_DMAC_INVALID_ARGUMENT
= 0x800202cf,
199
SCE_KERNEL_ERROR_MFILE
= 0x80020320,
200
SCE_KERNEL_ERROR_NODEV
= 0x80020321,
201
SCE_KERNEL_ERROR_XDEV
= 0x80020322,
202
SCE_KERNEL_ERROR_BADF
= 0x80020323,
203
SCE_KERNEL_ERROR_INVAL
= 0x80020324,
204
SCE_KERNEL_ERROR_UNSUP
= 0x80020325,
205
SCE_KERNEL_ERROR_ALIAS_USED
= 0x80020326,
206
SCE_KERNEL_ERROR_CANNOT_MOUNT
= 0x80020327,
207
SCE_KERNEL_ERROR_DRIVER_DELETED
= 0x80020328,
208
SCE_KERNEL_ERROR_ASYNC_BUSY
= 0x80020329,
209
SCE_KERNEL_ERROR_NOASYNC
= 0x8002032a,
210
SCE_KERNEL_ERROR_REGDEV
= 0x8002032b,
211
SCE_KERNEL_ERROR_NOCWD
= 0x8002032c,
212
SCE_KERNEL_ERROR_NAMETOOLONG
= 0x8002032d,
213
SCE_KERNEL_ERROR_NXIO
= 0x800203e8,
214
SCE_KERNEL_ERROR_IO
= 0x800203e9,
215
SCE_KERNEL_ERROR_NOMEM
= 0x800203ea,
216
SCE_KERNEL_ERROR_STDIO_NOT_OPENED
= 0x800203eb,
217
SCE_KERNEL_ERROR_CACHE_ALIGNMENT
= 0x8002044c,
218
SCE_KERNEL_ERROR_ERRORMAX
= 0x8002044d,
219
};
220
221
#endif
/* PSPKERROR_H */
src
user
pspkerror.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2