1 /* 2 * Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com> 3 * Contributors: 2018 Antmicro <www.antmicro.com> 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #ifndef ZEPHYR_INCLUDE_ARCH_RISCV_RISCV_PRIVILEGE_ASM_INLINE_H_ 9 #define ZEPHYR_INCLUDE_ARCH_RISCV_RISCV_PRIVILEGE_ASM_INLINE_H_ 10 11 /* 12 * The file must not be included directly 13 * Include arch/cpu.h instead 14 */ 15 16 #if defined(__GNUC__) 17 #include <arch/riscv/riscv-privilege/asm_inline_gcc.h> 18 #else 19 #error "Supports only GNU C compiler" 20 #endif 21 22 #endif /* ZEPHYR_INCLUDE_ARCH_RISCV_RISCV_PRIVILEGE_ASM_INLINE_H_ */ 23