Subversion Repositories HelenOS

Rev

Rev 4180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4180 Rev 4214
Line 57... Line 57...
57
 *
57
 *
58
 * @param indev Input character device.
58
 * @param indev Input character device.
59
 * @param ch    Character being pushed.
59
 * @param ch    Character being pushed.
60
 *
60
 *
61
 */
61
 */
62
void indev_push_character(indev_t *indev, uint8_t ch)
62
void indev_push_character(indev_t *indev, wchar_t ch)
63
{
63
{
64
    ASSERT(indev);
64
    ASSERT(indev);
65
   
65
   
66
    spinlock_lock(&indev->lock);
66
    spinlock_lock(&indev->lock);
67
    if (indev->counter == INDEV_BUFLEN - 1) {
67
    if (indev->counter == INDEV_BUFLEN - 1) {