Line data Source code
1 0 : /* POSIX inline "assembler" functions and macros for public functions */ 2 : 3 : /* 4 : * Copyright (c) 2015, Wind River Systems, Inc. 5 : * 6 : * SPDX-License-Identifier: Apache-2.0 7 : */ 8 : 9 : #ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_H_ 10 : #define ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_H_ 11 : 12 : /* 13 : * The file must not be included directly 14 : * Include kernel.h instead 15 : */ 16 : 17 : #if defined(__GNUC__) 18 : #include <zephyr/arch/posix/asm_inline_gcc.h> 19 : #else 20 : #error "Only a compiler with GNU C extensions is supported for the POSIX arch" 21 : #endif 22 : 23 : #endif /* ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_H_ */