source: rtems/c/src/lib/libbsp/sparc/shared/include/drvmgr/ambapp_bus_grlib.h @ 4a7d1026

4.11
Last change on this file since 4a7d1026 was 4a7d1026, checked in by Daniel Hellstrom <daniel@…>, on Apr 13, 2015 at 8:25:52 AM

sparc bsps: updated license to rtems.org

  • 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.