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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [char/] [vt_kern.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#ifndef _VT_KERN_H
2
#define _VT_KERN_H
3
 
4
/*
5
 * this really is an extension of the vc_cons structure in console.c, but
6
 * with information needed by the vt package
7
 */
8
 
9
#include <linux/vt.h>
10
 
11
/*
12
 * Presently, a lot of graphics programs do not restore the contents of
13
 * the higher font pages.  Defining this flag will avoid use of them, but
14
 * will lose support for PIO_FONTRESET.  Note that many font operations are
15
 * not likely to work with these programs anyway; they need to be
16
 * fixed.  The linux/Documentation directory includes a code snippet
17
 * to save and restore the text font.
18
 */
19
#define BROKEN_GRAPHICS_PROGRAMS 1
20
 
21
extern struct vt_struct {
22
        int vc_num;                             /* The console number */
23
        unsigned char   vc_mode;                /* KD_TEXT, ... */
24
        unsigned char   vc_kbdraw;
25
        unsigned char   vc_kbde0;
26
        unsigned char   vc_kbdleds;
27
        struct vt_mode  vt_mode;
28
        int             vt_pid;
29
        int             vt_newvt;
30
        struct wait_queue *paste_wait;
31
} *vt_cons[MAX_NR_CONSOLES];
32 656 simons
/* SIMON: forbidden change of source file - compiling error */
33
extern void (*kd_mksound)(unsigned int hz, unsigned int ticks);
34 199 simons
int vc_allocate(unsigned int console);
35
int vc_cons_allocated(unsigned int console);
36
int vc_resize(unsigned long lines, unsigned long cols);
37
void vc_disallocate(unsigned int console);
38
 
39
#endif /* _VT_KERN_H */

powered by: WebSVN 2.1.0

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