X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Feal%2Fwindows%2Feal_memory.c;h=71741fc07ea0545b5cf08a5049e04652fff118e5;hb=8cfad59e29a84dc8ae21ad6dc6b9b5f1079319e1;hp=4db048ccb5e10a17eef5b1cd7770d3b788d1645c;hpb=6beb2d294743aad1488234109a3ad95a8d5a273f;p=dpdk.git diff --git a/lib/eal/windows/eal_memory.c b/lib/eal/windows/eal_memory.c index 4db048ccb5..71741fc07e 100644 --- a/lib/eal/windows/eal_memory.c +++ b/lib/eal/windows/eal_memory.c @@ -198,6 +198,13 @@ exit: return ret; } +void +eal_mem_virt2iova_cleanup(void) +{ + if (virt2phys_device != INVALID_HANDLE_VALUE) + CloseHandle(virt2phys_device); +} + phys_addr_t rte_mem_virt2phy(const void *virt) {