sched: Move timer dispatch loop to board code

Rename sched_timer_kick() to sched_timer_dispatch() and move its loop
into its callers in the board code.  This eliminates the need to
export timer_try_set_next() from the board code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-03-27 16:38:01 -04:00
parent 7436ec093a
commit 6d05dd07f5
8 changed files with 63 additions and 50 deletions

View file

@ -75,12 +75,6 @@ timer_read_time(void)
return 0; // XXX
}
uint8_t
timer_try_set_next(unsigned int next)
{
return 1;
}
/****************************************************************
* Turn stdin/stdout into serial console