2015-08-25 19:39:56 +08:00
|
|
|
/* asm_inline.h - ARC inline assembler and macros for public functions */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2015 Intel Corporation.
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-08-25 19:39:56 +08:00
|
|
|
*/
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_ASM_INLINE_H_
|
|
|
|
#define ZEPHYR_INCLUDE_ARCH_ARC_V2_ASM_INLINE_H_
|
2015-08-25 19:39:56 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The file must not be included directly
|
2016-11-06 07:52:29 +08:00
|
|
|
* Include kernel.h instead
|
2015-08-25 19:39:56 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(__GNUC__)
|
|
|
|
#include <arch/arc/v2/asm_inline_gcc.h>
|
|
|
|
#else
|
|
|
|
#erro "you need to provide an asm_inline.h for your compiler"
|
|
|
|
#endif
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_ARC_V2_ASM_INLINE_H_ */
|