/* * Copyright (c) 2013-2014 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief ARM specific kernel interface header * * This header contains the ARM specific kernel interface. It is * included by the kernel interface architecture-abstraction header * (include/arc/cpu.h) */ #ifndef _ARM_ARCH__H_ #define _ARM_ARCH__H_ /* Add include for DTS generated information */ #include #ifdef __cplusplus extern "C" { #endif /* ARM GPRs are often designated by two different names */ #define sys_define_gpr_with_alias(name1, name2) union { u32_t name1, name2; } /* APIs need to support non-byte addressable architectures */ #define OCTET_TO_SIZEOFUNIT(X) (X) #define SIZEOFUNIT_TO_OCTET(X) (X) #ifdef CONFIG_CPU_CORTEX_M #include #include #include #include #include #include #include #include #include #endif #define STACK_ALIGN 4 #ifdef __cplusplus } #endif #endif /* _ARM_ARCH__H_ */