/*---------------------------------------------------------------------------* Project: Horizon File: ro_Types.h Copyright (C)2009-2012 Nintendo Co., Ltd. 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. $Rev: 47393 $ *---------------------------------------------------------------------------*/ #ifndef NN_RO_RO_TYPES_H_ #define NN_RO_RO_TYPES_H_ #include #include #include namespace nn { namespace ro { //--------------------------------------------------------------------------- // // //--------------------------------------------------------------------------- enum FixLevel { FIX_LEVEL_0, // FIX_LEVEL_1, // FIX_LEVEL_2, // FIX_LEVEL_3, // //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- FIX_LEVEL_NONE = FIX_LEVEL_0, //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- FIX_LEVEL_INTERNAL = FIX_LEVEL_1, //--------------------------------------------------------------------------- // // //--------------------------------------------------------------------------- FIX_LEVEL_INTERNAL_IMPORT = FIX_LEVEL_2, //--------------------------------------------------------------------------- // // // //--------------------------------------------------------------------------- FIX_LEVEL_INTERNAL_IMPORT_EXPORT = FIX_LEVEL_3, FIX_LEVEL_MAX_BITS = (1u << 31) }; //--------------------------------------------------------------------------- // // // // // // // // // // // // // // // //--------------------------------------------------------------------------- struct SizeInfo { //--------------------------------------------------------------------------- // // //--------------------------------------------------------------------------- uptr fix0End; //--------------------------------------------------------------------------- // // //--------------------------------------------------------------------------- uptr fix1End; //--------------------------------------------------------------------------- // // //--------------------------------------------------------------------------- uptr fix2End; //--------------------------------------------------------------------------- // // //--------------------------------------------------------------------------- uptr fix3End; //--------------------------------------------------------------------------- // // // // //--------------------------------------------------------------------------- size_t bufferSize; }; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- struct RegionInfo { //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- uptr mapBegin; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- size_t mapSize; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- uptr croBegin; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- size_t croSize; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- uptr dataBssBegin; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- size_t dataBssSize; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- uptr codeBegin; //--------------------------------------------------------------------------- // //--------------------------------------------------------------------------- size_t codeSize; }; } // end of namespace ro } // end of namespace nn #endif // ifndef NN_RO_RO_TYPES_H_