/*#*
*#* $Log$
+ *#* Revision 1.22 2004/12/08 09:12:09 bernie
+ *#* Rename time_t to mtime_t.
+ *#*
+ *#* Revision 1.21 2004/11/28 23:20:25 bernie
+ *#* Remove obsolete INITLIST macro.
+ *#*
*#* Revision 1.20 2004/11/16 20:59:06 bernie
*#* Add watchdog timer support.
*#*
//! Master system clock (1ms accuracy)
-volatile time_t _clock;
+volatile mtime_t _clock;
#ifndef CONFIG_TIMER_DISABLE_EVENTS
/*!
* Wait for the specified amount of time (expressed in ms)
*/
-void timer_delay(time_t time)
+void timer_delay(mtime_t time)
{
#if defined(IRQ_GETSTATE)
/* We shouldn't sleep with interrupts disabled */
#else /* !CONFIG_KERN_SIGNALS */
- time_t start = timer_ticks();
+ mtime_t start = timer_ticks();
/* Busy wait */
while (timer_ticks() - start < time)
TIMER_STROBE_INIT;
#ifndef CONFIG_TIMER_DISABLE_EVENTS
- INITLIST(&timers_queue);
+ LIST_INIT(&timers_queue);
#endif
_clock = 0;