PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/m68k/include/asm/machdep_no.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 26 lines | 15 code | 8 blank | 3 comment | 0 complexity | 93cf638ade493fbc98295c5a2fdaff20 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1#ifndef _M68KNOMMU_MACHDEP_H
 2#define _M68KNOMMU_MACHDEP_H
 3
 4#include <linux/interrupt.h>
 5
 6/* Hardware clock functions */
 7extern void hw_timer_init(void);
 8extern unsigned long hw_timer_offset(void);
 9
10extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
11
12/* Machine dependent time handling */
13extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
14			   int *min, int *sec);
15extern int (*mach_set_clock_mmss)(unsigned long);
16
17/* machine dependent power off functions */
18extern void (*mach_reset)( void );
19extern void (*mach_halt)( void );
20extern void (*mach_power_off)( void );
21
22extern void config_BSP(char *command, int len);
23
24extern void do_IRQ(int irq, struct pt_regs *fp);
25
26#endif /* _M68KNOMMU_MACHDEP_H */