| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <stdbool.h>#include <doca_error.h>#include <doca_argp.h>#include "devemu_pci_type_config.h"

Go to the source code of this file.
Data Structures | |
| struct | bar_mapped_region |
| struct | mapped_memory |
| struct | devemu_host_resources |
Functions | |
| doca_error_t | init_vfio_device (struct devemu_host_resources *resources, int vfio_group, const char *pci_address) |
| doca_error_t | map_bar_region_memory (struct devemu_host_resources *resources, const struct bar_region_config *bar_region_config, struct bar_mapped_region *mapped_mem) |
| void | devemu_host_resources_cleanup (struct devemu_host_resources *resources) |
| doca_error_t | parse_emulated_pci_address (const char *addr, char *parsed_addr) |
| doca_error_t | register_emulated_pci_address_param (doca_argp_param_cb_t pci_callback) |
| doca_error_t | register_vfio_group_param (doca_argp_param_cb_t vfio_group_callback) |
| doca_error_t | register_region_index_param (const char *description, doca_argp_param_cb_t region_callback) |
| void devemu_host_resources_cleanup | ( | struct devemu_host_resources * | resources | ) |
Definition at line 216 of file devemu_pci_host_common.c.
| doca_error_t init_vfio_device | ( | struct devemu_host_resources * | resources, |
| int | vfio_group, | ||
| const char * | pci_address | ||
| ) |
Definition at line 135 of file devemu_pci_host_common.c.
| doca_error_t map_bar_region_memory | ( | struct devemu_host_resources * | resources, |
| const struct bar_region_config * | bar_region_config, | ||
| struct bar_mapped_region * | mapped_mem | ||
| ) |
Definition at line 171 of file devemu_pci_host_common.c.
| doca_error_t parse_emulated_pci_address | ( | const char * | addr, |
| char * | parsed_addr | ||
| ) |
Definition at line 235 of file devemu_pci_host_common.c.
| doca_error_t register_emulated_pci_address_param | ( | doca_argp_param_cb_t | pci_callback | ) |
Definition at line 257 of file devemu_pci_host_common.c.
| doca_error_t register_region_index_param | ( | const char * | description, |
| doca_argp_param_cb_t | region_callback | ||
| ) |
Definition at line 307 of file devemu_pci_host_common.c.
| doca_error_t register_vfio_group_param | ( | doca_argp_param_cb_t | vfio_group_callback | ) |
Definition at line 282 of file devemu_pci_host_common.c.