mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 10:26:13 +00:00
As of today 'include/arch/common/sys_io.h" has generic implementation for MMIO accessors and memory bits manipulation functions. That leads to several architectures like ARC, ARM/aarch64, ARM/aarch32/corter_a_r redefine entire 'common/sys_io.h' even if they only have different MMIO accessors implementation. So split 'include/arch/common/sys_io.h" to * sys_io.h - generic MMIO accessors * sys_bitops.h - generic memory bits manipulation functions Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
34 lines
762 B
C
34 lines
762 B
C
/*
|
|
* 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 */
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_
|
|
#define ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_
|
|
|
|
/*
|
|
* The file must not be included directly
|
|
* Include kernel.h instead
|
|
*/
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
#include <toolchain/common.h>
|
|
#include <zephyr/types.h>
|
|
#include <arch/common/sys_bitops.h>
|
|
#include <arch/common/sys_io.h>
|
|
#include <arch/common/ffs.h>
|
|
#include <arch/posix/posix_soc_if.h>
|
|
|
|
#endif /* _ASMLANGUAGE */
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_ASM_INLINE_GCC_H_ */
|