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  * SCSI_TIMER           scsi.c timeout timer
  25  */
  26 
  27 #define BLANK_TIMER     0
  28 #define BEEP_TIMER      1
  29 
  30 #define SER1_TIMER      2
  31 #define SER2_TIMER      3
  32 #define SER3_TIMER      4
  33 #define SER4_TIMER      5
  34 
  35 #define SER1_TIMEOUT    8
  36 #define SER2_TIMEOUT    9
  37 #define SER3_TIMEOUT    10
  38 #define SER4_TIMEOUT    11
  39 
  40 #define HD_TIMER        16
  41 #define FLOPPY_TIMER    17
  42 #define SCSI_TIMER      18
  43 
  44 struct timer_struct {
  45         unsigned long expires;
  46         void (*fn)(void);
  47 };
  48 
  49 extern unsigned long timer_active;
  50 extern struct timer_struct timer_table[32];
  51 
  52 #endif

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