1 #ifndef _M68KNOMMU_MACHDEP_H
2 #define _M68KNOMMU_MACHDEP_H
4 #include <linux/seq_file.h>
5 #include <linux/interrupt.h>
15 extern void (*mach_sched_init
) (irqreturn_t (*handler
)(int, void *, struct pt_regs
*));
16 /* machine dependent keyboard functions */
17 extern int (*mach_keyb_init
) (void);
18 extern int (*mach_kbdrate
) (struct kbd_repeat
*);
19 extern void (*mach_kbd_leds
) (unsigned int);
20 /* machine dependent irq functions */
21 extern void (*mach_init_IRQ
) (void);
22 extern irq_handler_t mach_default_handler
;
23 extern int (*mach_request_irq
) (unsigned int irq
, void (*handler
)(int, void *, struct pt_regs
*),
24 unsigned long flags
, const char *devname
, void *dev_id
);
25 extern void (*mach_free_irq
) (unsigned int irq
, void *dev_id
);
26 extern void (*mach_get_model
) (char *model
);
27 extern int (*mach_get_hardware_list
) (char *buffer
);
28 extern int (*mach_get_irq_list
) (struct seq_file
*p
, void *v
);
29 extern void (*mach_process_int
) (int irq
, struct pt_regs
*fp
);
30 /* machine dependent timer functions */
31 extern unsigned long (*mach_gettimeoffset
)(void);
32 extern void (*mach_gettod
)(int *year
, int *mon
, int *day
, int *hour
,
34 extern int (*mach_hwclk
)(int, struct rtc_time
*);
35 extern int (*mach_set_clock_mmss
)(unsigned long);
36 extern unsigned int (*mach_get_ss
)(void);
37 extern int (*mach_get_rtc_pll
)(struct rtc_pll_info
*pll
);
38 extern int (*mach_set_rtc_pll
)(struct rtc_pll_info
*pll
);
39 extern void (*mach_reset
)( void );
40 extern void (*mach_halt
)( void );
41 extern void (*mach_power_off
)( void );
42 extern unsigned long (*mach_hd_init
) (unsigned long, unsigned long);
43 extern void (*mach_hd_setup
)(char *, int *);
44 extern long mach_max_dma_address
;
45 extern void (*mach_floppy_eject
)(void);
46 extern void (*mach_heartbeat
) (int);
47 extern void (*mach_l2_flush
) (int);
48 extern int mach_sysrq_key
;
49 extern int mach_sysrq_shift_state
;
50 extern int mach_sysrq_shift_mask
;
51 extern char *mach_sysrq_xlate
;
53 extern void config_BSP(char *command
, int len
);
54 extern void (*mach_tick
)(void);
55 extern void (*mach_trap_init
)(void);
57 #endif /* _M68KNOMMU_MACHDEP_H */