Linux Kernel
3.7.1
|
#include <linux/vt.h>
#include <linux/kd.h>
#include <linux/tty.h>
#include <linux/mutex.h>
#include <linux/console_struct.h>
#include <linux/mm.h>
#include <linux/consolemap.h>
#include <linux/notifier.h>
Go to the source code of this file.
Data Structures | |
struct | vt_spawn_console |
struct | vt_notifier_param |
Macros | |
#define | update_screen(x) redraw_screen(x, 0) |
#define | switch_screen(x) redraw_screen(x, 1) |
#define | vc_translate(vc, c) (c) |
Variables | |
int | fg_console |
int | last_console |
int | want_console |
char | vt_dont_switch |
int | default_utf8 |
int | global_cursor_default |
struct vt_spawn_console | vt_spawn_con |
#define switch_screen | ( | x | ) | redraw_screen(x, 1) |
#define update_screen | ( | x | ) | redraw_screen(x, 0) |
Definition at line 1332 of file vt_ioctl.c.
int con_font_op | ( | struct vc_data * | vc, |
struct console_font_op * | op | ||
) |
int kbd_rate | ( | struct kbd_repeat * | rep | ) |
Definition at line 295 of file keyboard.c.
Definition at line 259 of file keyboard.c.
int register_vt_notifier | ( | struct notifier_block * | nb | ) |
Definition at line 1020 of file vt_ioctl.c.
int unregister_vt_notifier | ( | struct notifier_block * | nb | ) |
vt_clr_kbd_mode_bit - read keyboard status bits : console to read from : mode bit to read
Report back a vt mode bit. We do this without locking so the caller must be sure that there are no synchronization needs
Definition at line 2189 of file keyboard.c.
vt_do_diacrit - diacritical table updates : ioctl request : pointer to user data for ioctl : permissions check computed by caller
Update the diacritical tables atomically and safely. Lock them against simultaneous keypresses
Definition at line 1553 of file keyboard.c.
Definition at line 1773 of file keyboard.c.
Definition at line 1906 of file keyboard.c.
vt_do_kdgkbmeta - report meta status : console to report
Report the meta flag status of this console
Definition at line 2084 of file keyboard.c.
Definition at line 2060 of file keyboard.c.
Definition at line 1800 of file keyboard.c.
Definition at line 2018 of file keyboard.c.
vt_event_post : the event that occurred : old console : new console
Post an VT event to interested VT handlers
Definition at line 86 of file vt_ioctl.c.
vt_get_kbd_mode_bit - read keyboard status bits : console to read from : mode bit to read
Report back a vt mode bit. We do this without locking so the caller must be sure that there are no synchronization needs
Definition at line 2155 of file keyboard.c.
vt_get_leds - helper for braille console : console to read : flag we want to check
Check the status of a keyboard led flag and report it back
Definition at line 1051 of file keyboard.c.
vt_get_shiftstate - shift bit state
Report the shift bits from the keyboard state. We have to export this to support some oddities in the vt layer.
Definition at line 2112 of file keyboard.c.
vt_kbd_con_start - Keyboard side of console start : console
Handle console start. This is a wrapper for the VT layer so that we can keep kbd knowledge internal
FIXME: We eventually need to hold the kbd lock here to protect the LED updating. We can't do it yet because fn_hold calls stop_tty and start_tty under the kbd_event_lock, while normal tty paths don't hold the lock. We probably need to split out an LED lock but not during an -rc release!
Definition at line 1092 of file keyboard.c.
vt_kbd_con_stop - Keyboard side of console stop : console
Handle console stop. This is a wrapper for the VT layer so that we can keep kbd knowledge internal
Definition at line 1109 of file keyboard.c.
Definition at line 1403 of file vt_ioctl.c.
vt_reset_keyboard - reset keyboard state : console to reset
Reset the keyboard bits for a console as part of a general console reset event
Definition at line 2125 of file keyboard.c.
vt_reset_unicode - reset the unicode status : console being reset
Restore the unicode console state to its default
Definition at line 2097 of file keyboard.c.
vt_set_kbd_mode_bit - read keyboard status bits : console to read from : mode bit to read
Set a vt mode bit. We do this without locking so the caller must be sure that there are no synchronization needs
Definition at line 2170 of file keyboard.c.
vt_set_led_state - set LED state of a console : console to set : LED bits
Set the LEDs on a console. This is a wrapper for the VT layer so that we can keep kbd knowledge internal
Definition at line 1073 of file keyboard.c.
vt_waitactive - active console wait : event code
: new console
Helper for event waits. Used to implement the legacy event waiting ioctls in terms of events
Definition at line 193 of file vt_ioctl.c.
char vt_dont_switch |
Definition at line 38 of file vt_ioctl.c.
struct vt_spawn_console vt_spawn_con |
Definition at line 97 of file keyboard.c.