mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@440 b08762b0-b915-fc4b-9d8c-17b2551a87ff
41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlSDK
|
|
File: Card.h
|
|
*---------------------------------------------------------------------------*/
|
|
#ifndef __MY_CARD_H__
|
|
#define __MY_CARD_H__
|
|
|
|
#include <twl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef SDK_ARM7
|
|
#define SYSM_HOTSW_ENABLE_ROMEMU
|
|
#endif // SDK_ARM7
|
|
|
|
// Function prototype -------------------------------------------------------
|
|
// 活栓挿抜処理の初期化
|
|
void HOTSW_Init(void);
|
|
|
|
// カード起動。Normalモード→Secureモード→Gameモードを行う
|
|
BOOL HOTSW_Boot(void);
|
|
|
|
// ARM7,9の常駐モジュールを展開する関数
|
|
void HOTSW_LoadStaticModule(void);
|
|
|
|
// Boot Segment バッファの指定
|
|
void HOTSW_SetBootSegmentBuffer(void* buf, u32 size);
|
|
|
|
// Secure Segment バッファの指定
|
|
void HOTSW_SetSecureSegmentBuffer(void* buf, u32 size);
|
|
|
|
// Romエミュレーション情報を格納しているバッファのポインタを返す
|
|
void* HOTSW_GetRomEmulationBuffer(void);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif // __MY_CARD_H__
|