numam-dpdk/lib/librte_eal
Dmitry Kozlyuk 176bb37ca6 eal: introduce internal wrappers for file operations
Introduce OS-independent wrappers in order to support common EAL code
on Unix and Windows:

* eal_file_open: open or create a file.
* eal_file_lock: lock or unlock an open file.
* eal_file_truncate: enforce a given size for an open file.

Implementation for Linux and FreeBSD is placed in "unix" subdirectory,
which is intended for common code between the two. These thin wrappers
require no special maintenance.

Common code supporting multi-process doesn't use the new wrappers,
because it is inherently Unix-specific and would impose excessive
requirements on the wrappers.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
2020-06-15 19:24:37 +02:00
..
arm build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
common eal: introduce internal wrappers for file operations 2020-06-15 19:24:37 +02:00
freebsd eal: introduce internal wrappers for file operations 2020-06-15 19:24:37 +02:00
include eal: replace page sizes enum with a set of constants 2020-06-15 19:23:34 +02:00
linux eal: introduce internal wrappers for file operations 2020-06-15 19:24:37 +02:00
ppc build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
unix eal: introduce internal wrappers for file operations 2020-06-15 19:24:37 +02:00
windows eal/windows: fix warnings 2020-06-15 11:35:58 +02:00
x86 build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
Makefile eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
meson.build eal: introduce internal wrappers for file operations 2020-06-15 19:24:37 +02:00
rte_eal_exports.def eal/windows: fix symbol export 2020-06-15 11:58:26 +02:00
rte_eal_version.map eal: remove option registration infrastructure 2020-05-11 00:37:16 +02:00