2017-10-03 22:31:55 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015, Wind River Systems, Inc.
|
|
|
|
* Copyright (c) 2017, Oticon A/S
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* POSIX ARCH specific public inline "assembler" functions and macros
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Either public functions or macros or invoked by public functions */
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_
|
|
|
|
#define ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_
|
2017-10-03 22:31:55 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The file must not be included directly
|
|
|
|
* Include kernel.h instead
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
|
|
|
|
#include <toolchain/common.h>
|
|
|
|
#include <zephyr/types.h>
|
2019-06-03 01:07:43 +08:00
|
|
|
#include <arch/common/sys_io.h>
|
|
|
|
#include <arch/common/ffs.h>
|
2017-10-03 22:31:55 +08:00
|
|
|
#include "posix_soc_if.h"
|
|
|
|
|
|
|
|
#endif /* _ASMLANGUAGE */
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_ */
|