Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _M68KNOMMU_MACHDEP_H |
| 2 | #define _M68KNOMMU_MACHDEP_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <linux/interrupt.h> |
| 5 | |
Greg Ungerer | ee5a240 | 2007-10-24 12:04:13 +1000 | [diff] [blame] | 6 | /* Hardware clock functions */ |
| 7 | extern void hw_timer_init(void); |
| 8 | extern unsigned long hw_timer_offset(void); |
| 9 | |
| 10 | extern irqreturn_t arch_timer_interrupt(int irq, void *dummy); |
| 11 | |
| 12 | /* Machine dependent time handling */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour, |
| 14 | int *min, int *sec); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | extern int (*mach_set_clock_mmss)(unsigned long); |
Greg Ungerer | dfbab75 | 2007-07-27 10:38:16 +1000 | [diff] [blame] | 16 | |
| 17 | /* machine dependent power off functions */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | extern void (*mach_reset)( void ); |
| 19 | extern void (*mach_halt)( void ); |
| 20 | extern void (*mach_power_off)( void ); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
| 22 | extern void config_BSP(char *command, int len); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
Greg Ungerer | e311f68 | 2008-03-04 16:35:04 +1000 | [diff] [blame^] | 24 | extern void do_IRQ(int irq, struct pt_regs *fp); |
| 25 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | #endif /* _M68KNOMMU_MACHDEP_H */ |