RTEMS CPU Kit with SuperCore
4.11.3
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
i
r
+
Typedefs
a
b
c
d
f
h
i
m
o
p
q
r
s
t
u
w
x
+
Enumerations
b
c
d
e
h
i
m
o
p
r
s
t
w
+
Enumerator
c
i
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.3
ws-rtems
rtems-4.11.3
cpukit
score
cpu
arm
rtems
score
arm.h
Go to the documentation of this file.
1
7
/*
8
* COPYRIGHT (c) 2000 Canon Research Centre France SA.
9
* Emmanuel Raguet, mailto:raguet@crf.canon.fr
10
*
11
* Copyright (c) 2002 Advent Networks, Inc.
12
* Jay Monkman <jmonkman@adventnetworks.com>
13
*
14
* The license and distribution terms for this file may be
15
* found in the file LICENSE in this distribution or at
16
* http://www.rtems.org/license/LICENSE.
17
*
18
*/
19
20
#ifndef _RTEMS_SCORE_ARM_H
21
#define _RTEMS_SCORE_ARM_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
32
#if defined(__ARM_ARCH_7M__)
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
38
#else
39
#define CPU_MODEL_NAME "ARMv4"
40
#define ARM_MULTILIB_ARCH_V4
41
#endif
42
43
#if defined(__ARM_ARCH_7A__) \
44
|| defined(__ARM_ARCH_7R__) \
45
|| defined(__ARM_ARCH_7M__)
46
#define ARM_MULTILIB_HAS_WFI
47
#define ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE
48
#define ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
49
#endif
50
51
#if defined(__ARM_ARCH_7A__) \
52
|| defined(__ARM_ARCH_7R__)
53
#define ARM_MULTILIB_HAS_THREAD_ID_REGISTER
54
#endif
55
56
#if defined(__ARM_ARCH_7A__)
57
#define ARM_MULTILIB_CACHE_LINE_MAX_64
58
#endif
59
60
#if !defined(__SOFTFP__)
61
#if defined(__ARM_NEON__)
62
#define ARM_MULTILIB_VFP_D32
63
#elif defined(__VFP_FP__)
64
#define ARM_MULTILIB_VFP_D16
65
#else
66
#error "FPU support not implemented"
67
#endif
68
#endif
69
70
#if defined(ARM_MULTILIB_VFP_D16) \
71
|| defined(ARM_MULTILIB_VFP_D32)
72
#define ARM_MULTILIB_VFP
73
#endif
74
75
/*
76
* Define the name of the CPU family.
77
*/
78
79
#define CPU_NAME "ARM"
80
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
/* _RTEMS_SCORE_ARM_H */
Generated by
1.8.13