RTEMS CPU Kit with SuperCore
Data Fields
drvmgr_bus Struct Reference

Bus information. More...

#include <drvmgr.h>

Collaboration diagram for drvmgr_bus:
Collaboration graph
[legend]

Data Fields

int obj_type
 DRVMGR_OBJ_BUS.
 
unsigned char bus_type
 Type of bus.
 
unsigned char depth
 Bus level distance from root bus.
 
struct drvmgr_busnext
 Next Bus.
 
struct drvmgr_devdev
 Bus device, the hardware... More...
 
void * priv
 Private data structure used by BUS driver.
 
struct drvmgr_devchildren
 Hardware devices on this bus.
 
struct drvmgr_bus_opsops
 Bus operations supported by this bus driver.
 
struct drvmgr_funcfuncs
 Extra operations.
 
int dev_cnt
 Number of devices this bus has.
 
struct drvmgr_bus_resreslist
 Bus resources, head of a linked list of resources. More...
 
struct drvmgr_map_entrymaps_up
 Map Translation, array of address spaces upstreams to CPU.
 
struct drvmgr_map_entrymaps_down
 Map Translation, array of address spaces downstreams to Hardware.
 
int level
 Initialization Level of Bus.
 
int state
 Init State of Bus, BUS_STATE_*.
 
int error
 Return code from bus->ops->initN()
 

Detailed Description

Bus information.

Describes a bus.

Field Documentation

◆ dev

struct drvmgr_dev* drvmgr_bus::dev

Bus device, the hardware...

Referenced by drvmgr_on_rootbus().

◆ reslist

struct drvmgr_bus_res* drvmgr_bus::reslist

Bus resources, head of a linked list of resources.

Referenced by drvmgr_bus_res_add(), and drvmgr_keys_get().


The documentation for this struct was generated from the following file: