1#ifndef _M68K_MACHDEP_H
   2#define _M68K_MACHDEP_H
   4struct pt_regs;
   5struct kbd_repeat;
   6struct mktime;
   7struct rtc_time;
   8struct rtc_pll_info;
   9struct gendisk;
  10struct buffer_head;
  12extern void (*mach_sched_init) (void (*handler)(int, void *, struct pt_regs *));
  13/* machine dependent keyboard functions */
  14extern int (*mach_keyb_init) (void);
  15extern int (*mach_kbdrate) (struct kbd_repeat *);
  16extern void (*mach_kbd_leds) (unsigned int);
  17extern int (*mach_kbd_translate)(unsigned char scancode, unsigned char *keycode, char raw_mode);
  18/* machine dependent irq functions */
  19extern void (*mach_init_IRQ) (void);
  20extern void (*(*mach_default_handler)[]) (int, void *, struct pt_regs *);
  21extern int (*mach_request_irq) (unsigned int irq, void (*handler)(int, void *, struct pt_regs *),
  22                                unsigned long flags, const char *devname, void *dev_id);
  23extern void (*mach_free_irq) (unsigned int irq, void *dev_id);
  24extern void (*mach_get_model) (char *model);
  25extern int (*mach_get_hardware_list) (char *buffer);
  26extern int (*mach_get_irq_list) (char *buf);
  27extern void (*mach_process_int) (int irq, struct pt_regs *fp);
  28/* machine dependent timer functions */
  29extern unsigned long (*mach_gettimeoffset)(void);
  30extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
  31                           int *min, int *sec);
  32extern int (*mach_hwclk)(int, struct rtc_time*);
  33extern unsigned int (*mach_get_ss)(void);
  34extern int (*mach_get_rtc_pll)(struct rtc_pll_info *);
  35extern int (*mach_set_rtc_pll)(struct rtc_pll_info *);
  36extern int (*mach_set_clock_mmss)(unsigned long);
  37extern void (*mach_reset)( void );
  38extern void (*mach_halt)( void );
  39extern void (*mach_power_off)( void );
  40extern unsigned long (*mach_hd_init) (unsigned long, unsigned long);
  41extern void (*mach_hd_setup)(char *, int *);
  42extern long mach_max_dma_address;
  43extern void (*mach_floppy_setup)(char *, int *);
  44extern void (*mach_heartbeat) (int);
  45extern void (*mach_l2_flush) (int);
  46extern int mach_sysrq_key;
  47extern int mach_sysrq_shift_state;
  48extern int mach_sysrq_shift_mask;
  49extern char *mach_sysrq_xlate;
  51#endif /* _M68K_MACHDEP_H */
  52 kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.