machdep.h 650 B

123456789101112131415161718192021
  1. #ifndef _M68KNOMMU_MACHDEP_H
  2. #define _M68KNOMMU_MACHDEP_H
  3. #include <linux/interrupt.h>
  4. extern void (*mach_sched_init) (irq_handler_t handler);
  5. /* machine dependent timer functions */
  6. extern unsigned long (*mach_gettimeoffset)(void);
  7. extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
  8. int *min, int *sec);
  9. extern int (*mach_set_clock_mmss)(unsigned long);
  10. /* machine dependent power off functions */
  11. extern void (*mach_reset)( void );
  12. extern void (*mach_halt)( void );
  13. extern void (*mach_power_off)( void );
  14. extern void config_BSP(char *command, int len);
  15. extern void (*mach_tick)(void);
  16. #endif /* _M68KNOMMU_MACHDEP_H */