Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-x86 / i8253.h
blobb51c0487fc41d6aec43c7db474e80abd0330d50d
1 #ifndef __ASM_I8253_H__
2 #define __ASM_I8253_H__
4 /* i8253A PIT registers */
5 #define PIT_MODE 0x43
6 #define PIT_CH0 0x40
7 #define PIT_CH2 0x42
9 extern spinlock_t i8253_lock;
11 extern struct clock_event_device *global_clock_event;
13 extern void setup_pit_timer(void);
15 #define inb_pit inb_p
16 #define outb_pit outb_p
18 #endif /* __ASM_I8253_H__ */