X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftimer_posix.h;h=946c1125b5257228321b8d1983711499851f2a59;hb=04cdf83948ae2bf7d6404be4d5816707092619f3;hp=fbaf9e4fa967750956fd2824abc33a958423ac8a;hpb=766a22ae58928039e82f428d17a8a944ab2fb553;p=bertos.git diff --git a/drv/timer_posix.h b/drv/timer_posix.h index fbaf9e4f..946c1125 100755 --- a/drv/timer_posix.h +++ b/drv/timer_posix.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* 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 +33,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