Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 622 → Rev 623

/kernel/trunk/arch/ia32/src/drivers/i8042.c
63,7 → 63,7
#define PRESSED_CAPSLOCK (1<<1)
#define LOCKED_CAPSLOCK (1<<0)
 
static spinlock_t keylock; /**< keylock protects keyflags and lockflags. */
SPINLOCK_INITIALIZE(keylock); /**< keylock protects keyflags and lockflags. */
static volatile int keyflags; /**< Tracking of multiple keypresses. */
static volatile int lockflags; /**< Tracking of multiple keys lockings. */
 
243,7 → 243,6
{
exc_register(VECTOR_KBD, "i8042_interrupt", i8042_interrupt);
trap_virtual_enable_irqs(1<<IRQ_KBD);
spinlock_initialize(&keylock, "i8042_lock");
chardev_initialize("i8042_kbd", &kbrd, &ops);
stdin = &kbrd;
}
/kernel/trunk/arch/ia32/src/drivers/ega.c
42,7 → 42,7
* Simple and short. Function for displaying characters and "scrolling".
*/
 
static spinlock_t egalock;
SPINLOCK_INITIALIZE(egalock);
static __u32 ega_cursor;
 
static void ega_putchar(chardev_t *d, const char ch);