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 | 15368d8 | 2007-07-27 10:38:01 +1000 | [diff] [blame] | 6 | extern void (*mach_sched_init) (irq_handler_t handler); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | /* machine dependent timer functions */ |
| 8 | extern unsigned long (*mach_gettimeoffset)(void); |
| 9 | extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour, |
| 10 | int *min, int *sec); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | extern int (*mach_set_clock_mmss)(unsigned long); |
Greg Ungerer | dfbab75 | 2007-07-27 10:38:16 +1000 | [diff] [blame] | 12 | |
| 13 | /* machine dependent power off functions */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | extern void (*mach_reset)( void ); |
| 15 | extern void (*mach_halt)( void ); |
| 16 | extern void (*mach_power_off)( void ); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | extern void config_BSP(char *command, int len); |
| 19 | extern void (*mach_tick)(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | #endif /* _M68KNOMMU_MACHDEP_H */ |