|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
Go to the source code of this file.
Data Structures | |
| struct | tty_internal |
Functions | |
| struct tty_internal | __attribute__ ((aligned(64))) |
| void | change_active_tty (int tty) |
| int | get_active_tty () |
| dentry_ptr | get_active_tty_dentry () |
| dentry_ptr | get_tty_dentry (int tty) |
| void | start_tty () |
| void | tty_check_and_flush () |
Variables | |
| boolean_t | enable |
| boolean_t | dirty |
| uint32_t | cols |
| uint32_t | rows |
| uint32_t | cursorx |
| uint32_t | cursory |
| char | input_buffer [VOXIA_TTY_INPUT_BUFFER_SIZE] |
| uint32_t | head |
| uint32_t | tail |
| char | line_buff [1024] |
| uint32_t | line_buff_head |
| uint32_t | line_buff_tail |
| spinlock_t | input_lock |
| struct tty_internal __attribute__ | ( | (aligned(64)) | ) |
| void change_active_tty | ( | int | tty | ) |
Definition at line 251 of file tty.c.
References __current_tty_active.
| int get_active_tty | ( | ) |
Definition at line 253 of file tty.c.
References __current_tty_active.
| dentry_ptr get_active_tty_dentry | ( | ) |
Definition at line 255 of file tty.c.
References __current_tty_active, and __tty_dentry.
Referenced by tty_check_and_flush(), and tty_input_handler().
| dentry_ptr get_tty_dentry | ( | int | tty | ) |
| void start_tty | ( | ) |
Definition at line 246 of file tty.c.
References clear_screen(), and console_set_pos().
Referenced by __attribute__().
| void tty_check_and_flush | ( | ) |
Definition at line 259 of file tty.c.
References __current_tty_active, do_scroll(), get_active_tty_dentry(), LOG2_INFO, putc(), putc_utf8(), utf8_char_len(), dentry::vnode, vnode::vnode_private, and width.
Referenced by char_write().
| uint32_t head |
Definition at line 10 of file tty.h.
Referenced by call_rcu(), char_read(), console_flush(), dentry_free_rcu(), llist_add_tail(), llist_init(), reserve_slot(), reserve_slot(), serial2_flush(), VirtioGpu::virtio_gpu_send_command(), VirtioGpu::virtq_add_buf(), and vxAllocScheduler().
| spinlock_t input_lock |
| uint32_t rows |
Definition at line 4 of file tty.h.
Referenced by do_scroll().
| uint32_t tail |
Definition at line 11 of file tty.h.
Referenced by char_write(), console_flush(), create_process(), reserve_slot(), reserve_slot(), and serial2_flush().