OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-m68k/] [machdep.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.