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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-m68k/] [machdep.h] - Blame information for rev 1777

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

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _M68K_MACHDEP_H
2
#define _M68K_MACHDEP_H
3
 
4
struct pt_regs;
5
struct kbd_repeat;
6
struct mktime;
7
struct hwclk_time;
8
struct gendisk;
9
struct buffer_head;
10
 
11
#ifndef ISRFUNC_T
12
typedef void (*isrfunc) (int irq, struct pt_regs *fp, void *data);
13
#define ISRFUNC_T
14
#endif /* ISRFUNC_T */
15
 
16
extern void (*mach_sched_init)(isrfunc);
17
extern int (*mach_keyb_init) (void);
18
extern int (*mach_kbdrate) (struct kbd_repeat *);
19
extern void (*mach_kbd_leds) (unsigned int);
20
extern void (*mach_init_INTS) (void);
21
extern int (*mach_add_isr) (unsigned long source, isrfunc handler,
22
                            int pri, void *data, char *name);
23
extern int (*mach_remove_isr) (unsigned long source, isrfunc handler,
24
                               void *data);
25
extern int (*mach_get_irq_list)(char *buf, int len);
26
extern void (*mach_process_int) (int level, struct pt_regs *fp);
27
extern void (*mach_enable_irq) (unsigned);
28
extern void (*mach_disable_irq) (unsigned);
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 hwclk_time*);
33
extern int (*mach_set_clock_mmss)(unsigned long);
34
extern void (*mach_mksound)( unsigned int count, unsigned int ticks );
35
extern void (*mach_reset)( void );
36
extern int (*mach_floppy_init) (void);
37
extern unsigned long (*mach_hd_init) (unsigned long, unsigned long);
38
extern void (*mach_hd_setup)(char *, int *);
39
extern void (*waitbut)(void);
40
extern struct fb_info *(*mach_fb_init)(long *);
41
extern long mach_max_dma_address;
42
extern void (*mach_debug_init)(void);
43
extern void (*mach_video_setup)(char *, int *);
44
extern void (*mach_floppy_setup)(char *, int *);
45
extern void (*mach_floppy_eject)(void);
46
 
47
#endif /* _M68K_MACHDEP_H */

powered by: WebSVN 2.1.0

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