2005-04-16 18:20:36 -04:00
|
|
|
#ifndef _M68KNOMMU_MACHDEP_H
|
|
|
|
#define _M68KNOMMU_MACHDEP_H
|
|
|
|
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
|
2007-07-26 20:38:01 -04:00
|
|
|
extern void (*mach_sched_init) (irq_handler_t handler);
|
2005-04-16 18:20:36 -04:00
|
|
|
/* machine dependent timer functions */
|
|
|
|
extern unsigned long (*mach_gettimeoffset)(void);
|
|
|
|
extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
|
|
|
|
int *min, int *sec);
|
|
|
|
extern int (*mach_set_clock_mmss)(unsigned long);
|
2007-07-26 20:38:16 -04:00
|
|
|
|
|
|
|
/* machine dependent power off functions */
|
2005-04-16 18:20:36 -04:00
|
|
|
extern void (*mach_reset)( void );
|
|
|
|
extern void (*mach_halt)( void );
|
|
|
|
extern void (*mach_power_off)( void );
|
|
|
|
|
|
|
|
extern void config_BSP(char *command, int len);
|
|
|
|
extern void (*mach_tick)(void);
|
|
|
|
|
|
|
|
#endif /* _M68KNOMMU_MACHDEP_H */
|