machdep_no.h 733 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5
#ifndef _M68KNOMMU_MACHDEP_H
#define _M68KNOMMU_MACHDEP_H

#include <linux/interrupt.h>

6 7 8 9 10 11 12
/* 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 */
L
Linus Torvalds 已提交
13 14 15
extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
			   int *min, int *sec);
extern int (*mach_set_clock_mmss)(unsigned long);
16 17

/* machine dependent power off functions */
L
Linus Torvalds 已提交
18 19 20 21 22 23
extern void (*mach_reset)( void );
extern void (*mach_halt)( void );
extern void (*mach_power_off)( void );

extern void config_BSP(char *command, int len);

G
Greg Ungerer 已提交
24 25
extern void do_IRQ(int irq, struct pt_regs *fp);

L
Linus Torvalds 已提交
26
#endif /* _M68KNOMMU_MACHDEP_H */