2005-04-16 16:20:36 -06:00
|
|
|
#ifndef _M68KNOMMU_MACHDEP_H
|
|
|
|
#define _M68KNOMMU_MACHDEP_H
|
|
|
|
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
|
2007-10-23 20:04:13 -06:00
|
|
|
/* Hardware clock functions */
|
|
|
|
extern void hw_timer_init(void);
|
|
|
|
extern unsigned long hw_timer_offset(void);
|
|
|
|
|
|
|
|
extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
|
|
|
|
|
|
|
|
/* Machine dependent time handling */
|
2005-04-16 16:20:36 -06:00
|
|
|
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 18:38:16 -06:00
|
|
|
|
|
|
|
/* machine dependent power off functions */
|
2005-04-16 16:20:36 -06: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);
|
|
|
|
|
2008-03-03 23:35:04 -07:00
|
|
|
extern void do_IRQ(int irq, struct pt_regs *fp);
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif /* _M68KNOMMU_MACHDEP_H */
|