xref: /dpdk/lib/eal/freebsd/eal_alarm_private.h (revision 99a2dd955fba6e4cc23b77d590a033650ced9c45)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Intel Corporation
3  */
4 
5 #ifndef EAL_ALARM_PRIVATE_H
6 #define EAL_ALARM_PRIVATE_H
7 
8 #include <inttypes.h>
9 
10 /*
11  * FreeBSD needs a back-channel communication mechanism between interrupt and
12  * alarm thread, because on FreeBSD, timer period is set up inside the interrupt
13  * API and not inside alarm API like on Linux.
14  */
15 
16 int
17 eal_alarm_get_timeout_ns(uint64_t *val);
18 
19 #endif // EAL_ALARM_PRIVATE_H
20