]> git.droids-corp.org - dpdk.git/blobdiff - lib/eal/windows/eal_windows.h
eal/linux: fix illegal memory access in uevent handler
[dpdk.git] / lib / eal / windows / eal_windows.h
index 7cc811485d51768ad6db76d982134bad9326440b..245aa6034487a5537001ad83662553b2ae8b21ab 100644 (file)
@@ -63,7 +63,7 @@ unsigned int eal_socket_numa_node(unsigned int socket_id);
  * @param arg
  *  Argument to the called function.
  * @return
- *  0 on success, netagive error code on failure.
+ *  0 on success, negative error code on failure.
  */
 int eal_intr_thread_schedule(void (*func)(void *arg), void *arg);
 
@@ -79,6 +79,11 @@ void eal_intr_thread_cancel(void);
  */
 int eal_mem_virt2iova_init(void);
 
+/**
+ * Cleanup resources used for virtual to physical address translation.
+ */
+void eal_mem_virt2iova_cleanup(void);
+
 /**
  * Locate Win32 memory management routines in system libraries.
  *