view cos/kernel/timer.c @ 28:47b7df514243

Moved Makefiles
author windel
date Wed, 28 Dec 2011 13:38:43 +0100
parents d3c4bf3720a3
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;
}