6 #ifndef RTE_EXEC_ENV_WINDOWS
10 #include <rte_compat.h>
28 #ifdef RTE_EXEC_ENV_WINDOWS
30 RTE_MAP_SHARED = 1 << 0,
32 RTE_MAP_ANONYMOUS = 1 << 1,
34 RTE_MAP_PRIVATE = 1 << 2,
41 RTE_MAP_FORCE_ADDRESS = 1 << 3
43 RTE_MAP_SHARED = MAP_SHARED,
44 RTE_MAP_ANONYMOUS = MAP_ANONYMOUS,
45 RTE_MAP_PRIVATE = MAP_PRIVATE,
46 RTE_MAP_FORCE_ADDRESS = MAP_FIXED,
73 rte_mem_map(
void *requested_addr,
size_t size,
int prot,
int flags,
74 int fd,
size_t offset);
__rte_internal int rte_mem_unmap(void *virt, size_t size)
__rte_internal void * rte_mem_map(void *requested_addr, size_t size, int prot, int flags, int fd, size_t offset)
__rte_internal size_t rte_mem_page_size(void)
__rte_internal int rte_mem_lock(const void *virt, size_t size)