PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
SifIopRebootBuffer.c File Reference
#include "kernel.h"
#include "iopcontrol.h"
#include "iopcontrol_special.h"
#include "loadfile.h"
#include "iopheap.h"
#include "sifdma.h"
#include "sifrpc.h"
#include "string.h"
#include "sbv_patches.h"
+ Include dependency graph for SifIopRebootBuffer.c:

Go to the source code of this file.

Macros

#define IMGDRV_IRX_SIZE   ((size__imgdrv_irx + 15) & ~15)
 
#define IOPBTCONF_IOP_MAX_SIZE   0x400
 
#define SifLoadModuleSpecial(path, arg_len, args, dontwait)
 
#define SifLoadModuleEncryptedSpecial(path, arg_len, args, dontwait)
 

Functions

void init_imgdrv_offsets (void)
 

Variables

int _iop_reboot_count
 
u8 iopbtconf_img [IOPBTCONF_IOP_MAX_SIZE]
 
unsigned char _imgdrv_irx []
 
unsigned int size__imgdrv_irx
 
int imgdrv_offset_ioprpimg
 
int imgdrv_offset_ioprpsiz
 

Detailed Description

Special IOP Reboot routines for rebooting with an IOPRP image/encrypted UDNL module in a buffer.

Definition in file SifIopRebootBuffer.c.

Macro Definition Documentation

◆ IMGDRV_IRX_SIZE

#define IMGDRV_IRX_SIZE   ((size__imgdrv_irx + 15) & ~15)

Definition at line 25 of file SifIopRebootBuffer.c.

◆ IOPBTCONF_IOP_MAX_SIZE

#define IOPBTCONF_IOP_MAX_SIZE   0x400

Definition at line 26 of file SifIopRebootBuffer.c.

◆ SifLoadModuleSpecial

#define SifLoadModuleSpecial ( path,
arg_len,
args,
dontwait )
Value:
_SifLoadModule(path, arg_len, args, NULL, LF_F_MOD_LOAD, dontwait);
int _SifLoadModule(const char *path, int arg_len, const char *args, int *modres, int fno, int dontwait)

Definition at line 62 of file SifIopRebootBuffer.c.

◆ SifLoadModuleEncryptedSpecial

#define SifLoadModuleEncryptedSpecial ( path,
arg_len,
args,
dontwait )
Value:
_SifLoadModule(path, arg_len, args, NULL, LF_F_MG_MOD_LOAD, dontwait);

Definition at line 65 of file SifIopRebootBuffer.c.