TwlIPL/include/sysmenu/boot/common/boot_api.h
yosiokat 692a886831 ・TWLアプリのカードブートができるよう変更。(とりあえずNTRカードでのブートに対応)
・カード抜けチェック対応のため、カード起動時にHW_BOOT_CHECK_INFO_BUFとHW_RED_RESERVEDに現在のカードのカードIDをセットするよう変更。
・カードBでのブートに対応するため、カード起動時にカードスロットA,Bをスワップするよう変更。
・boot.hのヘッダ整理。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@256 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-11-26 11:45:32 +00:00

84 lines
2.4 KiB
C

/*---------------------------------------------------------------------------*
Project: TwlIPL
File: boot_api.h
Copyright 2007 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:: 2007-11-8#$
$Rev: $
$Author: yoshida_teruhisa $
*---------------------------------------------------------------------------*/
#if !defined(_SYSMENU_BOOT_H_)
#define _SYSMENU_BOOT_API_H_
#include <sysmenu/memorymap.h>
#ifdef __cplusplus
extern "C" {
#endif
/*---------------------------------------------------------------------------*
Type definition
*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*
functions
*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*
Name: BOOT_Core
Description: ブートのコア関数
Arguments: None.
Returns: None.
*---------------------------------------------------------------------------*/
void BOOT_Core( void );
/*---------------------------------------------------------------------------*
Name: BOOT_Init
Description: ブートのための初期化
Arguments: None.
Returns: None.
*---------------------------------------------------------------------------*/
void BOOT_Init( void );
/*---------------------------------------------------------------------------*
Name: BOOT_WaitStart
Description: スタート待ち(ARM7)
Arguments: None.
Returns: None.
*---------------------------------------------------------------------------*/
BOOL BOOT_WaitStart( void );
/*---------------------------------------------------------------------------*
Name: BOOT_WaitStart
Description: ブート開始及びARM7への通知及び待機(ARM9)
Arguments: None.
Returns: None.
*---------------------------------------------------------------------------*/
void BOOT_Ready( void );
#ifdef __cplusplus
}
#endif
#endif /* _SYSMENU_BOOT_API_H_ */