#include <assert.h>
#include <stdio.h>
#include <errno.h>
#include <str_error.h>
#include <ddf/driver.h>
#include <ddf/log.h>
#include "devices.def"
Go to the source code of this file.
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. |
Definition in file rootvirt.c.