root/include/linux/timer.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _TIMER_H
   2 #define _TIMER_H
   3 
   4 /*
   5  * DON'T CHANGE THESE!! Most of them are hardcoded into some assembly language
   6  * as well as being defined here.
   7  */
   8 
   9 /*
  10  * The timers are:
  11  *
  12  * BLANK_TIMER          console screen-saver timer
  13  *
  14  * BEEP_TIMER           console beep timer
  15  *
  16  * SERx_TIMER           serial incoming characters timer
  17  *
  18  * SERx_TIMEOUT         timeout for serial writes
  19  *
  20  * HD_TIMER             harddisk timer
  21  *
  22  * FLOPPY_TIMER         floppy disk timer (not used right now)
  23  */
  24 
  25 #define BLANK_TIMER     0
  26 #define BEEP_TIMER      1
  27 
  28 #define SER1_TIMER      2
  29 #define SER2_TIMER      3
  30 #define SER3_TIMER      4
  31 #define SER4_TIMER      5
  32 
  33 #define SER1_TIMEOUT    8
  34 #define SER2_TIMEOUT    9
  35 #define SER3_TIMEOUT    10
  36 #define SER4_TIMEOUT    11
  37 
  38 #define HD_TIMER        16
  39 #define FLOPPY_TIMER    17
  40 
  41 struct timer_struct {
  42         unsigned long expires;
  43         void (*fn)(void);
  44 };
  45 
  46 extern unsigned long timer_active;
  47 extern struct timer_struct timer_table[32];
  48 
  49 #endif

/* [previous][next][first][last][top][bottom][index][help] */