Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | consw |
struct | console |
Macros | |
#define | VT100ID "\033[?1;2c" |
#define | VT102ID "\033[?6c" |
#define | SM_UP (1) |
#define | SM_DOWN (2) |
#define | CM_DRAW (1) |
#define | CM_ERASE (2) |
#define | CM_MOVE (3) |
#define | CON_PRINTBUFFER (1) |
#define | CON_CONSDEV (2) /* Last on the command line */ |
#define | CON_ENABLED (4) |
#define | CON_BOOT (8) |
#define | CON_ANYTIME (16) /* Safe to call when cpu is offline */ |
#define | CON_BRL (32) /* Used for a braille device */ |
#define | for_each_console(con) for (con = console_drivers; con != NULL; con = con->next) |
#define | WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress) |
#define | VESA_NO_BLANKING 0 |
#define | VESA_VSYNC_SUSPEND 1 |
#define | VESA_HSYNC_SUSPEND 2 |
#define | VESA_POWERDOWN 3 |
#define for_each_console | ( | con | ) | for (con = console_drivers; con != NULL; con = con->next) |
#define WARN_CONSOLE_UNLOCKED | ( | ) | WARN_ON(!is_console_locked() && !oops_in_progress) |
int braille_register_console | ( | struct console * | , |
int | index, | ||
char * | console_options, | ||
char * | braille_options | ||
) |
Definition at line 358 of file braille_console.c.
Definition at line 380 of file braille_console.c.
|
read |
console_unlock - unlock the console system
Releases the console_lock which the caller holds on the console system and the console driver list.
While the console_lock was held, console output may have been buffered by printk(). If this is the case, console_unlock(); emits the output prior to releasing the lock.
If there is output waiting, we wake /dev/kmsg and syslog() users.
console_unlock(); may be called from any context.
register_con_driver - register console driver to console layer : console driver : the first console to take over, minimum value is 0 : the last console to take over, maximum value is MAX_NR_CONSOLES -1
DESCRIPTION: This function registers a console driver which can later bind to a range of consoles specified by and . It will also initialize the console driver by calling con_startup().
unregister_con_driver - unregister console driver from console layer : console driver
DESCRIPTION: All drivers that registers to the console layer must call this function upon exit, or if the console driver is in a state where it won't be able to handle console services, such as the framebuffer console without loaded framebuffer drivers.
The driver must unbind first prior to unregistration.
Definition at line 639 of file vc_screen.c.
Definition at line 647 of file vc_screen.c.
Definition at line 60 of file dummycon.c.
Definition at line 717 of file newport_con.c.