PS2SDK
PS2 Homebrew Libraries
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
Variables
_
c
d
f
g
i
k
m
n
p
q
r
s
t
u
v
w
Typedefs
a
d
h
i
l
m
n
p
r
s
t
w
Enumerations
_
a
c
d
g
i
l
m
n
o
p
s
t
v
Enumerator
c
d
e
g
i
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
z
▼
PS2SDK
PS2SDK - PS2DEV Open Source Project
PS2SDK - KERNEL LIBRARY
remote
►
Topics
►
Data Structures
▼
Files
▼
File List
►
common
▼
ee
►
debug
►
dma
►
draw
►
eedebug
►
elf-loader
►
erl
►
erl-loader
►
font
►
graph
►
input
►
iopreboot
►
kernel
►
libcglue
►
libgs
►
libprofglue
►
libpthreadglue
►
libvux
►
math3d
►
mpeg
►
network
►
packet
►
packet2
►
rpc
►
sbv
▼
startup
▼
include
►
startup.h
►
src
►
iop
►
tools
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
startup.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# (c) 2020 Francisco Javier Trujillo Mata <fjtrujy@gmail.com>
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
#ifndef __STARTUP_H__
17
#define __STARTUP_H__
18
19
20
#include <stdint.h>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#define MAX_ARGS 16
27
#define MAX_ARGLEN 256
28
29
// System provided arguments when loaded normally
30
struct
sargs
{
31
int32_t argc;
32
char
* argv[MAX_ARGS];
33
char
payload[MAX_ARGLEN];
34
};
30
struct
sargs
{
…
};
35
36
// Sent arguments through __start (by ps2link for instance)
37
struct
sargs_start
{
38
int32_t pid;
39
struct
sargs
args;
40
};
37
struct
sargs_start
{
…
};
41
42
#ifdef __cplusplus
43
}
44
#endif
45
46
#endif
/* __STARTUP_H__ */
sargs
Definition
startup.h:30
sargs_start
Definition
startup.h:37
ee
startup
include
startup.h
Generated on Wed Feb 19 2025 02:05:15 for PS2SDK by
1.12.0