Subversion Repositories HelenOS-historic

Rev

Rev 15 | Rev 111 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 107
Line 41... Line 41...
41
 
41
 
42
#ifdef __SMP__
42
#ifdef __SMP__
43
#include <arch/smp/atomic.h>
43
#include <arch/smp/atomic.h>
44
#endif
44
#endif
45
 
45
 
-
 
46
/** Clock routine
46
/*
47
 *
47
 * Clock is called from an interrupt and is cpu_priority_high()'d.
48
 * Clock routine executed from clock interrupt handler
-
 
49
 * (assuming cpu_priority_high()). Runs expired timeouts
-
 
50
 * and preemptive scheduling.
-
 
51
 *
48
 */
52
 */
49
void clock(void)
53
void clock(void)
50
{
54
{
51
    link_t *l;
55
    link_t *l;
52
    timeout_t *h;
56
    timeout_t *h;