mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
量産用CPUでのTWLカード平文アクセス防止。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@444 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
555ca359fa
commit
b0de31ca8f
@ -579,7 +579,13 @@ static void ReadRomEmulationData(void)
|
||||
u32 count=0;
|
||||
u32 temp;
|
||||
u32 *dst = s_cbData.romEmuBuf;
|
||||
|
||||
|
||||
// 量産用CPUでは平文アクセス防止のためリードしない
|
||||
if ( ! (*(u8*)(OS_CHIPTYPE_DEBUGGER_ADDR) & OS_CHIPTYPE_DEBUGGER_MASK) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// MCCMD レジスタ設定
|
||||
reg_HOTSW_MCCMD0 = 0x3e000000;
|
||||
reg_HOTSW_MCCMD1 = 0x0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user