1 #ifndef _LINUX_TIMER_H
2 #define _LINUX_TIMER_H
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #define BLANK_TIMER 0
30 #define BEEP_TIMER 1
31 #define RS_TIMER 2
32
33 #define HD_TIMER 16
34 #define FLOPPY_TIMER 17
35 #define SCSI_TIMER 18
36 #define NET_TIMER 19
37 #define SOUND_TIMER 20
38 #define COPRO_TIMER 21
39
40 struct timer_struct {
41 unsigned long expires;
42 void (*fn)(void);
43 };
44
45 extern unsigned long timer_active;
46 extern struct timer_struct timer_table[32];
47
48 #endif