Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
asm_inline.h
Go to the documentation of this file.
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__)
18#else
19#error "Supports only GNU C compiler"
20#endif
21
22#endif /* ZEPHYR_INCLUDE_ARCH_RISCV_RISCV_PRIVILEGE_ASM_INLINE_H_ */