From 64062bf38962e1a684184f04639011c518b6e659 Mon Sep 17 00:00:00 2001 From: yosiokat Date: Thu, 24 Jul 2008 12:14:47 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E3=81=97=E3=81=84ES=E5=AF=BE=E5=BF=9C?= =?UTF-8?q?=E3=81=A7=E3=80=81=E3=83=A9=E3=83=B3=E3=83=81=E3=83=A3=E3=83=BC?= =?UTF-8?q?=E8=B5=B7=E5=8B=95=E6=99=82=E3=81=ABCRYPTO=5FSetAllocator?= =?UTF-8?q?=E3=82=92=E5=91=BC=E3=81=B6=E3=82=88=E3=81=86=E3=81=AB=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=80=82=20systemMenu=5Fmastering=E3=81=A7=E3=82=82NA?= =?UTF-8?q?ND=E3=83=95=E3=82=A1=E3=83=BC=E3=83=A0=E6=9A=AB=E5=AE=9A?= =?UTF-8?q?=E5=AF=BE=E7=AD=96=E3=82=92=E3=81=99=E3=82=8B=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/branches/20080724_SDK500rc_branch@1989 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/Launcher/ARM9/src/main.c | 4 ++++ build/systemMenu_mastering/Makefile | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/build/systemMenu_RED/Launcher/ARM9/src/main.c b/build/systemMenu_RED/Launcher/ARM9/src/main.c index 6aeafd49..5f22fb76 100644 --- a/build/systemMenu_RED/Launcher/ARM9/src/main.c +++ b/build/systemMenu_RED/Launcher/ARM9/src/main.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "launcher.h" #include "misc.h" #include "logoDemo.h" @@ -177,6 +178,9 @@ void TwlMain( void ) SYSM_Init( Alloc, Free ); // OS_Initの前でコールする必要あり。 OS_Init(); SYSM_SetArena(); // OS_Initの後でコールする必要あり。 + + // CRYPTOライブラリ初期化---------- 2008.07.24 ESライブラリがCRYPTOを使用するようになったので、この処理が必要。 + CRYPTO_SetAllocator( Alloc, Free ); // ColdStart時は、ロゴデモが終わるまでは、HWリセットボタンによるHotBootフラグセットを抑制する。 // (「健康と安全」画面を必ず表示するため) diff --git a/build/systemMenu_mastering/Makefile b/build/systemMenu_mastering/Makefile index 0dbb08e6..5acd6844 100644 --- a/build/systemMenu_mastering/Makefile +++ b/build/systemMenu_mastering/Makefile @@ -158,7 +158,15 @@ $(OUT_DIR)/TWLFontTable.dat: $(SYSMENU_DIR)/sharedFont/TWLFontTable.dat #--------------------------- #NANDファーム #--------------------------- +ifeq ($(SDK5_0RC_TEMP),TRUE) +ifeq ($(FIRM_USE_PRODUCT_KEYS),TRUE) +$(OUT_DIR)/menu_launcher-$(TWL_BUILD_TYPE).nand: ../systemMenu_tools/SystemUpdater/SDK_5_0_RC_temp/menu_launcher-$(TWL_BUILD_TYPE)$(CODEGEN_ARCH).prod.nand +else +$(OUT_DIR)/menu_launcher-$(TWL_BUILD_TYPE).nand: ../systemMenu_tools/SystemUpdater/SDK_5_0_RC_temp/menu_launcher-$(TWL_BUILD_TYPE)$(CODEGEN_ARCH).dev.nand +endif +else $(OUT_DIR)/menu_launcher-$(TWL_BUILD_TYPE).nand: ../nandfirm/menu-launcher/menu_launcher-$(TWL_BUILD_TYPE)$(CODEGEN_ARCH).nand +endif cp $< ./$@