sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
iopcontrol.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 __IOPCONTROL_H__
18
#define __IOPCONTROL_H__
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
29
extern
int
SifIopReboot
(
const
char
*arg);
35
extern
int
SifIopReset
(
const
char
*arg,
int
mode);
39
extern
int
SifIopIsAlive
(
void
);
43
extern
int
SifIopSync
(
void
);
44
48
static
inline
int
HasIopRebootedSinceLastCall(
void
)
49
{
50
static
int
_rb_count;
51
extern
int
_iop_reboot_count;
52
if
(_rb_count != _iop_reboot_count) {
53
_rb_count = _iop_reboot_count;
54
return
1;
55
}
56
return
0;
57
}
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* __IOPCONTROL_H__ */
SifIopIsAlive
int SifIopIsAlive(void)
Definition
iopcontrol.c:91
SifIopReboot
int SifIopReboot(const char *arg)
Definition
iopcontrol.c:74
SifIopReset
int SifIopReset(const char *arg, int mode)
Definition
iopcontrol.c:31
SifIopSync
int SifIopSync(void)
Definition
iopcontrol.c:96
core
kernel
include
iopcontrol.h
Generated by
1.18.0