blob: de9f47a51cc215e04d19f1a40fb413045d9d572b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _M68KNOMMU_MACHDEP_H
2#define _M68KNOMMU_MACHDEP_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#include <linux/interrupt.h>
5
Greg Ungereree5a2402007-10-24 12:04:13 +10006/* Hardware clock functions */
7extern void hw_timer_init(void);
8extern unsigned long hw_timer_offset(void);
9
10extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
11
12/* Machine dependent time handling */
Linus Torvalds1da177e2005-04-16 15:20:36 -070013extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
14 int *min, int *sec);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015extern int (*mach_set_clock_mmss)(unsigned long);
Greg Ungererdfbab752007-07-27 10:38:16 +100016
17/* machine dependent power off functions */
Linus Torvalds1da177e2005-04-16 15:20:36 -070018extern void (*mach_reset)( void );
19extern void (*mach_halt)( void );
20extern void (*mach_power_off)( void );
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
22extern void config_BSP(char *command, int len);
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Greg Ungerere311f682008-03-04 16:35:04 +100024extern void do_IRQ(int irq, struct pt_regs *fp);
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif /* _M68KNOMMU_MACHDEP_H */