1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     os_Environment.h
4 
5   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Rev: 24386 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef NN_OS_OS_ENVIRONMENT_H_
17 #define NN_OS_OS_ENVIRONMENT_H_
18 
19 #include <nn/types.h>
20 
21 #ifdef __cplusplus
22     namespace nn { namespace os { namespace CTR {
23 
24         /*!--------------------------------------------------------------------------*
25             @enum      TargetHardware
26 
27             @brief     プログラムの動作環境となるハードウェアを表す列挙体です。
28          *---------------------------------------------------------------------------*/
29         enum TargetHardware
30         {
31             TARGET_HARDWARE_UNKNOWN,            //!< 不明なハードウェアを表します。
32             TARGET_HARDWARE_PRODUCT,            //!< 製品同等のハードウェアを表します。
33             TARGET_HARDWARE_TS_BOARD,           //!< TS ボードを表します。
34             TARGET_HARDWARE_KMC_DEBUGGER,       //!< PARTNER-CTR Debugger を表します。
35             TARGET_HARDWARE_KMC_CAPTURE         //!< PARTNER-CTR Capture を表します。
36         };
37 
38 
39 
40         /*!--------------------------------------------------------------------------*
41           @brief        実行中のハードウェア種別を取得します。
42 
43           @return       実行中のハードウェア種別を返します。
44 
45          *---------------------------------------------------------------------------*/
46         TargetHardware GetRunningTargetHardware();
47 
48     }}}
49 #endif
50 
51 
52 #endif  // ifndef NN_OS_OS_ENVIRONMENT_H_
53