|
RTEMS 6.1-rc6
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
41#ifndef _RTEMS_SCORE_ARM_H
42#define _RTEMS_SCORE_ARM_H
54#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
55 #define CPU_MODEL_NAME "ARMv7M"
56 #define ARM_MULTILIB_ARCH_V7M
57#elif defined(__ARM_ARCH_6M__)
58 #define CPU_MODEL_NAME "ARMv6M"
59 #define ARM_MULTILIB_ARCH_V6M
61 #define CPU_MODEL_NAME "ARMv4"
62 #define ARM_MULTILIB_ARCH_V4
66 #define ARM_MULTILIB_HAS_WFI
67 #define ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE
68 #define ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
69 #define ARM_MULTILIB_HAS_STORE_RETURN_STATE
72#ifndef ARM_DISABLE_THREAD_ID_REGISTER_USE
73 #if defined(__ARM_ARCH_7A__) \
74 || defined(__ARM_ARCH_7R__) \
77 #define ARM_MULTILIB_HAS_THREAD_ID_REGISTER
81#if defined(__ARM_ARCH_7A__) || __ARM_ARCH >= 8
82 #define ARM_MULTILIB_CACHE_LINE_MAX_64
86 #define ARM_MULTILIB_HAS_CPACR
89#if !defined(__SOFTFP__)
90 #if defined(__ARM_NEON__)
91 #define ARM_MULTILIB_VFP_D32
92 #elif defined(__VFP_FP__)
93 #define ARM_MULTILIB_VFP_D16
95 #error "FPU support not implemented"
99#if defined(ARM_MULTILIB_VFP_D16) \
100 || defined(ARM_MULTILIB_VFP_D32)
101 #define ARM_MULTILIB_VFP
108#define CPU_NAME "ARM"