From fc590a417adccc375957064cd21280898f26c213 Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Tue, 18 Mar 2008 08:17:02 +0000 Subject: [PATCH] =?UTF-8?q?Launcher=E8=B5=B7=E5=8B=95=E6=99=82=E3=80=81?= =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=9D=E3=83=BC=E3=83=8D=E3=83=B3=E3=83=88?= =?UTF-8?q?=E5=81=B4=E3=81=A7Launcher=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=82=92=E6=A0=BC=E7=B4=8D=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= 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@896 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/components/hyena.TWL/src/main.c | 3 +++ include/sysmenu/sysmenu_lib/common/sysmenu_api.h | 1 + 2 files changed, 4 insertions(+) diff --git a/build/components/hyena.TWL/src/main.c b/build/components/hyena.TWL/src/main.c index 6cff4501..b7a0bd41 100644 --- a/build/components/hyena.TWL/src/main.c +++ b/build/components/hyena.TWL/src/main.c @@ -153,6 +153,9 @@ TwlSpMain(void) (void)OS_EnableIrq(); (void)OS_EnableInterrupts(); + // ランチャーバージョンを格納(今のところ、最低でもマウント情報登録前には格納する必要あり) + *(u8 *)HW_TWL_RED_LAUNCHER_VER = (u8)SYSM_LAUNCHER_VER; + // ランチャーのマウント情報登録 SYSMi_SetLauncherMountInfo(); diff --git a/include/sysmenu/sysmenu_lib/common/sysmenu_api.h b/include/sysmenu/sysmenu_lib/common/sysmenu_api.h index 8cc7e6ad..bce6d7ed 100644 --- a/include/sysmenu/sysmenu_lib/common/sysmenu_api.h +++ b/include/sysmenu/sysmenu_lib/common/sysmenu_api.h @@ -47,6 +47,7 @@ extern "C" { // 量産工程で使用する初回起動設定をキャンセルしてカードブートするショートカットキー #define SYSM_MOUNT_INFO_SIZE (0x400 - OS_MOUNT_PATH_LEN) +#define SYSM_LAUNCHER_VER 1 // ランチャーバージョン(SDK側でランチャーに絡む処理の判定用) typedef enum PlatformCode { PLATFORM_NTR = 0,