kernel: add k_uptime_get() as a system call
Uses new infrastructure for system calls with a 64-bit return value. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
3ff41b9484
commit
a73d3737f1
2 changed files with 13 additions and 2 deletions
|
@ -1334,7 +1334,7 @@ static inline void *_impl_k_timer_user_data_get(struct k_timer *timer)
|
|||
*
|
||||
* @return Current uptime.
|
||||
*/
|
||||
extern s64_t k_uptime_get(void);
|
||||
__syscall s64_t k_uptime_get(void);
|
||||
|
||||
#ifdef CONFIG_TICKLESS_KERNEL
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue