You are on page 1of 7

/**************************************************

* PSP Kernel Error Code Definitions *


**************************************************/
#define SCE_KERNEL_ERROR_OK 0x0
/* No Error */
#define SCE_KERNEL_ERROR_ERROR 0x80020001
/* Error */
#define SCE_KERNEL_ERROR_NOTIMP 0x80020002
/* Not Implemented */
#define SCE_KERNEL_ERROR_ILLEGAL_EXPCODE 0x80020032
/* Illegal Exception Code */
#define SCE_KERNEL_ERROR_EXPHANDLER_NOUSE 0x80020033
/* Exception Handler Not Used */
#define SCE_KERNEL_ERROR_EXPHANDLER_USED 0x80020034
/* Exception Handler Already Used */
#define SCE_KERNEL_ERROR_SYCALLTABLE_NOUSED 0x80020035
/* Systemcall Table Not Used */
#define SCE_KERNEL_ERROR_SYCALLTABLE_USED 0x80020036
/* Systemcall Table Already Used */
#define SCE_KERNEL_ERROR_ILLEGAL_SYSCALLTABLE 0x80020037
/* Illegal Systemcall Table */
#define SCE_KERNEL_ERROR_ILLEGAL_PRIMARY_SYSCALL_NUMBER 0x80020038
/* Illegal Primary Syscall Number */
#define SCE_KERNEL_ERROR_PRIMARY_SYSCALL_NUMBER_INUSE 0x80020039
/* Primary Syscall Number Already Used */
#define SCE_KERNEL_ERROR_ILLEGAL_CONTEXT 0x80020064
/* Call From Interrupt_handler / Thread */
#define SCE_KERNEL_ERROR_ILLEGAL_INTRCODE 0x80020065
/* Illegal INRCODE */
#define SCE_KERNEL_ERROR_CPUDI 0x80020066
/* CPU Already Interrupt Disabled */
#define SCE_KERNEL_ERROR_FOUND_HANDLER 0x80020067
/* Handler Already Exist */
#define SCE_KERNEL_ERROR_NOTFOUND_HANDLER 0x80020068
/* Handler Not Found */
#define SCE_KERNEL_ERROR_ILLEGAL_INTRLEVEL 0x80020069
/* Illegal Interrupt Level */
#define SCE_KERNEL_ERROR_ILLEGAL_ADDRESS 0x8002007a
/* Illegal Address */
#define SCE_KERNEL_ERROR_ILLEGAL_INTRPARAM 0x8002006b
/* Illegal IntrHandlerOptionParam Size */
#define SCE_KERNEL_ERROR_ILLEGAL_STACK_ADDRESS 0x8002006c
/* Illegal Stack Address */
#define SCE_KERNEL_ERROR_ALREADY_STACK_SET 0x8002006d
/* Address Stack Already Set */
#define SCE_KERNEL_ERROR_NO_TIMER 0x80020096
/* Not Found Free HardTimer */
#define SCE_KERNEL_ERROR_ILLEGAL_TIMERID 0x80020097
/* Illegal Timer ID */
#define SCE_KERNEL_ERROR_ILLEGAL_SOURCE 0x80020098
/* Illegal Source */
#define SCE_KERNEL_ERROR_ILLEGAL_PRESCALE 0x80020099
/* Illegal Prescale */
#define SCE_KERNEL_ERROR_TIMER_BUSY 0x8002009a
/* HardTimer In Use */
#define SCE_KERNEL_ERROR_TIMER_NOT_SETUP 0x8002009b
/* HardTimer Not Setup */
#define SCE_KERNEL_ERROR_TIMER_NOT_INUSE 0x8002009c
/* HardTimer Not In Use */
#define SCE_KERNEL_ERROR_UNIT_USED 0x800200a0
/* Unit Number Already Used */
#define SCE_KERNEL_ERROR_UNIT_NOUSE 0x800200a1
/* Unit Number Not Used */
#define SCE_KERNEL_ERROR_NO_ROMDIR 0x800200a2
/* ROM Directory Not Found */
#define SCE_KERNEL_ERROR_IDTYPE_EXIST 0x800200c8
/* ID Type Already Exists */
#define SCE_KERNEL_ERROR_IDTYPE_NOT_EXIST 0x800200c9
/* ID Type Does Not Exist */
#define SCE_KERNEL_ERROR_IDTYPE_NOT_EMPTY 0x800200ca
/* ID Type Is Not Empty */
#define SCE_KERNEL_ERROR_UNKNOWN_UID 0x800200cb
/* Unknown UID */
#define SCE_KERNEL_ERROR_UNMATCH_UID_TYPE 0x800200cc
/* Unmatch UID Type */
#define SCE_KERNEL_ERROR_ID_NOT_EXIST 0x800200cd
/* ID Does Not Exist */
#define SCE_KERNEL_ERROR_NOT_FOUND_UIDFUNC 0x800200ce
/* Cannot Find UID Function */
#define SCE_KERNEL_ERROR_UID_ALREADY_HOLDER 0x800200cf
/* UID Already Holder */
#define SCE_KERNEL_ERROR_UID_NOT_HOLDER 0x800200d0
/* UID Not Holder */
#define SCE_KERNEL_ERROR_ILLEGAL_PERM 0x800200d1
/* Illegal Permission */
#define SCE_KERNEL_ERROR_ILLEGAL_ARGUMENT 0x800200d2
/* Illegal Argument */
#define SCE_KERNEL_ERROR_ILLEGAL_ADDR 0x800200d3
/* Illegal Address */
#define SCE_KERNEL_ERROR_OUT_OF_RANGE 0x800200d4
/* The Memory Area Is Out Of Range */
#define SCE_KERNEL_ERROR_MEM_RANGE_OVERLAP 0x800200d5
/* The Memory Area Is Overlap */
#define SCE_KERNEL_ERROR_ILLEGAL_PARTITION 0x800200d6
/* Illegal Partition ID */
#define SCE_KERNEL_ERROR_PARTITION_INUSE 0x800200d7
/* Partition In Use */
#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCKTYPE 0x800200d8
/* Illegal Memory Block Allocation Type */
#define SCE_KERNEL_ERROR_MEMBLOCK_ALLOC_FAILED 0x800200d9
/* Failed To Allocate Memory Block */
#define SCE_KERNEL_ERROR_MEMBLOCK_RESIZE_LOCKED 0x800200da
/* Inhibited To Resize Memory Block */
#define SCE_KERNEL_ERROR_MEMBLOCK_RESIZE_FAILED 0x800200db
/* Failed To Resize Memory Block */
#define SCE_KERNEL_ERROR_HEAPBLOCK_ALLOC_FAILED 0x800200dc
/* Failed To Allocate Heap Block */
#define SCE_KERNEL_ERROR_HEAP_ALLOC_FAILED 0x800200dd
/* Failed To Allocate Heap */
#define SCE_KERNEL_ERROR_ILLEGAL_CHUNK_ID 0x800200de
/* Illegal Chunk ID */
#define SCE_KERNEL_ERROR_NOCHUNK 0x800200df
/* Cannot Find Chunk Name */
#define SCE_KERNEL_ERROR_NO_FREECHUNK 0x800200e0
/* There Is No Free Chunk */
#define SCE_KERNEL_ERROR_LINKERR 0x8002012c
/* Module Link Error */
#define SCE_KERNEL_ERROR_ILLEGAL_OBJECT 0x8002012d
/* Illegal Object Format (not PRX/PFX) */
#define SCE_KERNEL_ERROR_UNKNOWN_MODULE 0x8002012e
/* Module Not Found */
#define SCE_KERNEL_ERROR_NOFILE 0x8002012f
/* Module File Not Found */
#define SCE_KERNEL_ERROR_FILEERR 0x80020130
/* Module File Read Error */
#define SCE_KERNEL_ERROR_MEMINUSE 0x80020131
/* Memory In Use */
#define SCE_KERNEL_ERROR_PARTITION_MISMATCH 0x80020132
/* Partition Mismatch */
#define SCE_KERNEL_ERROR_ALREADY_STARTED 0x80020133
/* Module Already Started */
#define SCE_KERNEL_ERROR_NOT_STARTED 0x80020134
/* Module Not Yet Started */
#define SCE_KERNEL_ERROR_ALREADY_STOPPED 0x80020135
/* Module Already Stopped */
#define SCE_KERNEL_ERROR_CAN_NOT_STOP 0x80020136
/* Module Cannot Stop */
#define SCE_KERNEL_ERROR_NOT_STOPPED 0x80020137
/* Module Not Yet Stopped */
#define SCE_KERNEL_ERROR_NOT_REMOVABLE 0x80020138
/* Can Not Remove Module */
#define SCE_KERNEL_ERROR_EXCLUSIVE_LOAD 0x80020139
/* Exclusive Load */
#define SCE_KERNEL_ERROR_LIBRARY_NOT_YET_LINKED 0x8002013a
/* Library Is Not Yet Linked */
#define SCE_KERNEL_ERROR_LIBRARY_FOUND 0x8002013b
/* Library Already Exists */
#define SCE_KERNEL_ERROR_LIBRARY_NOTFOUND 0x8002013c
/* Library Not Found */
#define SCE_KERNEL_ERROR_ILLEGAL_LIBRARY 0x8002013d
/* Illegal Library Header */
#define SCE_KERNEL_ERROR_LIBRARY_INUSE 0x8002013e
/* Library Is Now Used */
#define SCE_KERNEL_ERROR_ALREADY_STOPPING 0x8002013f
/* Module Already Stopping */
#define SCE_KERNEL_ERROR_ILLEGAL_OFFSET 0x80020140
/* Illegal Offset Value */
#define SCE_KERNEL_ERROR_ILLEGAL_POSITION 0x80020141
/* Illegal Position Code */
#define SCE_KERNEL_ERROR_ILLEGAL_ACCESS 0x80020142
/* Illegal Access Code */
#define SCE_KERNEL_ERROR_MODULE_MGR_BUSY 0x80020143
/* Module Manager Busy */
#define SCE_KERNEL_ERROR_ILLEGAL_FLAG 0x80020144
/* Illegal Flag */
#define SCE_KERNEL_ERROR_CANNOT_GET_MODULELIST 0x80020145
/* Cannot Get Module List */
#define SCE_KERNEL_ERROR_PROHIBIT_LOADMODULE_DEVICE 0x80020146
/* Prohibit LoadModule Device */
#define SCE_KERNEL_ERROR_PROHIBIT_LOADEXEC_DEVICE 0x80020147
/* Prohibit LoadExec Device */
#define SCE_KERNEL_ERROR_UNSUPPORTED_PRX_TYPE 0x80020148
/* Unsupported PRX Type */
#define SCE_KERNEL_ERROR_ILLEGAL_PERM_CALL 0x80020149
/* Illegal Permission Call */
#define SCE_KERNEL_ERROR_CANNOT_GET_MODULE_INFORMATION 0x8002014a
/* Cannot Get Module Information */
#define SCE_KERNEL_ERROR_ILLEGAL_LOADEXEC_BUFFER 0x8002014b
/* Illegal LoadExec Buffer */
#define SCE_KERNEL_ERROR_ILLEGAL_LOADEXEC_FILENAME 0x8002014c
/* Illegal LoadExec Filename */
#define SCE_KERNEL_ERROR_NO_EXIT_CALLBACK 0x8002014d
/* There Is Not Exit Callback */
#define SCE_KERNEL_ERROR_NO_MEMORY 0x80020190
/* No Memory */
#define SCE_KERNEL_ERROR_ILLEGAL_ATTR 0x80020191
/* Illegal Attr Parameter */
#define SCE_KERNEL_ERROR_ILLEGAL_ENTRY 0x80020192
/* Illegal Thread Entry Address */
#define SCE_KERNEL_ERROR_ILLEGAL_PRIORITY 0x80020193
/* Illegal Priority Value */
#define SCE_KERNEL_ERROR_ILLEGAL_STACK_SIZE 0x80020194
/* Illegal Stack Size */
#define SCE_KERNEL_ERROR_ILLEGAL_MODE 0x80020195
/* Illegal Mode */
#define SCE_KERNEL_ERROR_ILLEGAL_MASK 0x80020196
/* Illegal Mask */
#define SCE_KERNEL_ERROR_ILLEGAL_THID 0x80020197
/* Illegal Thread ID */
#define SCE_KERNEL_ERROR_UNKNOWN_THID 0x80020198
/* Unknown Thread ID */
#define SCE_KERNEL_ERROR_UNKNOWN_SEMID 0x80020199
/* Unknown Semaphore ID */
#define SCE_KERNEL_ERROR_UNKNOWN_EVFID 0x8002019a
/* Unknown Event Flag */
#define SCE_KERNEL_ERROR_UNKNOWN_MBXID 0x8002019b
/* Unknown Message Box ID */
#define SCE_KERNEL_ERROR_UNKNOWN_VPLID 0x8002019c
/* Unknown Vpool ID */
#define SCE_KERNEL_ERROR_UNKNOWN_FPLID 0x8002019d
/* Unknown Fpool ID */
#define SCE_KERNEL_ERROR_UNKNOWN_MPPID 0x8002019e
/* Unknown Message Pipe ID */
#define SCE_KERNEL_ERROR_UNKNOWN_ALMID 0x8002019f
/* Unknown Alarm ID */
#define SCE_KERNEL_ERROR_UNKNOWN_TEID 0x800201a0
/* Unknown Thread Event Handler ID */
#define SCE_KERNEL_ERROR_UNKNOWN_CBID 0x800201a1
/* Unknown Callback ID */
#define SCE_KERNEL_ERROR_DORMANT 0x800201a2
/* Thread Already Dormant */
#define SCE_KERNEL_ERROR_SUSPEND 0x800201a3
/* Thread Already Suspended */
#define SCE_KERNEL_ERROR_NOT_DORMANT 0x800201a4
/* Thread Is Not Dormant */
#define SCE_KERNEL_ERROR_NOT_SUSPEND 0x800201a5
/* Thread Is Not Suspended */
#define SCE_KERNEL_ERROR_NOT_WAIT 0x800201a6
/* Thread Is Not Waiting */
#define SCE_KERNEL_ERROR_CAN_NOT_WAIT 0x800201a7
/* Dispatch Now Disabled */
#define SCE_KERNEL_ERROR_WAIT_TIMEOUT 0x800201a8
/* Wait Timeout */
#define SCE_KERNEL_ERROR_WAIT_CANCEL 0x800201a9
/* Wait Canceled */
#define SCE_KERNEL_ERROR_RELEASE_WAIT 0x800201aa
/* Wait Status Released */
#define SCE_KERNEL_ERROR_NOTIFY_CALLBACK 0x800201ab
/* Wait Statues Released With Callback */
#define SCE_KERNEL_ERROR_THREAD_TERMINATED 0x800201ac
/* Thread Is Terminated */
#define SCE_KERNEL_ERROR_SEMA_ZERO 0x800201ad
/* Semaphore Counter Zero */
#define SCE_KERNEL_ERROR_SEMA_OVF 0x800201ae
/* Semaphore Counter Overflow */
#define SCE_KERNEL_ERROR_EVF_COND 0x800201af
/* Event Flag Condition Did Not Occur */
#define SCE_KERNEL_ERROR_EVF_MULTI 0x800201b0
/* Event Flag Cannot Accept Wait With *
* Multiple Threads */
#define SCE_KERNEL_ERROR_EVF_ILPAT 0x800201b1
/* Illegal Event Flag Wait Pattern */
#define SCE_KERNEL_ERROR_MBOX_NOMSG 0x800201b2
/* Message Box Has No Message */
#define SCE_KERNEL_ERROR_MPP_FULL 0x800201b3
/* Message Pipe Is Full */
#define SCE_KERNEL_ERROR_MPP_EMPTY 0x800201b4
/* Message Pipe Is Empty */
#define SCE_KERNEL_ERROR_WAIT_DELETE 0x800201b5
/* Wait Object Deleted */
#define SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCK 0x800201b6
/* Illegal Memory Block */
#define SCE_KERNEL_ERROR_ILLEGAL_MEMSIZE 0x800201b7
/* Illegal Memory Size */
#define SCE_KERNEL_ERROR_ILLEGAL_SPADADDR 0x800201b8
/* Illegal Scratchpad Address */
#define SCE_KERNEL_ERROR_SPAD_INUSE 0x800201b9
/* Scratchpad In Use */
#define SCE_KERNEL_ERROR_SPAD_NOT_INUSE 0x800201ba
/* Scratchpad Not In Use */
#define SCE_KERNEL_ERROR_ILLEGAL_TYPE 0x800201bb
/* Illegal Type */
#define SCE_KERNEL_ERROR_ILLEGAL_SIZE 0x800201bc
/* Illegal Size */
#define SCE_KERNEL_ERROR_ILLEGAL_COUNT 0x800201bd
/* Illegal Count */
#define SCE_KERNEL_ERROR_UNKNOWN_VTID 0x800201be
/* Cannot Find Vtimer */
#define SCE_KERNEL_ERROR_ILLEGAL_VTID 0x800201bf
/* Illegal Vtimer ID */
#define SCE_KERNEL_ERROR_ILLEGAL_KTLSID 0x800201c0
/* Illegal KKTLS ID */
#define SCE_KERNEL_ERROR_KTLS_FULL 0x800201c1
/* KTLS Is Full */
#define SCE_KERNEL_ERROR_KTLS_BUSY 0x800201c2
/* KTLS Is Busy */
#define SCE_KERNEL_ERROR_PM_INVALID_PRIORITY 0x80020258
/* Invalid Such Priority */
#define SCE_KERNEL_ERROR_PM_INVALID_DEVNAME 0x80020259
/* Device Name Is Invalid */
#define SCE_KERNEL_ERROR_PM_UNKNOWN_DEVNAME 0x8002025a
/* Device Name Is Unknown */
#define SCE_KERNEL_ERROR_PM_PMINFO_REGISTERED 0x8002025b
/* PM Information Is Registered Already */
#define SCE_KERNEL_ERROR_PM_PMINFO_UNREGISTERED 0x8002025c
/* PM Information Is Not Registered */
#define SCE_KERNEL_ERROR_PM_INVALID_MAJOR_STATE 0x8002025d
/* Major State Contains Invalid Value */
#define SCE_KERNEL_ERROR_PM_INVALID_REQUEST 0x8002025e
/* Request Is Invalid */
#define SCE_KERNEL_ERROR_PM_UNKNOWN_REQUEST 0x8002025f
/* Request Is Unknown */
#define SCE_KERNEL_ERROR_PM_INVALID_UNIT 0x80020260
/* Unit Number Is Invalid */
#define SCE_KERNEL_ERROR_PM_CANNOT_CANCEL 0x80020261
/* Can No Cancel Request */
#define SCE_KERNEL_ERROR_PM_INVALID_PMINFO 0x80020262
/* PM Information Is Invalid */
#define SCE_KERNEL_ERROR_PM_INVALID_ARGUMENT 0x80020263
/* Argument Is Invalid */
#define SCE_KERNEL_ERROR_PM_ALREADY_TARGET_PWRSTATE 0x80020264
/* Already Targeted Power State */
#define SCE_KERNEL_ERROR_PM_CHANGE_PWRSTATE_FAILED 0x80020265
/* Failed To Change System Power State */
#define SCE_KERNEL_ERROR_PM_CANNOT_CHANGE_DEVPWR_STATE 0x80020266
/* Cannot Change Power Device State */
#define SCE_KERNEL_ERROR_PM_NO_SUPPORT_DEVPWR_STATE 0x80020267
/* Device Does Not Support Power State */
#define SCE_KERNEL_ERROR_DMAC_REQUEST_FAILED 0x8002026c
/* Request To The DMAC Failed */
#define SCE_KERNEL_ERROR_DMAC_REQUEST_DENIED 0x8002026d
/* DMA Operation Less Or Equal To One */
#define SCE_KERNEL_ERROR_DMAC_OP_QUEUED 0x8002026e
/* Operation Is Already Queued */
#define SCE_KERNEL_ERROR_DMAC_OP_NOT_QUEUED 0x8002026f
/* Operation Has Finished Or Not Queued */
#define SCE_KERNEL_ERROR_DMAC_OP_RUNNING 0x800202c0
/* Operation Is Already In Transfer */
#define SCE_KERNEL_ERROR_DMAC_OP_NOT_ASSIGNED 0x800202c1
/* Operation Is Not Assigned Yet */
#define SCE_KERNEL_ERROR_DMAC_OP_TIMEOUT 0x800202c2
/* Sync Operation Timed Out */
#define SCE_KERNEL_ERROR_DMAC_OP_FREED 0x800202c3
/* DMA Operation Struct Is Freed */
#define SCE_KERNEL_ERROR_DMAC_OP_USED 0x800202c4
/* DMA Operation Is Used */
#define SCE_KERNEL_ERROR_DMAC_OP_EMPTY 0x800202c5
/* DMA Operation Is Empty */
#define SCE_KERNEL_ERROR_DMAC_OP_ABORTED 0x800202c6
/* DMA Operation Is Aborted */
#define SCE_KERNEL_ERROR_DMAC_OP_ERROR 0x800202c7
/* DMA Operation Is Error */
#define SCE_KERNEL_ERROR_DMAC_CHANNEL_RESERVED 0x800202c8
/* DMA Channel Already Reserved */
#define SCE_KERNEL_ERROR_DMAC_CHANNEL_EXCLUDED 0x800202c9
/* DMA Channel Not Managed By DMAC */
#define SCE_KERNEL_ERROR_DMAC_PRIVILEGE_ADDRESS 0x800202ca
/* There Is A Privilege Address In Link */
#define SCE_KERNEL_ERROR_DMAC_NO_ENOUGHSPACE 0x800202cb
/* Link List Buffer Not Big Enough */
#define SCE_KERNEL_ERROR_DMAC_CHANNEL_NOT_ASSIGNED 0x800202cc
/* Operation Not Assigned To DMA */
#define SCE_KERNEL_ERROR_DMAC_CHILD_OPERATION 0x800202cd
/* Operation Is Child Operation */
#define SCE_KERNEL_ERROR_DMAC_TOO_MUCH_SIZE 0x800202ce
/* Too Much Data To Transfer */
#define SCE_KERNEL_ERROR_DMAC_INVALID_ARGUMENT 0x800202cf
/* Argument Is Invalid */
#define SCE_KERNEL_ERROR_MFILE 0x80020320
/* Too Many Open Files */
#define SCE_KERNEL_ERROR_NODEV 0x80020321
/* No Such Device */
#define SCE_KERNEL_ERROR_XDEV 0x80020322
/* Cross-Device Link */
#define SCE_KERNEL_ERROR_BADF 0x80020323
/* Bad File Descriptor */
#define SCE_KERNEL_ERROR_INVAL 0x80020324
/* Invalid Argument */
#define SCE_KERNEL_ERROR_UNSUP 0x80020325
/* Unsupported Operation */
#define SCE_KERNEL_ERROR_ALIAS_USED 0x80020326
/* Alias Is Already Used */
#define SCE_KERNEL_ERROR_CANNOT_MOUNT 0x80020327
/* Cannot Mount */
#define SCE_KERNEL_ERROR_DRIVER_DELETED 0x80020328
/* Driver Deleted */
#define SCE_KERNEL_ERROR_ASYNC_BUSY 0x80020329
/* Async Operation Is Busy */
#define SCE_KERNEL_ERROR_NOASYNC 0x8002032a
/* No Async Operation */
#define SCE_KERNEL_ERROR_REGDEV 0x8002032b
/* Device Already Registered */
#define SCE_KERNEL_ERROR_NOCWD 0x8002032c
/* No Current Working Directory */
#define SCE_KERNEL_ERROR_NAMETOOLONG 0x8002032d
/* File Name Too Long */
#define SCE_KERNEL_ERROR_NXIO 0x800203e8
/* DECI3 No Such Device Or Address */
#define SCE_KERNEL_ERROR_IO 0x800203e9
/* DECI3 I/O Error */
#define SCE_KERNEL_ERROR_NOMEM 0x800203ea
/* DECI3 Not Enough Core */
#define SCE_KERNEL_ERROR_STDIO_NOT_OPENED 0x800203eb
/* STDIO Not Opened */
#define SCE_KERNEL_ERROR_CACHE_ALIGNMENT 0x800203ec
/* Parameter Is Not Cache Aligned */
#define SCE_KERNEL_ERROR_ERRORMAX 0x800203ed
/* End Of Kernel Error Code. Never Use */

You might also like