Line data Source code
1 0 : /* asm_inline.h - ARC inline assembler and macros for public functions */ 2 : 3 : /* 4 : * Copyright (c) 2015 Intel Corporation. 5 : * 6 : * SPDX-License-Identifier: Apache-2.0 7 : */ 8 : 9 : #ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_ASM_INLINE_H_ 10 : #define ZEPHYR_INCLUDE_ARCH_ARC_V2_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/arc/v2/asm_inline_gcc.h> 19 : #else 20 : #error "you need to provide an asm_inline.h for your compiler" 21 : #endif 22 : 23 : #endif /* ZEPHYR_INCLUDE_ARCH_ARC_V2_ASM_INLINE_H_ */