#include <assert.h>
#include <stdio.h>
#include <errno.h>
#include <bool.h>
#include <fibril_synch.h>
#include <stdlib.h>
#include <str.h>
#include <str_error.h>
#include <ctype.h>
#include <macros.h>
#include <inttypes.h>
#include <sysinfo.h>
#include <ddf/driver.h>
#include <ddf/log.h>
#include <devman.h>
#include <ipc/devman.h>
Go to the source code of this file.
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. |
Definition in file root.c.