Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | hvc_struct |
struct | hv_ops |
Macros | |
#define | MAX_NR_HVC_CONSOLES 16 |
#define | HVC_ALLOC_TTY_ADAPTERS 8 |
Functions | |
int | hvc_instantiate (uint32_t vtermno, int index, const struct hv_ops *ops) |
struct hvc_struct * | hvc_alloc (uint32_t vtermno, int data, const struct hv_ops *ops, int outbuf_size) |
int | hvc_remove (struct hvc_struct *hp) |
int | hvc_poll (struct hvc_struct *hp) |
void | hvc_kick (void) |
void | __hvc_resize (struct hvc_struct *hp, struct winsize ws) |
int | notifier_add_irq (struct hvc_struct *hp, int data) |
void | notifier_del_irq (struct hvc_struct *hp, int data) |
void | notifier_hangup_irq (struct hvc_struct *hp, int data) |
#define HVC_ALLOC_TTY_ADAPTERS 8 |
Definition at line 46 of file hvc_console.h.
#define MAX_NR_HVC_CONSOLES 16 |
Definition at line 38 of file hvc_console.h.
void __hvc_resize | ( | struct hvc_struct * | hp, |
struct winsize | ws | ||
) |
__hvc_resize() - Update terminal window size information. : HVC console pointer : Terminal window size structure
Stores the specified window size information in the hvc structure of . The function schedule the tty resize update.
Locking: Locking free; the function MUST be called holding hp->lock
Definition at line 712 of file hvc_console.c.
|
read |
Definition at line 837 of file hvc_console.c.
Definition at line 268 of file hvc_console.c.
Definition at line 300 of file hvc_console.c.
int hvc_poll | ( | struct hvc_struct * | hp | ) |
Definition at line 593 of file hvc_console.c.
int hvc_remove | ( | struct hvc_struct * | hp | ) |
Definition at line 896 of file hvc_console.c.