blob: 4fd34c412291d8d8ba6ea8e1cc4ce1ac89e73a15 [file] [log] [blame]
Rasmus Villemoescde8c952024-10-03 23:27:51 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef _U_BOOT_SCHEDULE_H
4#define _U_BOOT_SCHEDULE_H
5
6#if CONFIG_IS_ENABLED(CYCLIC)
7/**
8 * schedule() - Schedule all potentially waiting tasks
9 *
10 * Run all pending tasks registered via the cyclic framework, and
11 * potentially perform other actions that need to be done
12 * periodically.
13 */
14void schedule(void);
15
16#else
17
18static inline void schedule(void)
19{
20}
21
22#endif
23
24#endif