aboutsummaryrefslogtreecommitdiff
path: root/wmediumd/inc/usfstl/vhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'wmediumd/inc/usfstl/vhost.h')
-rw-r--r--wmediumd/inc/usfstl/vhost.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wmediumd/inc/usfstl/vhost.h b/wmediumd/inc/usfstl/vhost.h
index 017d0b5..85a76d9 100644
--- a/wmediumd/inc/usfstl/vhost.h
+++ b/wmediumd/inc/usfstl/vhost.h
@@ -141,6 +141,13 @@ void usfstl_vhost_user_config_changed(struct usfstl_vhost_user_dev *dev);
void *usfstl_vhost_user_to_va(struct usfstl_vhost_user_dev *dev, uint64_t addr);
/**
+ * usfstl_vhost_user_to_va - translate address
+ * @dev: device to translate address for
+ * @addr: host-side virtual addr
+ */
+uint64_t usfstl_vhost_user_to_phys(struct usfstl_vhost_user_dev *dev, uint64_t addr);
+
+/**
* usfstl_vhost_phys_to_va - translate address
* @dev: device to translate address for
* @addr: guest-side physical addr