#include <linux/types.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/string.h>
#include <linux/kd.h>
#include <linux/vt_kern.h>
#include <linux/vt_buffer.h>
#include <linux/selection.h>
#include <linux/spinlock.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <asm/io.h>
#include <asm/vga.h>
Go to the source code of this file.
#define MDA_ADDR |
( |
|
x, |
|
|
|
y |
|
) |
| ((u16 *) mda_vram_base + (y)*mda_num_columns + (x)) |
#define MDA_CONFIG_COL132 0x08 |
#define MDA_CURSOR_BLINKING 0x00 |
#define MDA_CURSOR_OFF 0x20 |
#define MDA_CURSOR_SLOWBLINK 0x60 |
#define MDA_GFX_MODE_EN 0x01 |
#define MDA_GFX_PAGE_EN 0x02 |
#define MDA_MODE_BLINK_EN 0x20 |
#define MDA_MODE_GFX_PAGE1 0x80 |
#define MDA_MODE_GRAPHICS 0x02 |
#define MDA_MODE_VIDEO_EN 0x08 |
#define MDA_STATUS_HSYNC 0x01 |
#define MDA_STATUS_VIDEO 0x08 |
#define MDA_STATUS_VSYNC 0x80 |
- Enumerator:
TYPE_MDA |
|
TYPE_HERC |
|
TYPE_HERCPLUS |
|
TYPE_HERCCOLOR |
|
Definition at line 68 of file mdacon.c.
module_exit |
( |
mda_console_exit |
| ) |
|
module_param |
( |
mda_first_vc |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
mda_last_vc |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mda_first_vc |
, |
|
|
"First virtual console. Default: 13" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mda_last_vc |
, |
|
|
"Last virtual console. Default: 16" |
|
|
) |
| |