a083f8cc77
Since the kernel modules are moved to kernel/ directory, there is no need anymore for the sub-directory eal/ in linux/, freebsd/ and windows/. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: David Marchand <david.marchand@redhat.com>
20 lines
455 B
C
20 lines
455 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2018 Intel Corporation
|
|
*/
|
|
|
|
#ifndef EAL_ALARM_PRIVATE_H
|
|
#define EAL_ALARM_PRIVATE_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
/*
|
|
* FreeBSD needs a back-channel communication mechanism between interrupt and
|
|
* alarm thread, because on FreeBSD, timer period is set up inside the interrupt
|
|
* API and not inside alarm API like on Linux.
|
|
*/
|
|
|
|
int
|
|
eal_alarm_get_timeout_ns(uint64_t *val);
|
|
|
|
#endif // EAL_ALARM_PRIVATE_H
|