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
m32c
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/m32c.h
>
41
42
#ifndef __USER_LABEL_PREFIX__
43
51
#define __USER_LABEL_PREFIX__ _
52
#endif
53
54
#ifndef __REGISTER_PREFIX__
55
60
#define __REGISTER_PREFIX__
61
#endif
62
63
#include <
rtems/concat.h
>
64
66
#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
67
69
#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
70
71
/*
72
* define macros for all of the registers on this CPU
73
*
74
* EXAMPLE: #define d0 REG (d0)
75
*/
76
77
/*
78
* Define macros to handle section beginning and ends.
79
*/
80
81
83
#define BEGIN_CODE_DCL .text
84
85
#define END_CODE_DCL
86
89
#define BEGIN_DATA_DCL .data
90
91
#define END_DATA_DCL
92
93
#define BEGIN_CODE .text
94
95
#define END_CODE
96
97
#define BEGIN_DATA
98
99
#define END_DATA
100
103
#define BEGIN_BSS
104
105
#define END_BSS
106
107
#define END
108
115
#define PUBLIC(sym) .globl SYM (sym)
116
122
#define EXTERN(sym) .globl SYM (sym)
123
124
#endif
m32c.h
M32C Set up Basic CPU Dependency Settings Based on Compiler Settings.
concat.h
This include file defines ANSI concatenation macros.
Generated by
1.8.13