mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(更新:Akabane Jumpei) 常駐モジュールの配置先を SYSM_CheckLoadRegionAndSetRelocateInfo を使って取得(コミットし忘れ)
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@386 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
8fd77756b2
commit
c585730106
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#include <twl.h>
|
#include <twl.h>
|
||||||
#include <twl/os/common/format_rom.h>
|
#include <twl/os/common/format_rom.h>
|
||||||
|
#include <sysmenu.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -227,7 +228,7 @@ typedef struct BLOWFISH_CTX{
|
|||||||
// カードブート時に必要な変数一式をまとめた構造体
|
// カードブート時に必要な変数一式をまとめた構造体
|
||||||
typedef struct CardBootData{
|
typedef struct CardBootData{
|
||||||
u16 lockID;
|
u16 lockID;
|
||||||
|
|
||||||
u32 vae;
|
u32 vae;
|
||||||
u32 vbi;
|
u32 vbi;
|
||||||
u32 vd;
|
u32 vd;
|
||||||
@ -236,11 +237,16 @@ typedef struct CardBootData{
|
|||||||
u32 id_scr;
|
u32 id_scr;
|
||||||
u32 id_gam;
|
u32 id_gam;
|
||||||
|
|
||||||
u32 arm9StaticSize;
|
u32 arm9StcSize;
|
||||||
u32 arm7StaticSize;
|
u32 arm7StcSize;
|
||||||
u32 arm9LtdSize;
|
u32 arm9LtdSize;
|
||||||
u32 arm7LtdSize;
|
u32 arm7LtdSize;
|
||||||
|
|
||||||
|
u32 *arm9Stc;
|
||||||
|
u32 *arm7Stc;
|
||||||
|
u32 *arm9Ltd;
|
||||||
|
u32 *arm7Ltd;
|
||||||
|
|
||||||
BOOL twlFlg;
|
BOOL twlFlg;
|
||||||
|
|
||||||
u32 romEmuBuf[ROM_EMULATION_DATA_SIZE/sizeof(u32)];
|
u32 romEmuBuf[ROM_EMULATION_DATA_SIZE/sizeof(u32)];
|
||||||
@ -252,8 +258,8 @@ typedef struct CardBootData{
|
|||||||
|
|
||||||
BootSegmentData *pBootSegBuf;
|
BootSegmentData *pBootSegBuf;
|
||||||
u32 *pSecureSegBuf;
|
u32 *pSecureSegBuf;
|
||||||
|
|
||||||
BLOWFISH_CTX keyTable;
|
BLOWFISH_CTX keyTable;
|
||||||
}
|
}
|
||||||
CardBootData;
|
CardBootData;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user