version 2.8
gdriver.h File Reference

Go to the source code of this file.

Data Structures

struct  GDriver
 All runtime driver structures start with this structure. More...
 
struct  GDriverVMT
 All driver VMT's start with this structure. More...
 

Functions

GDrivergdriverRegister (const GDriverVMT *vmt, void *param)
 Register a new driver instance. More...
 
void gdriverUnRegister (GDriver *driver)
 UnRegister a driver instance. More...
 
GDrivergdriverGetInstance (uint16_t type, unsigned instance)
 Get the driver for a particular instance of a type of device. More...
 
unsigned gdriverInstanceCount (uint16_t type)
 Get the count of instances of a type of device. More...
 
unsigned gdriverGetDriverInstanceNumber (GDriver *driver)
 Get the instance number for a device. More...
 
GDrivergdriverGetNext (uint16_t type, GDriver *driver)
 Get the next driver for a type of device. More...
 

Typedefs

typedef struct GDriver GDriver
 All runtime driver structures start with this structure. More...
 
typedef struct GDriverVMT GDriverVMT
 All driver VMT's start with this structure. More...
 
typedef const struct GDriverVMT const GDriverVMTList[1]
 A definition that allows getting addresses of GDriverVMT structures to put into a list. More...