Commit | Line | Data |
---|---|---|
77ef50a5 VN |
1 | #ifndef ASM_X86__I8253_H |
2 | #define ASM_X86__I8253_H | |
0190dae5 | 3 | |
0190dae5 TG |
4 | /* i8253A PIT registers */ |
5 | #define PIT_MODE 0x43 | |
6 | #define PIT_CH0 0x40 | |
7 | #define PIT_CH2 0x42 | |
8 | ||
9 | extern spinlock_t i8253_lock; | |
10 | ||
0190dae5 TG |
11 | extern struct clock_event_device *global_clock_event; |
12 | ||
13 | extern void setup_pit_timer(void); | |
14 | ||
466eed22 AC |
15 | #define inb_pit inb_p |
16 | #define outb_pit outb_p | |
17 | ||
77ef50a5 | 18 | #endif /* ASM_X86__I8253_H */ |