RTEMS
5.2
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
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
z
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
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
Enumerator
a
c
d
h
i
l
m
p
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
cpukit
score
cpu
bfin
include
rtems
asm.h
Go to the documentation of this file.
1
17
/*
18
* COPYRIGHT:
19
*
20
* This file is based on similar code found in newlib available
21
* from ftp.cygnus.com. The file which was used had no copyright
22
* notice. This file is freely distributable as long as the source
23
* of the file is noted. This file is:
24
*
25
* COPYRIGHT (c) 1994-2006.
26
* On-Line Applications Research Corporation (OAR).
27
*/
28
29
#ifndef _RTEMS_ASM_H
30
#define _RTEMS_ASM_H
31
32
/*
33
* Indicate we are in an assembly file and get the basic CPU definitions.
34
*/
35
36
#ifndef ASM
37
#define ASM
38
#endif
39
#include <rtems/score/cpuopts.h>
40
#include <
rtems/score/bfin.h
>
41
42
#ifndef __USER_LABEL_PREFIX__
51
#define __USER_LABEL_PREFIX__ _
52
#endif
53
54
#ifndef __REGISTER_PREFIX__
63
#define __REGISTER_PREFIX__
64
#endif
65
66
#include <
rtems/concat.h
>
67
69
#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
70
72
#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
73
74
/*
75
* define macros for all of the registers on this CPU
76
*
77
* EXAMPLE: #define d0 REG (d0)
78
*/
79
80
/*
81
* Define macros to handle section beginning and ends.
82
*/
83
84
86
#define BEGIN_CODE_DCL .text
88
#define END_CODE_DCL
90
#define BEGIN_DATA_DCL .data
92
#define END_DATA_DCL
94
#define BEGIN_CODE .text
96
#define END_CODE
98
#define BEGIN_DATA
100
#define END_DATA
105
#define BEGIN_BSS
107
#define END_BSS
109
#define END
110
117
#define PUBLIC(sym) .globl SYM (sym)
118
125
#define EXTERN(sym) .globl SYM (sym)
126
127
#endif
concat.h
bfin.h
Blackfin Set up Basic CPU Dependency Settings Based on Compiler Settings.
Generated by
1.9.4