1*7330f729Sjoerg /*===---- armintr.h - ARM Windows intrinsics -------------------------------=== 2*7330f729Sjoerg * 3*7330f729Sjoerg * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*7330f729Sjoerg * See https://llvm.org/LICENSE.txt for license information. 5*7330f729Sjoerg * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*7330f729Sjoerg * 7*7330f729Sjoerg *===-----------------------------------------------------------------------=== 8*7330f729Sjoerg */ 9*7330f729Sjoerg 10*7330f729Sjoerg /* Only include this if we're compiling for the windows platform. */ 11*7330f729Sjoerg #ifndef _MSC_VER 12*7330f729Sjoerg #include_next <armintr.h> 13*7330f729Sjoerg #else 14*7330f729Sjoerg 15*7330f729Sjoerg #ifndef __ARMINTR_H 16*7330f729Sjoerg #define __ARMINTR_H 17*7330f729Sjoerg 18*7330f729Sjoerg typedef enum 19*7330f729Sjoerg { 20*7330f729Sjoerg _ARM_BARRIER_SY = 0xF, 21*7330f729Sjoerg _ARM_BARRIER_ST = 0xE, 22*7330f729Sjoerg _ARM_BARRIER_ISH = 0xB, 23*7330f729Sjoerg _ARM_BARRIER_ISHST = 0xA, 24*7330f729Sjoerg _ARM_BARRIER_NSH = 0x7, 25*7330f729Sjoerg _ARM_BARRIER_NSHST = 0x6, 26*7330f729Sjoerg _ARM_BARRIER_OSH = 0x3, 27*7330f729Sjoerg _ARM_BARRIER_OSHST = 0x2 28*7330f729Sjoerg } _ARMINTR_BARRIER_TYPE; 29*7330f729Sjoerg 30*7330f729Sjoerg #endif /* __ARMINTR_H */ 31*7330f729Sjoerg #endif /* _MSC_VER */ 32