diff options
author | swapnili <swapnil.ingle@nutanix.com> | 2020-11-24 21:55:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 21:55:47 +0100 |
commit | 5429a84fe3b7def278ad1df6819d2ad7467ee5b0 (patch) | |
tree | e2f7be049a096eae9a16bf84d13f9dc1a62b8cd6 /lib/dma.h | |
parent | d33f124c5b0335c0525187e820c6b42be0bae743 (diff) | |
download | libvfio-user-5429a84fe3b7def278ad1df6819d2ad7467ee5b0.zip libvfio-user-5429a84fe3b7def278ad1df6819d2ad7467ee5b0.tar.gz libvfio-user-5429a84fe3b7def278ad1df6819d2ad7467ee5b0.tar.bz2 |
Api refactoring (#115)
API refactoring
Diffstat (limited to 'lib/dma.h')
-rw-r--r-- | lib/dma.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -73,6 +73,7 @@ #include <sys/mman.h> #include <stdint.h> #include <stdlib.h> +#include <limits.h> #include "muser.h" #include "common.h" @@ -119,7 +120,7 @@ dma_controller_add_region(dma_controller_t *dma, int dma_controller_remove_region(dma_controller_t *dma, dma_addr_t dma_addr, size_t size, - int (*unmap_dma) (void*, uint64_t), void *data); + lm_unmap_dma_cb_t *unmap_dma, void *data); // Helper for dma_addr_to_sg() slow path. int |