* Changes:
* Aug 18, 2006 removed direct hardware access etc, MinixPPC (Ingmar Alting)
* Oct 08, 2005 reordering and comment editing (A. S. Woodhull)
- * Mar 18, 2004 clock interface moved to SYSTEM task (Jorrit N. Herder)
+ * Mar 18, 2004 clock interface moved to SYSTEM task (Jorrit N. Herder)
* Sep 30, 2004 source code documentation updated (Jorrit N. Herder)
* Sep 24, 2004 redesigned alarm timers (Jorrit N. Herder)
*/
#endif
/* Function prototype for PRIVATE functions.
- */
+ */
static void load_update(void);
/* The CLOCK's timers queue. The functions in <minix/timers.h> operate on this.
- * Each system process possesses a single synchronous alarm timer. If other
- * kernel parts want to use additional timers, they must declare their own
+ * Each system process possesses a single synchronous alarm timer. If other
+ * kernel parts want to use additional timers, they must declare their own
* persistent (static) timer structure, which can be passed to the clock
* via (re)set_kernel_timer().
- * When a timer expires its watchdog function is run by the CLOCK task.
+ * When a timer expires its watchdog function is run by the CLOCK task.
*/
static minix_timer_t *clock_timers; /* queue of CLOCK timers */
init_clock(void)
{
char *value;
- int i;
/* Initialize clock information structure. */
memset(&kclockinfo, 0, sizeof(kclockinfo));
int arg /* argument for watchdog function */
)
{
-/* Insert the new timer in the active timers list. Always update the
+/* Insert the new timer in the active timers list. Always update the
* next timeout time by setting it to the front of the active list.
*/
(void)tmrs_settimer(&clock_timers, tp, exp_time, watchdog, arg, NULL, NULL);
}
/*===========================================================================*
- * load_update *
+ * load_update *
*===========================================================================*/
static void load_update(void)
{