RTEMS
5.1
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
bsps
sparc
leon3
include
amba.h
Go to the documentation of this file.
1
7
/*
8
* AMBA Plag & Play Bus Driver Macros
9
*
10
* Macros used for AMBA Plug & Play bus scanning
11
*
12
* COPYRIGHT (c) 2004.
13
* Gaisler Research
14
*
15
* The license and distribution terms for this file may be
16
* found in the file LICENSE in this distribution or at
17
* http://www.rtems.org/license/LICENSE.
18
*/
19
20
#ifndef __AMBA_H__
21
#define __AMBA_H__
22
35
#define LEON3_IO_AREA 0xfff00000
36
#define LEON3_CONF_AREA 0xff000
37
#define LEON3_AHB_SLAVE_CONF_AREA (1 << 11)
38
39
#define LEON3_AHB_CONF_WORDS 8
40
#define LEON3_APB_CONF_WORDS 2
41
#define LEON3_AHB_MASTERS 64
42
#define LEON3_AHB_SLAVES 64
43
#define LEON3_APB_SLAVES 16
44
45
#include <
grlib/ambapp.h
>
46
#include <
grlib/grlib.h
>
47
48
#ifdef __cplusplus
49
extern
"C"
{
50
#endif
51
52
/* The AMBA Plug&Play info of the bus that the LEON3 sits on */
53
extern
struct
ambapp_bus
ambapp_plb;
54
55
#ifdef __cplusplus
56
}
57
#endif
58
61
#endif
/* __AMBA_H__ */
ambapp_bus
Definition:
ambapp.h:126
ambapp.h
grlib.h
Common GRLIB AMBA Core Register definitions.
Generated by
1.8.15