eal: move OS common debug functions to single file
authorTal Shnaiderman <talshn@mellanox.com>
Tue, 23 Jun 2020 20:57:20 +0000 (23:57 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Jun 2020 09:02:29 +0000 (11:02 +0200)
commit48be180de63146658ec2d31c517c184374f2b6db
tree5c8d7d60c61914993705ea2baa286f206b7b26b0
parent02b73b1e93a2e319e5751e0e662e6271f6f3367e
eal: move OS common debug functions to single file

Move common functions between Unix and Windows to eal_common_debug.c.

Those functions are rte_exit, __rte_panic and rte_dump_registers
which has the same implementation on Unix and Windows.

Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
lib/librte_eal/common/eal_common_debug.c [new file with mode: 0644]
lib/librte_eal/common/meson.build
lib/librte_eal/freebsd/Makefile
lib/librte_eal/freebsd/eal_debug.c
lib/librte_eal/linux/Makefile
lib/librte_eal/linux/eal_debug.c