RTEMS
5.1
bsps
include
grlib
ambapp_bus_grlib.h
1
/* LEON3 GRLIB AMBA Plug & Play bus driver interface.
2
*
3
* COPYRIGHT (c) 2008.
4
* Cobham Gaisler AB.
5
*
6
* This is driver is a wrapper for the general AMBA Plug & Play bus
7
* driver. This is the root bus driver for GRLIB systems.
8
*
9
* The license and distribution terms for this file may be
10
* found in the file LICENSE in this distribution or at
11
* http://www.rtems.org/license/LICENSE.
12
*/
13
14
#ifndef __AMBAPP_BUS_GRLIB_H__
15
#define __AMBAPP_BUS_GRLIB_H__
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
struct
grlib_config
{
22
struct
ambapp_bus
*abus;
23
struct
drvmgr_bus_res
*resources;
24
};
25
26
/* Register GRLIB AMBA PnP Bus as root bus at driver manager */
27
extern
int
ambapp_grlib_root_register(
struct
grlib_config
*
config
);
28
29
/* Register bus driver to Driver Manager */
30
void
ambapp_grlib_register(
void
);
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
grlib_config
Definition:
ambapp_bus_grlib.h:21
config_s
Definition:
deflate.c:115
drvmgr_bus_res
Definition:
drvmgr.h:214
ambapp_bus
Definition:
ambapp.h:126
Generated by
1.8.15