Include dependency graph for i8042.c:
Go to the source code of this file.
Defines | |
#define | KBD_ENABLE 0xf4 |
#define | KBD_DISABLE 0xf5 |
#define | KBD_ACK 0xfa |
#define | i8042_SET_COMMAND 0x60 |
#define | i8042_COMMAND 0x49 |
#define | i8042_BUFFER_FULL_MASK 0x01 |
#define | i8042_WAIT_MASK 0x02 |
#define | SPECIAL '?' |
#define | KEY_RELEASE 0x80 |
#define | IGNORE_CODE 0x7f |
#define | PRESSED_SHIFT (1<<0) |
#define | PRESSED_CAPSLOCK (1<<1) |
#define | LOCKED_CAPSLOCK (1<<0) |
#define | ACTIVE_READ_BUFF_SIZE 16 |
Functions | |
static void | key_released (__u8 sc) |
static void | key_pressed (__u8 sc) |
static char | key_read (chardev_t *d) |
SPINLOCK_INITIALIZE (keylock) | |
static void | i8042_suspend (chardev_t *) |
static void | i8042_resume (chardev_t *) |
static void | i8042_interrupt (int n, istate_t *istate) |
static void | i8042_wait (void) |
void | i8042_grab (void) |
void | i8042_release (void) |
void | i8042_init (void) |
static __u8 | active_read_buff_read (void) |
static void | active_read_buff_write (__u8 ch) |
static void | active_read_key_pressed (__u8 sc) |
void | i8042_poll (void) |
Variables | |
static __u8 | active_read_buff [ACTIVE_READ_BUFF_SIZE] |
static volatile int | keyflags |
static volatile int | lockflags |
static chardev_t | kbrd |
static chardev_operations_t | ops |
static char | sc_primary_map [] |
static char | sc_secondary_map [] |
static iroutine | oldvector |
Definition in file i8042.c.