Mercurial > lcfOS
view cos/kernel/timer.c @ 33:d8185ddb6c7b
Added more interrupt handlers
author | windel |
---|---|
date | Sun, 15 Jan 2012 13:39:49 +0100 |
parents | 47b7df514243 |
children | 8012221dd740 |
line wrap: on
line source
#include "kernel.h" static uint64_t ticks = 0; void timerDriverUpdate() { ticks++; task_scheduler(); } uint64_t getTimeMS() { return 55*ticks; }