|
RTEMS
5.1
|
Go to the documentation of this file. 20 #ifndef _RTEMS_SCORE_ARM_H 21 #define _RTEMS_SCORE_ARM_H 32 #if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__) 33 #define CPU_MODEL_NAME "ARMv7M" 34 #define ARM_MULTILIB_ARCH_V7M 35 #elif defined(__ARM_ARCH_6M__) 36 #define CPU_MODEL_NAME "ARMv6M" 37 #define ARM_MULTILIB_ARCH_V6M 39 #define CPU_MODEL_NAME "ARMv4" 40 #define ARM_MULTILIB_ARCH_V4 43 #if defined(__ARM_ARCH_7A__) \ 44 || defined(__ARM_ARCH_7R__) \ 45 || defined(__ARM_ARCH_7M__) \ 46 || defined(__ARM_ARCH_7EM__) 47 #define ARM_MULTILIB_HAS_WFI 48 #define ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE 49 #define ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS 52 #ifndef ARM_DISABLE_THREAD_ID_REGISTER_USE 53 #if defined(__ARM_ARCH_7A__) \ 54 || defined(__ARM_ARCH_7R__) 55 #define ARM_MULTILIB_HAS_THREAD_ID_REGISTER 59 #if defined(__ARM_ARCH_7A__) 60 #define ARM_MULTILIB_CACHE_LINE_MAX_64 63 #if defined(__ARM_ARCH_7A__) \ 64 || defined(__ARM_ARCH_7M__) \ 65 || defined(__ARM_ARCH_7EM__) 66 #define ARM_MULTILIB_HAS_CPACR 69 #if !defined(__SOFTFP__) 70 #if defined(__ARM_NEON__) 71 #define ARM_MULTILIB_VFP_D32 72 #elif defined(__VFP_FP__) 73 #define ARM_MULTILIB_VFP_D16 75 #error "FPU support not implemented" 79 #if defined(ARM_MULTILIB_VFP_D16) \ 80 || defined(ARM_MULTILIB_VFP_D32) 81 #define ARM_MULTILIB_VFP 88 #define CPU_NAME "ARM"