Turnstone Operating System
|
Keyboard driver. More...
#include <device/kbd.h>
#include <device/mouse.h>
#include <logging.h>
#include <cpu.h>
#include <cpu/task.h>
#include <apic.h>
#include <ports.h>
#include <driver/virtio.h>
#include <driver/virtio_input.h>
#include <memory/paging.h>
#include <strings.h>
#include <device/kbd_scancodes.h>
#include <acpi.h>
#include <time.h>
#include <shell.h>
#include <utils.h>
Functions | |
MODULE ("turnstone.kernel.hw.kbd") | |
void | video_text_print (const char_t *string) |
int8_t | dev_virtio_kbd_isr (interrupt_frame_ext_t *frame) |
int8_t | dev_virtio_kbd_create_queues (virtio_dev_t *vdev) |
int8_t | dev_virtio_mouse_isr (interrupt_frame_ext_t *frame) |
int8_t | dev_virtio_mouse_create_queues (virtio_dev_t *vdev) |
int8_t | dev_virtio_tablet_isr (interrupt_frame_ext_t *frame) |
int8_t | dev_virtio_tablet_create_queues (virtio_dev_t *vdev) |
int8_t | dev_kbd_cleanup_isr (interrupt_frame_ext_t *frame) |
int8_t | dev_kbd_isr (interrupt_frame_ext_t *frame) |
int8_t | kbd_handle_key (wchar_t key, boolean_t pressed) |
int8_t | dev_virtio_kbd_init (void) |
int8_t | kbd_init (void) |
Variables | |
virtio_dev_t * | virtio_kbd = NULL |
virtio_dev_t * | virtio_mouse = NULL |
virtio_dev_t * | virtio_tablet = NULL |
boolean_t | kbd_is_usb = false |
volatile wchar_t | kbd_ps2_tmp = NULL |
uint64_t | shell_task_id |
kbd_state_t | kbd_state = {0, 0, 0, 0, 0} |
int32_t | VIDEO_GRAPHICS_WIDTH |
int32_t | VIDEO_GRAPHICS_HEIGHT |
Keyboard driver.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.