(更新:Akabane Jumpei)

・Romエミュレーション情報読み関数を修正 その2 

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@432 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
(no author) 2008-01-07 12:49:29 +00:00
parent 9b84321cf0
commit 2823f32678
2 changed files with 4 additions and 5 deletions

View File

@ -12,10 +12,6 @@
#define SECURE_SEGMENT_NUM 4
#define ONE_SEGMENT_PAGE_NUM 8
#define COMMAND_DECRYPTION_WAIT 25 // 25ms
#define ROM_EMULATION_START_OFS 0x160
#define ROM_EMULATION_END_OFS 0x180
// Function prototype -------------------------------------------------------
static void SetSecureCommand(SecureCommandType type, CardBootData *cbd);

View File

@ -29,6 +29,9 @@
#define DIGEST_HASH_BLOCK_SIZE_SHA1 (512/8)
#define ROM_EMULATION_START_OFS 0x160
#define ROM_EMULATION_END_OFS 0x180
// Function prototype -------------------------------------------------------
static BOOL IsCardExist(void);
@ -575,7 +578,7 @@ static void ReadRomEmulationData(void)
{
u32 count=0;
u32 temp;
u32 *dst = &s_cbData.romEmuBuf;
u32 *dst = s_cbData.romEmuBuf;
// MCCMD レジスタ設定
reg_HOTSW_MCCMD0 = 0x3e000000;