MOS Source Code
Loading...
Searching...
No Matches
clocksource.c File Reference
+ Include dependency graph for clocksource.c:

Go to the source code of this file.

Functions

void clocksource_register (clocksource_t *clocksource)
 
void clocksource_tick (clocksource_t *clocksource)
 

Variables

list_head clocksources = LIST_HEAD_INIT(clocksources)
 
clocksource_tactive_clocksource
 

Function Documentation

◆ clocksource_register()

void clocksource_register ( clocksource_t * clocksource)

Definition at line 10 of file clocksource.c.

Referenced by rtc_init().

+ Here is the call graph for this function:

◆ clocksource_tick()

void clocksource_tick ( clocksource_t * clocksource)

Definition at line 17 of file clocksource.c.

Referenced by rtc_irq_handler().

+ Here is the call graph for this function:

Variable Documentation

◆ clocksources

list_head clocksources = LIST_HEAD_INIT(clocksources)

Definition at line 7 of file clocksource.c.

Referenced by clocksource_register().

◆ active_clocksource

clocksource_t* active_clocksource

Definition at line 8 of file clocksource.c.

Referenced by clocksource_register(), and timer_msleep().