|
PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>#include <kernel.h>#include <sifdma.h>#include <sifrpc.h>#include "smod.h"#include "slib.h"#include "common.h"
Include dependency graph for patch_romdrv_set_rom1_info.c:Go to the source code of this file.
Functions | |
| int | sbv_patch_romdrv_set_rom1_info (void *iop_reset_addr, int romdir_size) |
Variables | |
| struct smem_buf | smem_buf |
Patches data inside ROMDRV to point to an arbritary RESET image in memory.
Definition in file patch_romdrv_set_rom1_info.c.
| int sbv_patch_romdrv_set_rom1_info | ( | void * | iop_reset_addr, |
| int | romdir_size | ||
| ) |
| iop_reset_addr | address of RESET-headered ROMDIR block in IOP memory |
| romdir_size | size of ROMDIR block in IOP memory |
Patches data inside ROMDRV to point to an arbritary RESET image in memory. This avoids requiring code patches, such as those done for the following:
Definition at line 29 of file patch_romdrv_set_rom1_info.c.