TwlIPL/build/libraries_sysmenu/sysmenu/common/include/internal_api.h
yoshida_teruhisa 81e66f51cb マウント情報をWRAMに隠蔽するための変更
・ARM7側からWRAMにマウント情報を格納するため、mountInfo関連を大手術
 ・ビルドの通っていないアプリが使っているlcfテンプレートを変更
 ・ランチャーとSDKのFSがランチャーバージョンの格納および取得に対応するまで、マウント情報まわりが正常に機能せず

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@895 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-03-18 07:31:21 +00:00

102 lines
2.6 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*---------------------------------------------------------------------------*
Project: TwlIPL
File: internal_api.h
Copyright 2007-2008 Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
$Date:: $
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#ifndef SYSM_INTERNAL_API_H_
#define SYSM_INTERNAL_API_H_
#include <twl.h>
#include <sysmenu/sysmenu_lib/common/pxi.h>
#ifdef __cplusplus
extern "C" {
#endif
//#define SYSM_LIB_NO_MESSAGE // Printf抑制スイッチ
#ifdef SYSM_LIB_NO_MESSAGE
#define OS_Printf( ... ) ((void)0)
#define OS_TPrintf( ... ) ((void)0)
#define OS_PutString( ... ) ((void)0)
#endif
//-------------------------------------------------------
// マウント情報セット
//-------------------------------------------------------
#ifdef SDK_ARM9
// BootSRLPath受け渡し用
void SYSMi_SetBootSRLPathToWork2( TitleProperty *pBootTitle );
#else
// ランチャー用
void SYSMi_SetLauncherMountInfo( void );
// 起動アプリ用
void SYSMi_SetBootAppMountInfo( TitleProperty *pBootTitle );
#endif
#ifdef SDK_ARM9
//-------------------------------------------------------
// デバイス
//-------------------------------------------------------
// RTC補正
void SYSMi_WriteAdjustRTC( void );
// RTCチェック
void SYSMi_CheckRTC( void );
//-------------------------------------------------------
// バナー
//-------------------------------------------------------
// カードバナーリード※NTR-IPL2仕様
BOOL SYSMi_ReadCardBannerFile( u32 bannerOffset, TWLBannerFile *pBanner );
// NANDアプリバナーリード
BOOL SYSMi_ReadBanner_NAND( NAMTitleId titleID, TWLBannerFile *pDst );
//-------------------------------------------------------
// 活線挿抜
//-------------------------------------------------------
void SYSMi_EnableHotSW( BOOL enable );
#endif
//=======================================================
//
// ARM9/ARM7共通API
//
//=======================================================
BOOL SYSMi_IsDebuggerBannerViewMode( void );
BOOL SYSMi_CheckEntryAddress( void );
BOOL SYSMi_CopyCardRomHeader( void );
BOOL SYSMi_CopyCardBanner( void );
#ifdef __cplusplus
}
#endif
#endif // SYSM_INTERNAL_API_H_