From 39a7a0b2fe934567381c1e4b5071f20f169f1d7d Mon Sep 17 00:00:00 2001 From: nakasima Date: Tue, 25 Mar 2008 12:33:06 +0000 Subject: [PATCH] =?UTF-8?q?Cold=E3=82=B9=E3=82=BF=E3=83=BC=E3=83=88?= =?UTF-8?q?=E6=99=82=E3=81=AF=E3=82=A2=E3=83=97=E3=83=AA=E3=83=91=E3=83=A9?= =?UTF-8?q?=E3=83=A1=E3=83=BC=E3=82=BF=E3=82=82=E3=82=AF=E3=83=AA=E3=82=A2?= =?UTF-8?q?=EF=BC=88=E7=9F=A2=E7=94=B0=E3=81=95=E3=82=93=E3=81=8B=E3=82=89?= =?UTF-8?q?=E3=81=AE=E8=A6=81=E6=9C=9B=EF=BC=89=E3=80=82?= 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@944 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/components/hyena.TWL/src/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/components/hyena.TWL/src/main.c b/build/components/hyena.TWL/src/main.c index e344571d..da431e6b 100644 --- a/build/components/hyena.TWL/src/main.c +++ b/build/components/hyena.TWL/src/main.c @@ -277,7 +277,12 @@ void ReadLauncherParameter( void ) SYSMi_GetWork()->flags.common.isValidLauncherParam = OS_ReadLauncherParameter( (LauncherParam *)&(SYSMi_GetWork()->launcherParam), &hot ); SYSMi_GetWork()->flags.common.isHotStart = hot; // メインメモリのリセットパラメータをクリアしておく - MI_CpuClear32( SYSMi_GetLauncherParamAddr(), 0x100 ); + MI_CpuClearFast( (void*)HW_PARAM_LAUNCH_PARAM, HW_PARAM_LAUNCH_PARAM_SIZE ); + // Coldスタート時はアプリパラメータもクリア + if ( ! hot ) + { + MI_CpuClearFast( (void*)HW_PARAM_DELIVER_ARG, HW_PARAM_DELIVER_ARG_SIZE ); + } }