RTEMS  5.0.0
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__ */
Definition: ambapp.h:126
Common GRLIB AMBA Core Register definitions.