blob: 7577d058d86e7ef292bf63f78eb3e139527cbc0b [file] [log] [blame]
Ingo Molnar306e4402005-06-30 02:58:55 -07001#ifndef __ASM_I8253_H__
2#define __ASM_I8253_H__
3
Thomas Gleixnere9e2cdb2007-02-16 01:28:04 -08004#include <linux/clockchips.h>
5
Thomas Gleixnera2900972007-07-21 17:11:34 +02006/* i8253A PIT registers */
7#define PIT_MODE 0x43
8#define PIT_CH0 0x40
9#define PIT_CH2 0x42
10
Ingo Molnar306e4402005-06-30 02:58:55 -070011extern spinlock_t i8253_lock;
12
Thomas Gleixnere9e2cdb2007-02-16 01:28:04 -080013extern struct clock_event_device *global_clock_event;
14
Thomas Gleixnera2900972007-07-21 17:11:34 +020015extern void setup_pit_timer(void);
16
Ingo Molnar306e4402005-06-30 02:58:55 -070017#endif /* __ASM_I8253_H__ */