 |
RTEMS 7.0-rc1
|
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 __ARM_ARCH == 8 && __ARM_ARCH_PROFILE == 'M'
55 #define CPU_MODEL_NAME "ARMv8M"
56 #define ARM_MULTILIB_ARCH_V7M
57#elif __ARM_ARCH == 7 && __ARM_ARCH_PROFILE == 'M'
58 #define CPU_MODEL_NAME "ARMv7M"
59 #define ARM_MULTILIB_ARCH_V7M
60#elif defined(__ARM_ARCH_6M__)
61 #define CPU_MODEL_NAME "ARMv6M"
62 #define ARM_MULTILIB_ARCH_V6M
64 #define CPU_MODEL_NAME "ARMv4"
65 #define ARM_MULTILIB_ARCH_V4
69 #define ARM_MULTILIB_HAS_WFI
70 #define ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE
71 #define ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
72 #define ARM_MULTILIB_HAS_STORE_RETURN_STATE
75#ifndef ARM_DISABLE_THREAD_ID_REGISTER_USE
76 #if (__ARM_ARCH >= 7 && __ARM_ARCH_PROFILE != 'M') \
78 #define ARM_MULTILIB_HAS_THREAD_ID_REGISTER
82#if defined(__ARM_ARCH_7A__) || (__ARM_ARCH >= 8 && __ARM_ARCH_PROFILE != 'M')
83 #define ARM_MULTILIB_CACHE_LINE_MAX_64
87 #define ARM_MULTILIB_HAS_CPACR
90#if !defined(__SOFTFP__)
91 #if defined(__ARM_NEON__)
92 #define ARM_MULTILIB_VFP_D32
93 #elif defined(__VFP_FP__)
94 #define ARM_MULTILIB_VFP_D16
96 #error "FPU support not implemented"
100#if defined(ARM_MULTILIB_VFP_D16) \
101 || defined(ARM_MULTILIB_VFP_D32)
102 #define ARM_MULTILIB_VFP
109#define CPU_NAME "ARM"