mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-03 13:45:21 +00:00
Export sys_clock_cycle_get_64() implementations to enable k_cycle_get_64() calls from llext libraries. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
14 lines
281 B
C
14 lines
281 B
C
/*
|
|
* Copyright (c) 2024 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/drivers/timer/system_timer.h>
|
|
#include <zephyr/llext/symbol.h>
|
|
#include <limits.h>
|
|
|
|
#ifdef CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER
|
|
EXPORT_SYMBOL(sys_clock_cycle_get_64);
|
|
#endif
|