root/include/linux/timer.h

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

INCLUDED FROM


   1 #ifndef _LINUX_TIMER_H
   2 #define _LINUX_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  * RS_TIMER             timer for the RS-232 ports
  17  * 
  18  * HD_TIMER             harddisk timer
  19  *
  20  * FLOPPY_TIMER         floppy disk timer (not used right now)
  21  * 
  22  * SCSI_TIMER           scsi.c timeout timer
  23  *
  24  * NET_TIMER            tcp/ip timeout timer
  25  */
  26 
  27 #define BLANK_TIMER     0
  28 #define BEEP_TIMER      1
  29 #define RS_TIMER        2
  30 
  31 #define HD_TIMER        16
  32 #define FLOPPY_TIMER    17
  33 #define SCSI_TIMER      18
  34 #define NET_TIMER       19
  35 #define SOUND_TIMER     20
  36 
  37 struct timer_struct {
  38         unsigned long expires;
  39         void (*fn)(void);
  40 };
  41 
  42 extern unsigned long timer_active;
  43 extern struct timer_struct timer_table[32];
  44 
  45 #endif

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