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