Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / drivers / sgi / char / gconsole.h
blob7bc9794bb0fa5642c1dd788e55fb7e6442ddba6a
1 /*
2 * This is a temporary measure, we should eventually migrate to
3 * Gert's generic graphic console code.
4 */
6 #define cmapsz 8192
7 #define CHAR_HEIGHT 16
9 struct console_ops {
10 void (*set_origin)(unsigned short offset);
11 void (*hide_cursor)(void);
12 void (*set_cursor)(int currcons);
13 void (*get_scrmem)(int currcons);
14 void (*set_scrmem)(int currcons, long offset);
15 int (*set_get_cmap)(unsigned char *arg, int set);
16 void (*blitc)(unsigned short charattr, unsigned long addr);
17 void (*memsetw)(void *s, unsigned short c, unsigned int count);
18 void (*memcpyw)(unsigned short *to, unsigned short *from, unsigned int count);
21 void register_gconsole (struct console_ops *);
23 /* This points to the system console */
24 extern struct console_ops *gconsole;
26 extern void gfx_init (const char **name);
28 extern void __set_origin (unsigned short offset);
29 extern void hide_cursor (void);
30 extern unsigned char vga_font[];
32 extern void disable_gconsole (void);
33 extern void enable_gconsole (void);