ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
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 IMGDRV_IRX_PTRS   0x190
 
#define IMGDRV_IRX_SIZES   0x198
 
#define SifLoadModuleSpecial(path, arg_len, args, dontwait)    _SifLoadModule(path, arg_len, args, NULL, LF_F_MOD_LOAD, dontwait);
 
#define SifLoadModuleEncryptedSpecial(path, arg_len, args, dontwait)    _SifLoadModule(path, arg_len, args, NULL, LF_F_MG_MOD_LOAD, dontwait);
 

Variables

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

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_PTRS

#define IMGDRV_IRX_PTRS   0x190

Definition at line 35 of file SifIopRebootBuffer.c.

◆ IMGDRV_IRX_SIZE

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

Definition at line 25 of file SifIopRebootBuffer.c.

◆ IMGDRV_IRX_SIZES

#define IMGDRV_IRX_SIZES   0x198

Definition at line 36 of file SifIopRebootBuffer.c.

◆ IOPBTCONF_IOP_MAX_SIZE

#define IOPBTCONF_IOP_MAX_SIZE   0x400

Definition at line 26 of file SifIopRebootBuffer.c.

◆ SifLoadModuleEncryptedSpecial

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

Definition at line 46 of file SifIopRebootBuffer.c.

◆ SifLoadModuleSpecial

#define SifLoadModuleSpecial (   path,
  arg_len,
  args,
  dontwait 
)     _SifLoadModule(path, arg_len, args, NULL, LF_F_MOD_LOAD, dontwait);

Definition at line 43 of file SifIopRebootBuffer.c.

Variable Documentation

◆ _imgdrv_irx

unsigned char _imgdrv_irx[]
extern

◆ _iop_reboot_count

int _iop_reboot_count
extern

◆ iopbtconf_img

u8 iopbtconf_img[IOPBTCONF_IOP_MAX_SIZE]
extern

◆ size__imgdrv_irx

unsigned int size__imgdrv_irx
extern