sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
ps2lib_err.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# (c) 2003 Marcus R. Brown (mrbrown@0xd6.org)
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16
17#ifndef __PS2LIB_ERR_H__
18#define __PS2LIB_ERR_H__
19
20/* Some of these error codes are taken from libc, since a few of them
21 overlap with errors returned by the IOP kernel. Some others have been
22 taken from [RO]man's PS2 BIOS reversing project. The rest were arbitrarily
23 created.
24
25 Feel free to add new error codes where appropriate - just make sure you use
26 them! */
27
28/* Guide to prefixes:
29
30 LIB - ps2lib library-specific errors
31 IOP - IOP kernel module/subsystem
32 LF - IOP executable file loader
33 SIF - libkernel SIF library
34*/
35
37
40
41 /* Erorrs shared with libc. */
52
53 /* Errors returned by the IOP kernel and system modules. */
66
67 /* Library-specific (API) errors. */
80
81 /* SIF library */
90
91
92};
93#endif /* __PS2LIB_ERR_H__ */
_ps2lib_errors
Definition ps2lib_err.h:36
@ E_LIB_INVALID_ARG
Definition ps2lib_err.h:79
@ E_LIB_IO_ERROR
Definition ps2lib_err.h:45
@ E_SIF_PKT_SEND
Definition ps2lib_err.h:85
@ E_IOP_INTR_CONTEXT
Definition ps2lib_err.h:55
@ E_LIB_THREAD_CREATE
Definition ps2lib_err.h:73
@ E_LIB_API_INIT
Definition ps2lib_err.h:69
@ E_SIF_PKT_ALLOC
Definition ps2lib_err.h:83
@ E_LIB_ERROR
Definition ps2lib_err.h:39
@ E_LF_FILE_IO_ERROR
Definition ps2lib_err.h:63
@ E_LIB_MATH_RANGE
Definition ps2lib_err.h:51
@ E_LF_NOT_IRX
Definition ps2lib_err.h:59
@ E_LIB_MATH_DOMAIN
Definition ps2lib_err.h:49
@ E_SIF_RPC_CALL
Definition ps2lib_err.h:89
@ E_IOP_NO_MEMORY
Definition ps2lib_err.h:65
@ E_SIF_RPC_BIND
Definition ps2lib_err.h:87
@ E_LIB_SEMA_CREATE
Definition ps2lib_err.h:71
@ E_LIB_FILE_NOT_FOUND
Definition ps2lib_err.h:43
@ E_LIB_UNSUPPORTED
Definition ps2lib_err.h:77
@ E_IOP_DEPENDANCY
Definition ps2lib_err.h:57
@ E_LIB_THREAD_START
Definition ps2lib_err.h:75
@ E_LF_FILE_NOT_FOUND
Definition ps2lib_err.h:61
@ E_LIB_OUT_OF_MEMORY
Definition ps2lib_err.h:47