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

4.115
Last change on this file since e05c265 was e05c265, checked in by Daniel Hellstrom <daniel@…>, on 12/15/11 at 16:00:38

LEON3: implemented AMBA PnP Bus Driver for Driver Manager

  • Property mode set to 100644
File size: 762 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.com/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#ifdef __cplusplus
30}
31#endif
32
33#endif
Note: See TracBrowser for help on using the repository browser.