vppinfra: Provide FreeBSD implementation of clib_mem functions 71/40271/4
authorTom Jones <thj@freebsd.org>
Fri, 26 Jan 2024 17:04:23 +0000 (17:04 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Sun, 18 Feb 2024 16:00:09 +0000 (16:00 +0000)
commite12f69f7731d4bbb923b7d263179a9d530ce09db
treedcbe98a4d359b35ba4e8582886848bf158f1793b
parent2cbbbb6d158e4463e64d638f92368d0076840438
vppinfra: Provide FreeBSD implementation of clib_mem functions

Working from the implementation in linux/mem.c add FreeBSD specific
functionality. This duplicates parts of the Linux implementation and a
depuplication job could be run in the future.

Stub out some parts of the API for now, they are either use unavailable
features on FreeBSD or require further implementation than this initial
implementation.

Type: improvement
Change-Id: I1e443e32304d19776a9a4d5e34adfa16ec919427
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vppinfra/CMakeLists.txt
src/vppinfra/freebsd/mem.c [new file with mode: 0644]