source: rtems/bsps/include/grlib/ambapp_bus_grlib.h @ 31720925

5
Last change on this file since 31720925 was 31720925, checked in by Sebastian Huber <sebastian.huber@…>, on 12/22/18 at 06:13:44

grlib: Move header files

Update #3678.

  • Property mode set to 100644
File size: 841 bytes
Line 
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
21struct 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 */
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
Note: See TracBrowser for help on using the repository browser.