From 2823f326788eabdae17215390347de509254f362 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@b08762b0-b915-fc4b-9d8c-17b2551a87ff> Date: Mon, 7 Jan 2008 12:49:29 +0000 Subject: [PATCH] =?UTF-8?q?(=E6=9B=B4=E6=96=B0:Akabane=20Jumpei)=20?= =?UTF-8?q?=E3=83=BBRom=E3=82=A8=E3=83=9F=E3=83=A5=E3=83=AC=E3=83=BC?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E6=83=85=E5=A0=B1=E8=AA=AD=E3=81=BF?= =?UTF-8?q?=E9=96=A2=E6=95=B0=E3=82=92=E4=BF=AE=E6=AD=A3=20=E3=81=9D?= =?UTF-8?q?=E3=81=AE=EF=BC=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@432 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/libraries_sysmenu/hotsw/ARM7/src/dsCardType2.c | 4 ---- build/libraries_sysmenu/hotsw/ARM7/src/hotsw.c | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/build/libraries_sysmenu/hotsw/ARM7/src/dsCardType2.c b/build/libraries_sysmenu/hotsw/ARM7/src/dsCardType2.c index 39ac7d1a..e80390e7 100644 --- a/build/libraries_sysmenu/hotsw/ARM7/src/dsCardType2.c +++ b/build/libraries_sysmenu/hotsw/ARM7/src/dsCardType2.c @@ -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); diff --git a/build/libraries_sysmenu/hotsw/ARM7/src/hotsw.c b/build/libraries_sysmenu/hotsw/ARM7/src/hotsw.c index 52c01441..b185bf0f 100644 --- a/build/libraries_sysmenu/hotsw/ARM7/src/hotsw.c +++ b/build/libraries_sysmenu/hotsw/ARM7/src/hotsw.c @@ -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;