PS2SDK
PS2 Homebrew Libraries
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.

Data Structures

struct  romdir
 
struct  extinfo
 

Macros

#define IOPBTCONF_IOP_MAX_SIZE   0x400
 
#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)
 

Typedefs

typedef struct romdir romdir_t
 
typedef struct extinfo extinfo_t
 

Enumerations

enum  EXTINFO_TYPE { EXTINFO_TYPE_DATE = 1, EXTINFO_TYPE_VERSION, EXTINFO_TYPE_COMMENT, EXTINFO_TYPE_FIXED = 0x7F }
 

Functions

int send_romdrv_rom1_payloads (void *payload1, int payload1_size, void *payload2, int payload2_size)
 

Variables

int _iop_reboot_count
 
u8 iopbtconf_img [IOPBTCONF_IOP_MAX_SIZE]
 

Detailed Description

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

Definition in file SifIopRebootBuffer.c.


Data Structure Documentation

◆ romdir

struct romdir

Definition at line 33 of file SifIopRebootBuffer.c.

Data Fields
char name[10]
u16 ExtInfoEntrySize
u32 size

◆ extinfo

struct extinfo

Definition at line 40 of file SifIopRebootBuffer.c.

Data Fields
u16 value
u8 ExtLength
u8 type