PS2SDK
PS2 Homebrew Libraries
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#ifndef __KERR_H__
18#define __KERR_H__
19
20#define KE_OK 0
21#define KE_ERROR -1
22#define KE_ILLEGAL_EXPCODE -50
23#define KE_EXPHANDLER_NOUSE -51
24#define KE_EXPHANDLER_USED -52
25#define KE_ILLEGAL_CONTEXT -100
26#define KE_ILLEGAL_INTRCODE -101
27#define KE_CPUDI -102
28#define KE_INTRDISABLE -103
29#define KE_FOUND_HANDLER -104
30#define KE_NOTFOUND_HANDLER -105
31#define KE_NO_TIMER -150
32#define KE_ILLEGAL_TIMERID -151
33#define KE_ILLEGAL_SOURCE -152
34#define KE_ILLEGAL_PRESCALE -153
35#define KE_TIMER_BUSY -154
36#define KE_TIMER_NOT_SETUP -155
37#define KE_TIMER_NOT_INUSE -156
38#define KE_UNIT_USED -160
39#define KE_UNIT_NOUSE -161
40#define KE_NO_ROMDIR -162
41#define KE_LINKERR -200
42#define KE_ILLEGAL_OBJECT -201
43#define KE_UNKNOWN_MODULE -202
44#define KE_NOFILE -203
45#define KE_FILEERR -204
46#define KE_MEMINUSE -205
47#define KE_ALREADY_STARTED -206
48#define KE_NOT_STARTED -207
49#define KE_ALREADY_STOPPED -208
50#define KE_CAN_NOT_STOP -209
51#define KE_NOT_STOPPED -210
52#define KE_NOT_REMOVABLE -211
53#define KE_LIBRARY_FOUND -212
54#define KE_LIBRARY_NOTFOUND -213
55#define KE_ILLEGAL_LIBRARY -214
56#define KE_LIBRARY_INUSE -215
57#define KE_ALREADY_STOPPING -216
58#define KE_ILLEGAL_OFFSET -217
59#define KE_ILLEGAL_POSITION -218
60#define KE_ILLEGAL_ACCESS -219
61#define KE_ILLEGAL_FLAG -220
62#define KE_NO_MEMORY -400
63#define KE_ILLEGAL_ATTR -401
64#define KE_ILLEGAL_ENTRY -402
65#define KE_ILLEGAL_PRIORITY -403
66#define KE_ILLEGAL_STACK_SIZE -404
67#define KE_ILLEGAL_MODE -405
68#define KE_ILLEGAL_THID -406
69#define KE_UNKNOWN_THID -407
70#define KE_UNKNOWN_SEMID -408
71#define KE_UNKNOWN_EVFID -409
72#define KE_UNKNOWN_MBXID -410
73#define KE_UNKNOWN_VPLID -411
74#define KE_UNKNOWN_FPLID -412
75#define KE_DORMANT -413
76#define KE_NOT_DORMANT -414
77#define KE_NOT_SUSPEND -415
78#define KE_NOT_WAIT -416
79#define KE_CAN_NOT_WAIT -417
80#define KE_RELEASE_WAIT -418
81#define KE_SEMA_ZERO -419
82#define KE_SEMA_OVF -420
83#define KE_EVF_COND -421
84#define KE_EVF_MULTI -422
85#define KE_EVF_ILPAT -423
86#define KE_MBOX_NOMSG -424
87#define KE_WAIT_DELETE -425
88#define KE_ILLEGAL_MEMBLOCK -426
89#define KE_ILLEGAL_MEMSIZE -427
90#define KE_ILLEGAL_SPADADDR -428
91#define KE_SPAD_INUSE -429
92#define KE_SPAD_NOT_INUSE -430
93#define KE_ILLEGAL_TYPE -431
94#define KE_ILLEGAL_SIZE -432
95
96#endif /* __KERR_H__ */