PS2SDK
PS2 Homebrew Libraries
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#ifndef __PS2LIB_ERR_H__
17#define __PS2LIB_ERR_H__
18
19/* Some of these error codes are taken from libc, since a few of them
20 overlap with errors returned by the IOP kernel. Some others have been
21 taken from [RO]man's PS2 BIOS reversing project. The rest were arbitrarily
22 created.
23
24 Feel free to add new error codes where appropriate - just make sure you use
25 them! */
26
27/* Guide to prefixes:
28
29 LIB - ps2lib library-specific errors
30 IOP - IOP kernel module/subsystem
31 LF - IOP executable file loader
32 SIF - libkernel SIF library
33*/
34
36
39
40 /* Erorrs shared with libc. */
51
52 /* Errors returned by the IOP kernel and system modules. */
65
66 /* Library-specific (API) errors. */
79
80 /* SIF library */
89
90
91};
92#endif /* __PS2LIB_ERR_H__ */
_ps2lib_errors
Definition ps2lib_err.h:35
@ E_LIB_INVALID_ARG
Definition ps2lib_err.h:78
@ E_LIB_IO_ERROR
Definition ps2lib_err.h:44
@ E_SIF_PKT_SEND
Definition ps2lib_err.h:84
@ E_IOP_INTR_CONTEXT
Definition ps2lib_err.h:54
@ E_LIB_THREAD_CREATE
Definition ps2lib_err.h:72
@ E_LIB_API_INIT
Definition ps2lib_err.h:68
@ E_SIF_PKT_ALLOC
Definition ps2lib_err.h:82
@ E_LIB_ERROR
Definition ps2lib_err.h:38
@ E_LF_FILE_IO_ERROR
Definition ps2lib_err.h:62
@ E_LIB_MATH_RANGE
Definition ps2lib_err.h:50
@ E_LF_NOT_IRX
Definition ps2lib_err.h:58
@ E_LIB_MATH_DOMAIN
Definition ps2lib_err.h:48
@ E_SIF_RPC_CALL
Definition ps2lib_err.h:88
@ E_IOP_NO_MEMORY
Definition ps2lib_err.h:64
@ E_SIF_RPC_BIND
Definition ps2lib_err.h:86
@ E_LIB_SEMA_CREATE
Definition ps2lib_err.h:70
@ E_LIB_FILE_NOT_FOUND
Definition ps2lib_err.h:42
@ E_LIB_UNSUPPORTED
Definition ps2lib_err.h:76
@ E_IOP_DEPENDANCY
Definition ps2lib_err.h:56
@ E_LIB_THREAD_START
Definition ps2lib_err.h:74
@ E_LF_FILE_NOT_FOUND
Definition ps2lib_err.h:60
@ E_LIB_OUT_OF_MEMORY
Definition ps2lib_err.h:46