#include <assert.h>#include <stdio.h>#include <errno.h>#include <bool.h>#include <fibril_synch.h>#include <stdlib.h>#include <str.h>#include <ctype.h>#include <macros.h>#include <ddf/driver.h>#include <ddf/log.h>#include <devman.h>#include <ipc/devman.h>#include <ipc/dev_iface.h>#include <ops/hw_res.h>#include <device/hw_res.h>Go to the source code of this file.
| 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. | |
Definition in file rootpc.c.
 1.4.7
 1.4.7