Kevin O'Connor
fa85094cbb
irq: Allow boards to define the return type of irq_save()
...
The AVR wants a uint8_t return type for irq_save(), but other
architectures will generally prefer int. Allow the board to configure
the size of the flag by introducing an irqstatus_t typedef.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-13 23:18:59 -04:00
Kevin O'Connor
9f8817a47e
generic: Move board timer.h files into generic/misc.h
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-13 23:18:58 -04:00
Kevin O'Connor
bd07cd1193
sched: Optimize timer list handling
...
Rework the timer list rescheduling to be more optimized.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-13 15:34:56 -04:00
Kevin O'Connor
ed103822f5
sched: Change sched_from_ms() to sched_from_us()
...
Some code may require micro-second precision so update sched_from_ms()
to use micro-seconds.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-02 17:52:11 -04:00
Kevin O'Connor
f582a36e4d
Initial commit of source code.
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-05-25 11:37:40 -04:00