Import 2.3.18pre1
[davej-history.git] / include / video / fbcon-vga.h
blobe7c7b2db0ce727db2b54c7126fbbb3f5f7c2bd08
1 /*
2 * FBcon low-level driver for VGA characters/attributes
3 */
5 #ifndef _VIDEO_FBCON_VGA_H
6 #define _VIDEO_FBCON_VGA_H
8 #include <linux/config.h>
10 #ifdef MODULE
11 #if defined(CONFIG_FBCON_VGA) || defined(CONFIG_FBCON_VGA_MODULE)
12 #define FBCON_HAS_VGA
13 #endif
14 #else
15 #if defined(CONFIG_FBCON_VGA)
16 #define FBCON_HAS_VGA
17 #endif
18 #endif
20 extern struct display_switch fbcon_vga;
21 extern void fbcon_vga_setup(struct display *p);
22 extern void fbcon_vga_bmove(struct display *p, int sy, int sx, int dy, int dx,
23 int height, int width);
24 extern void fbcon_vga_clear(struct vc_data *conp, struct display *p, int sy,
25 int sx, int height, int width);
26 extern void fbcon_vga_putc(struct vc_data *conp, struct display *p, int c,
27 int yy, int xx);
28 extern void fbcon_vga_putcs(struct vc_data *conp, struct display *p,
29 const unsigned short *s, int count, int yy, int xx);
30 extern void fbcon_vga_revc(struct display *p, int xx, int yy);
32 #endif /* _VIDEO_FBCON_VGA_H */