Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
vgacon.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/string.h>
#include <linux/kd.h>
#include <linux/slab.h>
#include <linux/vt_kern.h>
#include <linux/selection.h>
#include <linux/spinlock.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/screen_info.h>
#include <video/vga.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define BLANK   0x0020
 
#define CAN_LOAD_EGA_FONTS   /* undefine if the user must not do this */
 
#define CAN_LOAD_PALETTE   /* undefine if the user must not do this */
 
#define VGA_FONTWIDTH   8 /* VGA does not support fontwidths != 8 */
 
#define vgacon_scrollback_startup(...)   do { } while (0)
 
#define vgacon_scrollback_init(...)   do { } while (0)
 
#define vgacon_scrollback_update(...)   do { } while (0)
 
#define colourmap   0xa0000
 
#define blackwmap   0xa0000
 
#define cmapsz   8192
 
#define DUMMY   (void *) vgacon_dummy
 

Functions

bool vgacon_text_force (void)
 
 EXPORT_SYMBOL (vgacon_text_force)
 
 __setup ("nomodeset", text_mode)
 
 __setup ("no-scroll", no_scroll)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct consw vga_con
 

Macro Definition Documentation

#define blackwmap   0xa0000

Definition at line 1059 of file vgacon.c.

#define BLANK   0x0020

Definition at line 60 of file vgacon.c.

#define CAN_LOAD_EGA_FONTS   /* undefine if the user must not do this */

Definition at line 62 of file vgacon.c.

#define CAN_LOAD_PALETTE   /* undefine if the user must not do this */

Definition at line 63 of file vgacon.c.

#define cmapsz   8192

Definition at line 1060 of file vgacon.c.

#define colourmap   0xa0000

Definition at line 1056 of file vgacon.c.

#define DUMMY   (void *) vgacon_dummy

Definition at line 1401 of file vgacon.c.

#define VGA_FONTWIDTH   8 /* VGA does not support fontwidths != 8 */

Definition at line 71 of file vgacon.c.

#define vgacon_scrollback_init (   ...)    do { } while (0)

Definition at line 327 of file vgacon.c.

#define vgacon_scrollback_startup (   ...)    do { } while (0)

Definition at line 326 of file vgacon.c.

#define vgacon_scrollback_update (   ...)    do { } while (0)

Definition at line 328 of file vgacon.c.

Function Documentation

__setup ( "nomodeset"  ,
text_mode   
)
__setup ( "no-scroll"  ,
no_scroll   
)
EXPORT_SYMBOL ( vgacon_text_force  )
MODULE_LICENSE ( "GPL"  )
bool vgacon_text_force ( void  )

Definition at line 116 of file vgacon.c.

Variable Documentation

unsigned char ClockingMode

Definition at line 887 of file vgacon.c.

unsigned char CrtCtrlIndex

Definition at line 877 of file vgacon.c.

unsigned char CrtMiscIO

Definition at line 878 of file vgacon.c.

unsigned char EndHorizRetrace

Definition at line 882 of file vgacon.c.

unsigned char EndVertRetrace

Definition at line 885 of file vgacon.c.

unsigned char HorizDisplayEnd

Definition at line 880 of file vgacon.c.

unsigned char HorizontalTotal

Definition at line 879 of file vgacon.c.

unsigned char ModeControl

Definition at line 886 of file vgacon.c.

unsigned char Overflow

Definition at line 883 of file vgacon.c.

unsigned char SeqCtrlIndex

Definition at line 876 of file vgacon.c.

unsigned char StartHorizRetrace

Definition at line 881 of file vgacon.c.

unsigned char StartVertRetrace

Definition at line 884 of file vgacon.c.

struct consw vga_con
Initial value:
= {
.owner = THIS_MODULE,
.con_startup = vgacon_startup,
.con_init = vgacon_init,
.con_deinit = vgacon_deinit,
.con_clear = DUMMY,
.con_putc = DUMMY,
.con_putcs = DUMMY,
.con_cursor = vgacon_cursor,
.con_scroll = vgacon_scroll,
.con_bmove = DUMMY,
.con_switch = vgacon_switch,
.con_blank = vgacon_blank,
.con_font_set = vgacon_font_set,
.con_font_get = vgacon_font_get,
.con_resize = vgacon_resize,
.con_set_palette = vgacon_set_palette,
.con_scrolldelta = vgacon_scrolldelta,
.con_set_origin = vgacon_set_origin,
.con_save_screen = vgacon_save_screen,
.con_build_attr = vgacon_build_attr,
.con_invert_region = vgacon_invert_region,
}

Definition at line 1403 of file vgacon.c.