Changeset 411b6a6 in mainline for kernel/genarch/include/kbrd/kbrd.h


Ignore:
Timestamp:
2009-03-07T16:08:40Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4c84368e
Parents:
e06da7e
Message:

Complete emancipation of kernel serial controller drivers (i8042, ns16550 and
z8530). Provide a common keyboard module for PC and Sun keyboards. The serial
line module is still to follow.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/kbrd/kbrd.h

    re06da7e r411b6a6  
    3434 */
    3535
    36 #ifndef KERN_KEY_H_
    37 #define KERN_KEY_H_
     36#ifndef KERN_KBD_H_
     37#define KERN_KBD_H_
    3838
    39 #include <arch/types.h>
    4039#include <console/chardev.h>
    4140
    42 #define KEY_RELEASE     0x80
     41extern chardev_t kbrdin;
    4342
    44 extern chardev_t kbrd;
    45 
    46 extern void key_released(uint8_t sc);
    47 extern void key_pressed(uint8_t sc);
    48 extern uint8_t active_read_buff_read(void);
    49 extern void active_read_buff_write(uint8_t ch);
    50 extern void active_read_key_pressed(uint8_t sc);
     43extern void kbrd_init(chardev_t *);
    5144
    5245#endif
Note: See TracChangeset for help on using the changeset viewer.