TwlIPL/include/sysmenu/hotsw/common/hotsw.h
(no author) c3361bc1ac 更新:akabane_jumpei エミュレーション情報を読み込む処理追加。(今の所、自分でエミュレーションメモリをいじらないと All 0 が返ってくる。)
エミュレーション情報を格納したバッファへのポインタを返す関数も追加。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@369 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-12-17 13:23:11 +00:00

37 lines
976 B
C

/*---------------------------------------------------------------------------*
Project: TwlSDK
File: Card.h
*---------------------------------------------------------------------------*/
#ifndef __MY_CARD_H__
#define __MY_CARD_H__
#include <twl.h>
#ifdef __cplusplus
extern "C" {
#endif
// 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__