sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
kerr.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
17
18#ifndef __KERR_H__
19#define __KERR_H__
20
21#define KE_OK 0
22#define KE_ERROR -1
23#define KE_ILLEGAL_EXPCODE -50
24#define KE_EXPHANDLER_NOUSE -51
25#define KE_EXPHANDLER_USED -52
26#define KE_ILLEGAL_CONTEXT -100
27#define KE_ILLEGAL_INTRCODE -101
28#define KE_CPUDI -102
29#define KE_INTRDISABLE -103
30#define KE_FOUND_HANDLER -104
31#define KE_NOTFOUND_HANDLER -105
32#define KE_NO_TIMER -150
33#define KE_ILLEGAL_TIMERID -151
34#define KE_ILLEGAL_SOURCE -152
35#define KE_ILLEGAL_PRESCALE -153
36#define KE_TIMER_BUSY -154
37#define KE_TIMER_NOT_SETUP -155
38#define KE_TIMER_NOT_INUSE -156
39#define KE_UNIT_USED -160
40#define KE_UNIT_NOUSE -161
41#define KE_NO_ROMDIR -162
42#define KE_LINKERR -200
43#define KE_ILLEGAL_OBJECT -201
44#define KE_UNKNOWN_MODULE -202
45#define KE_NOFILE -203
46#define KE_FILEERR -204
47#define KE_MEMINUSE -205
48#define KE_ALREADY_STARTED -206
49#define KE_NOT_STARTED -207
50#define KE_ALREADY_STOPPED -208
51#define KE_CAN_NOT_STOP -209
52#define KE_NOT_STOPPED -210
53#define KE_NOT_REMOVABLE -211
54#define KE_LIBRARY_FOUND -212
55#define KE_LIBRARY_NOTFOUND -213
56#define KE_ILLEGAL_LIBRARY -214
57#define KE_LIBRARY_INUSE -215
58#define KE_ALREADY_STOPPING -216
59#define KE_ILLEGAL_OFFSET -217
60#define KE_ILLEGAL_POSITION -218
61#define KE_ILLEGAL_ACCESS -219
62#define KE_ILLEGAL_FLAG -220
63#define KE_NO_MEMORY -400
64#define KE_ILLEGAL_ATTR -401
65#define KE_ILLEGAL_ENTRY -402
66#define KE_ILLEGAL_PRIORITY -403
67#define KE_ILLEGAL_STACK_SIZE -404
68#define KE_ILLEGAL_MODE -405
69#define KE_ILLEGAL_THID -406
70#define KE_UNKNOWN_THID -407
71#define KE_UNKNOWN_SEMID -408
72#define KE_UNKNOWN_EVFID -409
73#define KE_UNKNOWN_MBXID -410
74#define KE_UNKNOWN_VPLID -411
75#define KE_UNKNOWN_FPLID -412
76#define KE_DORMANT -413
77#define KE_NOT_DORMANT -414
78#define KE_NOT_SUSPEND -415
79#define KE_NOT_WAIT -416
80#define KE_CAN_NOT_WAIT -417
81#define KE_RELEASE_WAIT -418
82#define KE_SEMA_ZERO -419
83#define KE_SEMA_OVF -420
84#define KE_EVF_COND -421
85#define KE_EVF_MULTI -422
86#define KE_EVF_ILPAT -423
87#define KE_MBOX_NOMSG -424
88#define KE_WAIT_DELETE -425
89#define KE_ILLEGAL_MEMBLOCK -426
90#define KE_ILLEGAL_MEMSIZE -427
91#define KE_ILLEGAL_SPADADDR -428
92#define KE_SPAD_INUSE -429
93#define KE_SPAD_NOT_INUSE -430
94#define KE_ILLEGAL_TYPE -431
95#define KE_ILLEGAL_SIZE -432
96
97#endif /* __KERR_H__ */