RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
18extern "C" {
19#endif
20
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 */
27extern int ambapp_grlib_root_register(struct grlib_config *config);
28
29/* Register bus driver to Driver Manager */
30void ambapp_grlib_register(void);
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif
Definition: ambapp.h:126
Definition: deflate.c:115
Definition: drvmgr.h:214
Definition: ambapp_bus_grlib.h:21