zephyr/arch/posix/include/asm_inline.h
Gerard Marull-Paretas 16811660ee arch: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all arch code to the new
prefix <zephyr/...>. Note that the conversion has been scripted, refer
to zephyrproject-rtos#45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-06 19:57:22 +02:00

25 lines
629 B
C

/* Inline assembler kernel functions and macros */
/*
* Copyright (c) 2015, Wind River Systems, Inc.
* Copyright (c) 2017, Oticon A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_ARCH_POSIX_INCLUDE_ASM_INLINE_H_
#define ZEPHYR_ARCH_POSIX_INCLUDE_ASM_INLINE_H_
#if !defined(CONFIG_ARCH_POSIX)
#error The arch/posix/include/asm_inline.h is only for the POSIX architecture
#endif
#if defined(__GNUC__)
#include <asm_inline_gcc.h> /* The empty one.. */
#include <zephyr/arch/posix/asm_inline_gcc.h>
#else
#include <asm_inline_other.h>
#endif /* __GNUC__ */
#endif /* ZEPHYR_ARCH_POSIX_INCLUDE_ASM_INLINE_H_ */