1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: os_MemoryBarrierSelect.h 4 5 Copyright (C)2009-2012 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: 46347 $ 14 *---------------------------------------------------------------------------*/ 15 16 /*! 17 @file 18 19 :include nn/os.h 20 */ 21 22 #ifndef NN_OS_OS_MEMORYBARRIERSELECT_H_ 23 #define NN_OS_OS_MEMORYBARRIERSELECT_H_ 24 25 26 #ifdef __cplusplus 27 28 #if defined(NN_PROCESSOR_ARM) 29 30 #include <nn/os/ARM/os_MemoryBarrier.h> 31 32 namespace nn { namespace os { 33 using ARM::DataSynchronizationBarrier; 34 using ARM::DataMemoryBarrier; 35 using ARM::InstructionMemoryBarrier; 36 }} 37 38 #else 39 #error no processor is selected 40 #endif 41 42 #endif // __cplusplus 43 44 45 #endif /* NN_OS_OS_MEMORYBARRIERSELECT_H_ */ 46