Files | |
file | rootpc.c |
Data Structures | |
struct | rootpc_fun |
Defines | |
#define | NAME "rootpc" |
#define | ROOTPC_FUN(fnode) ((rootpc_fun_t *) (fnode)->driver_data) |
Obtain function soft-state from DDF function node. | |
Functions | |
int | main (int argc, char *argv[]) |
Main entry point. | |
static void | root_pc_init (void) |
static int | rootpc_add_device (ddf_dev_t *dev) |
Get the root device. | |
static bool | rootpc_add_fun (ddf_dev_t *dev, const char *name, const char *str_match_id, rootpc_fun_t *fun) |
static bool | rootpc_add_functions (ddf_dev_t *dev) |
static bool | rootpc_enable_interrupt (ddf_fun_t *fun) |
static hw_resource_list_t * | rootpc_get_resources (ddf_fun_t *fnode) |
Variables | |
static hw_res_ops_t | fun_hw_res_ops |
static hw_resource_t | pci_conf_regs |
static rootpc_fun_t | pci_data |
static driver_t | rootpc_driver |
The root device driver structure. | |
static ddf_dev_ops_t | rootpc_fun_ops |
static driver_ops_t | rootpc_ops |
The root device driver's standard operations. |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
static int rootpc_add_device | ( | ddf_dev_t * | dev | ) | [static] |