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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [m68k/] [console/] [txtcon.c] - Blame information for rev 1623

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

Line No. Rev Author Line
1 1623 jcastillo
/*
2
 * linux/arch/m68k/console/txtcon.c -- Low level text mode based console driver
3
 *
4
 *    Copyright (C) 1995 Geert Uytterhoeven
5
 *
6
 *
7
 * This file is currently only a skeleton, since all Amigas and Ataris have
8
 * bitmapped graphics.
9
 *
10
 *
11
 * This file is subject to the terms and conditions of the GNU General Public
12
 * License.  See the file COPYING in the main directory of this archive
13
 * for more details.
14
 */
15
 
16
 
17
#include <linux/types.h>
18
#include <linux/console.h>
19
 
20
 
21
   /*
22
    *    Interface used by the world
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
/* txtcon_XXX routines - interface used by the world */
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
    *    The console `switch' structure for the text mode based console
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
 

powered by: WebSVN 2.1.0

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