X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftimer_posix.h;h=4cce9982725de8736dd7826b6991c694a9e5686b;hb=941529ddc4cddd04f69d38c0929ec00fe93aadef;hp=fbaf9e4fa967750956fd2824abc33a958423ac8a;hpb=766a22ae58928039e82f428d17a8a944ab2fb553;p=bertos.git diff --git a/drv/timer_posix.h b/drv/timer_posix.h old mode 100755 new mode 100644 index fbaf9e4f..4cce9982 --- a/drv/timer_posix.h +++ b/drv/timer_posix.h @@ -1,8 +1,33 @@ -/*! +/** * \file * * * \version $Id$ @@ -14,6 +39,12 @@ /*#* *#* $Log$ + *#* Revision 1.4 2006/07/19 12:56:26 bernie + *#* Convert to new Doxygen style. + *#* + *#* Revision 1.3 2006/02/23 11:03:33 bernie + *#* Documentation fix. + *#* *#* Revision 1.2 2006/02/21 21:28:02 bernie *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms. *#* @@ -30,7 +61,10 @@ // HW dependent timer initialization #define DEFINE_TIMER_ISR void timer_isr(UNUSED_ARG(int, arg)) + +/** Most Linux kernels can't do better than this (CONFIG_HZ=250). */ #define TIMER_TICKS_PER_SEC 250 + #define TIMER_HW_CNT (1<<31) /* We assume 32bit integers here */ #include