sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
iopcontrol.c File Reference
#include <tamtypes.h>
#include <kernel.h>
#include <sifcmd.h>
#include <sifrpc.h>
#include <string.h>
#include <stdio.h>
#include <iopcontrol.h>

Go to the source code of this file.

Functions

int SifIopReset (const char *arg, int mode)
int SifIopReboot (const char *arg)
int SifIopIsAlive (void)
int SifIopSync ()

Variables

int _iop_reboot_count = 0

Detailed Description

IOP reset and status routines.

Definition in file iopcontrol.c.

Function Documentation

◆ SifIopIsAlive()

int SifIopIsAlive ( void )
Returns
1 for SIF initialized or 0 for not initialized.

Definition at line 91 of file iopcontrol.c.

◆ SifIopReboot()

int SifIopReboot ( const char * arg)

Resets IOP This is a high level wrapper for SifIopReset

Parameters
arga const character pointer for path to module that will be loaded afterwards or an empty string. NULL must not be specified.
Returns
1 for success or 0 for failure.

Definition at line 74 of file iopcontrol.c.

◆ SifIopReset()

int SifIopReset ( const char * arg,
int mode )

Resets IOP

Parameters
arga const character pointer for path to module that will be loaded afterwards or a blank. NULL is not officially supported, but is supported for backward-compatibility with old homebrew projects.
modeBitmask for optional settings. 0x80000000 for verbose messages and 0x100 for magicgate.
Returns
1 for success or 0 for failure.

Definition at line 31 of file iopcontrol.c.

◆ SifIopSync()

int SifIopSync ( void )
Returns
1 for bootup complete or 0 for incomplete.

Definition at line 96 of file iopcontrol.c.

Variable Documentation

◆ _iop_reboot_count

int _iop_reboot_count = 0

Definition at line 26 of file iopcontrol.c.