Changeset fd384d6 in mainline


Ignore:
Timestamp:
2016-12-27T13:08:49Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
73d8600
Parents:
ce5a0f1
Message:

Input should not fiddle with interrupts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/input.c

    rce5a0f1 rfd384d6  
    4242#include <ipc/services.h>
    4343#include <ipc/input.h>
    44 #include <sysinfo.h>
    4544#include <config.h>
    4645#include <stdio.h>
     
    6665#include "input.h"
    6766
    68 bool irc_service = false;
    69 async_sess_t *irc_sess = NULL;
    70 
    7167#define NUM_LAYOUTS  4
    7268
     
    888884        printf("%s: HelenOS input service\n", NAME);
    889885       
    890         sysarg_t obio;
    891        
    892886        list_initialize(&clients);
    893887        list_initialize(&kbd_devs);
     
    895889        list_initialize(&serial_devs);
    896890       
    897         if ((sysinfo_get_value("kbd.cir.obio", &obio) == EOK) && (obio))
    898                 irc_service = true;
    899        
    900         if (irc_service) {
    901                 while (irc_sess == NULL)
    902                         irc_sess = service_connect_blocking(SERVICE_IRC,
    903                             INTERFACE_IRC, 0);
    904         }
    905 
    906891        serial_console = config_get_value("console");
    907892       
Note: See TracChangeset for help on using the changeset viewer.