armintr.h revision 311118
1311118Sdim/*===---- armintr.h - ARM Windows intrinsics -------------------------------=== 2311118Sdim * 3311118Sdim * Permission is hereby granted, free of charge, to any person obtaining a copy 4311118Sdim * of this software and associated documentation files (the "Software"), to deal 5311118Sdim * in the Software without restriction, including without limitation the rights 6311118Sdim * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7311118Sdim * copies of the Software, and to permit persons to whom the Software is 8311118Sdim * furnished to do so, subject to the following conditions: 9311118Sdim * 10311118Sdim * The above copyright notice and this permission notice shall be included in 11311118Sdim * all copies or substantial portions of the Software. 12311118Sdim * 13311118Sdim * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14311118Sdim * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15311118Sdim * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16311118Sdim * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17311118Sdim * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18311118Sdim * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19311118Sdim * THE SOFTWARE. 20311118Sdim * 21311118Sdim *===-----------------------------------------------------------------------=== 22311118Sdim */ 23311118Sdim 24311118Sdim/* Only include this if we're compiling for the windows platform. */ 25311118Sdim#ifndef _MSC_VER 26311118Sdim#include_next <armintr.h> 27311118Sdim#else 28311118Sdim 29311118Sdim#ifndef __ARMINTR_H 30311118Sdim#define __ARMINTR_H 31311118Sdim 32311118Sdimtypedef enum 33311118Sdim{ 34311118Sdim _ARM_BARRIER_SY = 0xF, 35311118Sdim _ARM_BARRIER_ST = 0xE, 36311118Sdim _ARM_BARRIER_ISH = 0xB, 37311118Sdim _ARM_BARRIER_ISHST = 0xA, 38311118Sdim _ARM_BARRIER_NSH = 0x7, 39311118Sdim _ARM_BARRIER_NSHST = 0x6, 40311118Sdim _ARM_BARRIER_OSH = 0x3, 41311118Sdim _ARM_BARRIER_OSHST = 0x2 42311118Sdim} _ARMINTR_BARRIER_TYPE; 43311118Sdim 44311118Sdim#endif /* __ARMINTR_H */ 45311118Sdim#endif /* _MSC_VER */ 46