Subversion Repositories HelenOS

Rev

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

Rev 3150 Rev 3674
Line 325... Line 325...
325
                IPC_GET_ARG2(call));
325
                IPC_GET_ARG2(call));
326
            retval = 0;
326
            retval = 0;
327
            break;
327
            break;
328
        case KBD_PUSHCHAR:
328
        case KBD_PUSHCHAR:
329
            /* got key from keyboard driver */
329
            /* got key from keyboard driver */
330
           
-
 
331
            retval = 0;
330
            retval = 0;
332
            c = IPC_GET_ARG1(call);
331
            c = IPC_GET_ARG1(call);
333
            /* switch to another virtual console */
332
            /* switch to another virtual console */
334
           
333
           
335
            conn = &connections[active_console];
334
            conn = &connections[active_console];
Line 464... Line 463...
464
                    */
463
                    */
465
                    ipc_answer_0(callid, ELIMIT);
464
                    ipc_answer_0(callid, ELIMIT);
466
                }
465
                }
467
                continue;
466
                continue;
468
            }
467
            }
-
 
468
            int ch;
469
            keybuffer_pop(&conn->keybuffer, (int *) &arg1);
469
            keybuffer_pop(&conn->keybuffer, &ch);
-
 
470
            arg1 = ch;
470
            break;
471
            break;
471
        }
472
        }
472
        ipc_answer_2(callid, EOK, arg1, arg2);
473
        ipc_answer_2(callid, EOK, arg1, arg2);
473
    }
474
    }
474
}
475
}