1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: dbg_Enum.h 4 Copyright (C)2009 Nintendo Co., Ltd. All rights reserved. 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 $Rev: 18249 $ 11 *--------------------------------------------------------------------------- 12 13 14 */ 15 16 /* Please see man pages for details 17 18 19 20 */ 21 22 #ifndef NN_DBG_DBG_ENUM_H_ 23 #define NN_DBG_DBG_ENUM_H_ 24 25 //------------------------------------------------------------------- 26 // for C / C++ 27 28 #ifdef __cplusplus 29 30 namespace nn { namespace dbg { 31 32 /* Please see man pages for details 33 34 35 36 */ 37 enum BreakReason 38 { 39 BREAK_REASON_PANIC, // 40 BREAK_REASON_ASSERT, // 41 BREAK_REASON_USER // 42 }; 43 44 enum PerformanceCounterOperation 45 { 46 PERFORMANCE_COUNTER_OPERATION_ACQUIRE_CONTROL, 47 PERFORMANCE_COUNTER_OPERATION_RELEASE_CONTROL, 48 PERFORMANCE_COUNTER_OPERATION_GET_VALUE, 49 PERFORMANCE_COUNTER_OPERATION_SET_VALUE, 50 PERFORMANCE_COUNTER_OPERATION_GET_OVERFLOW, 51 PERFORMANCE_COUNTER_OPERATION_RESET, 52 PERFORMANCE_COUNTER_OPERATION_GET_EVENT, 53 PERFORMANCE_COUNTER_OPERATION_SET_EVENT, 54 PERFORMANCE_COUNTER_OPERATION_USE_VIRTUAL_COUNTER, 55 56 PERFORMANCE_COUNTER_OPERATION_MAX_BIT = (1u << 31) 57 }; 58 }} 59 60 #endif // ifdef __cplusplus 61 62 #endif /* NN_DBG_DBG_ENUM_H_ */ 63