Files | |
file | root.c |
Defines | |
#define | NAME "root" |
#define | PLATFORM_FUN_MATCH_ID_FMT "platform/%s" |
#define | PLATFORM_FUN_MATCH_SCORE 100 |
#define | PLATFORM_FUN_NAME "hw" |
#define | VIRTUAL_FUN_MATCH_ID "rootvirt" |
#define | VIRTUAL_FUN_MATCH_SCORE 100 |
#define | VIRTUAL_FUN_NAME "virt" |
Functions | |
static int | add_platform_fun (ddf_dev_t *dev) |
Create the function which represents the root of HW device tree. | |
static int | add_virtual_root_fun (ddf_dev_t *dev) |
Create the function which represents the root of virtual device tree. | |
int | main (int argc, char *argv[]) |
Main entry point. | |
static int | root_add_device (ddf_dev_t *dev) |
Get the root device. | |
Variables | |
static driver_t | root_driver |
The root device driver structure. | |
static driver_ops_t | root_ops |
The root device driver's standard operations. |
static int add_platform_fun | ( | ddf_dev_t * | dev | ) | [static] |
static int add_virtual_root_fun | ( | ddf_dev_t * | dev | ) | [static] |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
static int root_add_device | ( | ddf_dev_t * | dev | ) | [static] |