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@448 b08762b0-b915-fc4b-9d8c-17b2551a87ff
50 lines
1.5 KiB
C
50 lines
1.5 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlIPL
|
|
File: reloc_info.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-12-12#$
|
|
$Rev: 352 $
|
|
$Author: yoshida_teruhisa $
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef __SYSMENU_RELOC_INFO_H__
|
|
#define __SYSMENU_RELOC_INFO_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//----------------------------------------------------------------------
|
|
// データ型定義
|
|
//----------------------------------------------------------------------
|
|
|
|
// ROMセグメント名
|
|
typedef enum RomSegmentName {
|
|
ARM9_STATIC = 0,
|
|
ARM7_STATIC = 1,
|
|
ARM9_LTD_STATIC = 2,
|
|
ARM7_LTD_STATIC = 3
|
|
}RomSegmentName;
|
|
|
|
//----------------------------------------------------------------------
|
|
// 関数宣言
|
|
//----------------------------------------------------------------------
|
|
|
|
// ロード領域のチェック及び再配置情報の生成
|
|
BOOL SYSM_CheckLoadRegionAndSetRelocateInfo( RomSegmentName seg, u32 *dest, u32 length, Relocate_Info *info, BOOL isTwlApp );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __SYSMENU_RELOC_INFO_H__
|
|
|