blob: 708d7863ba687624f04a89257f31079283ba8f84 [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 Ungerer15368d82007-07-27 10:38:01 +10006extern void (*mach_sched_init) (irq_handler_t handler);
Linus Torvalds1da177e2005-04-16 15:20:36 -07007/* machine dependent timer functions */
8extern unsigned long (*mach_gettimeoffset)(void);
9extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
10 int *min, int *sec);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011extern int (*mach_set_clock_mmss)(unsigned long);
Greg Ungererdfbab752007-07-27 10:38:16 +100012
13/* machine dependent power off functions */
Linus Torvalds1da177e2005-04-16 15:20:36 -070014extern void (*mach_reset)( void );
15extern void (*mach_halt)( void );
16extern void (*mach_power_off)( void );
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18extern void config_BSP(char *command, int len);
19extern void (*mach_tick)(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21#endif /* _M68KNOMMU_MACHDEP_H */