1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     os_SpinWaitSelect.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: 20645 $
14  *---------------------------------------------------------------------------*/
15 /*!
16     @file
17 
18     :include nn/os.h
19  */
20 
21 #ifndef NN_OS_OS_SPINWAITSELECT_H_
22 #define NN_OS_OS_SPINWAITSELECT_H_
23 
24 #ifdef __cplusplus
25 
26 #if   defined(NN_PROCESSOR_ARM)
27 
28 #include <nn/os/ARM/os_SpinWait.h>
29 
30 namespace nn { namespace os {
31     using ARM::SpinWaitCpuCycles;
32 }}
33 
34 #else
35 #error no processor is selected
36 #endif
37 
38 #endif // __cplusplus
39 
40 #endif /* NN_OS_OS_SPINWAITSELECT_H_ */
41