Ignore:
File:
1 edited

Legend:

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

    rbeb83c1 r7348c4b  
    334334                async_get_call(&call);
    335335
    336                 if (!IPC_GET_IMETHOD(call)) {
     336                if (!ipc_get_imethod(&call)) {
    337337                        if (client->sess != NULL) {
    338338                                async_hangup(client->sess);
     
    353353                                async_answer_0(&call, ELIMIT);
    354354                } else {
    355                         switch (IPC_GET_IMETHOD(call)) {
     355                        switch (ipc_get_imethod(&call)) {
    356356                        case INPUT_ACTIVATE:
    357357                                active_client = client;
     
    368368static void kconsole_event_handler(ipc_call_t *call, void *arg)
    369369{
    370         if (IPC_GET_ARG1(*call)) {
     370        if (ipc_get_arg1(call)) {
    371371                /* Kernel console activated */
    372372                active = false;
     
    539539                size_t nread;
    540540
    541                 chardev_read(sdev->chardev, &data, sizeof(data), &nread);
     541                chardev_read(sdev->chardev, &data, sizeof(data), &nread,
     542                    chardev_f_none);
    542543                /* XXX Handle error */
    543544                kbd_push_data(sdev->kdev, data);
     
    629630        kbd_add_dev(&chardev_port, &stty_ctl);
    630631#endif
     632#if defined(UARCH_arm64) && defined(MACHINE_virt)
     633        kbd_add_dev(&chardev_port, &stty_ctl);
     634#endif
    631635        /* Silence warning on abs32le about kbd_add_dev() being unused */
    632636        (void) kbd_add_dev;
Note: See TracChangeset for help on using the changeset viewer.