This source file includes following definitions.
- txtcon_startup
- txtcon_init
- txtcon_deinit
- txtcon_clear
- txtcon_putc
- txtcon_putcs
- txtcon_cursor
- txtcon_scroll
- txtcon_bmove
- txtcon_switch
- txtcon_blank
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 #include <linux/types.h>
18 #include <linux/console.h>
19
20
21
22
23
24
25 static u_long txtcon_startup(u_long kmem_start, char **display_desc);
26 static void txtcon_init(struct vc_data *conp);
27 static int txtcon_deinit(struct vc_data *conp);
28 static int txtcon_clear(struct vc_data *conp, int sy, int sx, int height,
29 int width);
30 static int txtcon_putc(struct vc_data *conp, int c, int y, int x);
31 static int txtcon_putcs(struct vc_data *conp, const char *s, int count, int y,
32 int x);
33 static int txtcon_cursor(struct vc_data *conp, int mode);
34 static int txtcon_scroll(struct vc_data *conp, int t, int b, int dir, int count);
35 static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx,
36 int height, int width);
37 static int txtcon_switch(struct vc_data *conp);
38 static int txtcon_blank(int blank);
39
40
41
42 static u_long txtcon_startup(u_long kmem_start, char **display_desc)
43 {
44 *display_desc = "Not yet implemented";
45 return(kmem_start);
46 }
47
48
49 static void txtcon_init(struct vc_data *conp)
50 {
51 }
52
53
54 static int txtcon_deinit(struct vc_data *conp)
55 {
56 return(0);
57 }
58
59
60
61
62
63
64
65 static int txtcon_clear(struct vc_data *conp, int sy, int sx, int height,
66 int width)
67 {
68 return(0);
69 }
70
71
72 static int txtcon_putc(struct vc_data *conp, int c, int y, int x)
73 {
74 return(0);
75 }
76
77
78 static int txtcon_putcs(struct vc_data *conp, const char *s, int count, int y,
79 int x)
80 {
81 return(0);
82 }
83
84
85 static int txtcon_cursor(struct vc_data *conp, int mode)
86 {
87 return(0);
88 }
89
90
91 static int txtcon_scroll(struct vc_data *conp, int t, int b, int dir, int count)
92 {
93 return(0);
94 }
95
96
97 static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx,
98 int height, int width)
99 {
100 return(0);
101 }
102
103
104 static int txtcon_switch(struct vc_data *conp)
105 {
106 return(0);
107 }
108
109
110 static int txtcon_blank(int blank)
111 {
112 return(0);
113 }
114
115
116
117
118
119
120
121
122 struct consw txt_con = {
123 txtcon_startup, txtcon_init, txtcon_deinit, txtcon_clear, txtcon_putc,
124 txtcon_putcs, txtcon_cursor, txtcon_scroll, txtcon_bmove, txtcon_switch,
125 txtcon_blank
126 };
127