1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: os_HardwareParams.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: 23704 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_OS_CTR_MPCORE_OS_HARDWAREPARAMS_H_ 17 #define NN_OS_CTR_MPCORE_OS_HARDWAREPARAMS_H_ 18 19 20 #define NN_HW_CPU_CLOCK (67027964 * 4) 21 22 #define NN_HW_TICKS_PER_SECOND (NN_HW_CPU_CLOCK) 23 24 #ifdef __cplusplus 25 26 namespace nn { namespace os { namespace CTR { namespace MPCore { 27 const s64 SLEEP_SPIN_THRESHOLD = 13431; 28 const s64 SLEEP_OFFSET = 11000; 29 }}}} 30 31 #endif // ifdef __cplusplus 32 33 34 #endif // ifndef NN_OS_CTR_MPCORE_OS_HARDWAREPARAMS_H_ 35