add directory Linux-0.98
This commit is contained in:
44
Linux-0.98/Yggdrasil-0.98.3/usr/include/linux/timer.h
Normal file
44
Linux-0.98/Yggdrasil-0.98.3/usr/include/linux/timer.h
Normal file
@@ -0,0 +1,44 @@
|
||||
#ifndef _LINUX_TIMER_H
|
||||
#define _LINUX_TIMER_H
|
||||
|
||||
/*
|
||||
* DON'T CHANGE THESE!! Most of them are hardcoded into some assembly language
|
||||
* as well as being defined here.
|
||||
*/
|
||||
|
||||
/*
|
||||
* The timers are:
|
||||
*
|
||||
* BLANK_TIMER console screen-saver timer
|
||||
*
|
||||
* BEEP_TIMER console beep timer
|
||||
*
|
||||
* RS_TIMER timer for the RS-232 ports
|
||||
*
|
||||
* HD_TIMER harddisk timer
|
||||
*
|
||||
* FLOPPY_TIMER floppy disk timer (not used right now)
|
||||
*
|
||||
* SCSI_TIMER scsi.c timeout timer
|
||||
*
|
||||
* NET_TIMER tcp/ip timeout timer
|
||||
*/
|
||||
|
||||
#define BLANK_TIMER 0
|
||||
#define BEEP_TIMER 1
|
||||
#define RS_TIMER 2
|
||||
|
||||
#define HD_TIMER 16
|
||||
#define FLOPPY_TIMER 17
|
||||
#define SCSI_TIMER 18
|
||||
#define NET_TIMER 19
|
||||
|
||||
struct timer_struct {
|
||||
unsigned long expires;
|
||||
void (*fn)(void);
|
||||
};
|
||||
|
||||
extern unsigned long timer_active;
|
||||
extern struct timer_struct timer_table[32];
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user