Files | |
file | rootvirt.c |
Data Structures | |
struct | virtual_function_t |
Virtual function entry. More... | |
Defines | |
#define | NAME "rootvirt" |
Functions | |
int | main (int argc, char *argv[]) |
Main entry point. | |
static int | rootvirt_add_device (ddf_dev_t *dev) |
static int | rootvirt_add_fun (ddf_dev_t *vdev, virtual_function_t *vfun) |
Add function to the virtual device. | |
Variables | |
static driver_t | rootvirt_driver |
static driver_ops_t | rootvirt_ops |
virtual_function_t | virtual_functions [] |
List of existing virtual functions. |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Main entry point.
[in] | argc | Nmber of arguments in argv vector (ignored). |
[in] | argv | Cmdline argument vector (ignored). |
Definition at line 177 of file rootvirt.c.
static int rootvirt_add_fun | ( | ddf_dev_t * | vdev, | |
virtual_function_t * | vfun | |||
) | [static] |
Add function to the virtual device.
vdev | The virtual device | |
vfun | Virtual function description |
Definition at line 116 of file rootvirt.c.