MOS Source Code
|
#include "mos/device/timer.h"
#include "mos/device/clocksource.h"
#include "mos/lib/structures/list.h"
#include "mos/lib/sync/spinlock.h"
#include "mos/platform/platform.h"
#include "mos/tasks/schedule.h"
#include "mos/tasks/signal.h"
Go to the source code of this file.
Functions | |
static bool | timer_do_wakeup (ktimer_t *timer, void *arg) |
void | timer_tick () |
long | timer_msleep (u64 ms) |
Variables | |
static list_head | timer_queue = LIST_HEAD_INIT(timer_queue) |
list of timers that are waiting to be executed | |
static spinlock_t | timer_queue_lock = SPINLOCK_INIT |
Definition at line 15 of file timer.c.
Referenced by timer_msleep().
Definition at line 25 of file timer.c.
Referenced by clocksource_tick().
long timer_msleep | ( | u64 | ms | ) |
Definition at line 39 of file timer.c.
Referenced by clock_msleep(), and vfs_flusher_entry().
|
static |
list of timers that are waiting to be executed
Definition at line 12 of file timer.c.
Referenced by timer_msleep(), and timer_tick().
|
static |
Definition at line 13 of file timer.c.
Referenced by timer_msleep(), and timer_tick().