i8253.h 328 B

1234567891011121314151617
  1. #ifndef __ASM_I8253_H__
  2. #define __ASM_I8253_H__
  3. #include <linux/clockchips.h>
  4. /* i8253A PIT registers */
  5. #define PIT_MODE 0x43
  6. #define PIT_CH0 0x40
  7. #define PIT_CH2 0x42
  8. extern spinlock_t i8253_lock;
  9. extern struct clock_event_device *global_clock_event;
  10. extern void setup_pit_timer(void);
  11. #endif /* __ASM_I8253_H__ */