eal/windows: implement basic memory management
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Mon, 15 Jun 2020 00:43:54 +0000 (03:43 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jun 2020 17:30:54 +0000 (19:30 +0200)
commit2a5d547a4a9b7b4644e0b75d90d3b577a34e6d11
tree7af8baae0961263cbfb81fcebbdcb68de6abf5f6
parentc08bd191b13de001bf172e94ed22cb0805a658f2
eal/windows: implement basic memory management

Basic memory management supports core libraries and PMDs operating in
IOVA as PA mode. It uses a kernel-mode driver, virt2phys, to obtain
IOVAs of hugepages allocated from user-mode. Multi-process mode is not
implemented and is forcefully disabled at startup. Assign myself as a
maintainer for Windows file and memory management implementation.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
18 files changed:
MAINTAINERS
config/meson.build
doc/guides/windows_gsg/run_apps.rst
lib/librte_eal/common/meson.build
lib/librte_eal/common/rte_malloc.c
lib/librte_eal/rte_eal_exports.def
lib/librte_eal/windows/eal.c
lib/librte_eal/windows/eal_file.c [new file with mode: 0644]
lib/librte_eal/windows/eal_memalloc.c [new file with mode: 0644]
lib/librte_eal/windows/eal_memory.c [new file with mode: 0644]
lib/librte_eal/windows/eal_mp.c [new file with mode: 0644]
lib/librte_eal/windows/eal_windows.h
lib/librte_eal/windows/include/meson.build
lib/librte_eal/windows/include/rte_os.h
lib/librte_eal/windows/include/rte_virt2phys.h [new file with mode: 0644]
lib/librte_eal/windows/include/rte_windows.h
lib/librte_eal/windows/include/unistd.h
lib/librte_eal/windows/meson.build