1 /*
2  * Copyright (c) 2015 Wind River Systems, Inc.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file
9  * @brief Initialize system clock driver
10  *
11  * Initializing the timer driver is done in this module to reduce code
12  * duplication.
13  */
14 
15 #include <zephyr/kernel.h>
16 #include <zephyr/init.h>
17 #include <zephyr/drivers/timer/system_timer.h>
18 
19 /* Weak-linked noop defaults for optional driver interfaces*/
20 
sys_clock_set_timeout(int32_t ticks,bool idle)21 void __weak sys_clock_set_timeout(int32_t ticks, bool idle)
22 {
23 }
24 
sys_clock_idle_exit(void)25 void __weak sys_clock_idle_exit(void)
26 {
27 }
28