Rev 1647 | Rev 1649 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1647 | Rev 1648 | ||
---|---|---|---|
Line 286... | Line 286... | ||
286 | /* Ignore parameters, the connection is alread opened */ |
286 | /* Ignore parameters, the connection is alread opened */ |
287 | while (1) { |
287 | while (1) { |
288 | callid = async_get_call(&call); |
288 | callid = async_get_call(&call); |
289 | switch (IPC_GET_METHOD(call)) { |
289 | switch (IPC_GET_METHOD(call)) { |
290 | case IPC_M_PHONE_HUNGUP: |
290 | case IPC_M_PHONE_HUNGUP: |
291 | ipc_answer_fast(callid,0,0,0); |
- | |
292 | /* TODO: Handle hangup */ |
291 | /* TODO: Handle hangup */ |
293 | return; |
292 | return; |
294 | case KBD_PUSHCHAR: |
293 | case KBD_PUSHCHAR: |
295 | /* got key from keyboard driver */ |
294 | /* got key from keyboard driver */ |
296 | 295 | ||
Line 366... | Line 365... | ||
366 | while (conn->keyrequest_counter > 0) { |
365 | while (conn->keyrequest_counter > 0) { |
367 | conn->keyrequest_counter--; |
366 | conn->keyrequest_counter--; |
368 | ipc_answer_fast(fifo_pop(conn->keyrequests), ENOENT, 0, 0); |
367 | ipc_answer_fast(fifo_pop(conn->keyrequests), ENOENT, 0, 0); |
369 | break; |
368 | break; |
370 | } |
369 | } |
371 | - | ||
372 | /* Commit hangup */ |
- | |
373 | ipc_answer_fast(callid, 0,0,0); |
- | |
374 | conn->used = 0; |
370 | conn->used = 0; |
375 | return; |
371 | return; |
376 | case CONSOLE_PUTCHAR: |
372 | case CONSOLE_PUTCHAR: |
377 | write_char(consnum, IPC_GET_ARG1(call)); |
373 | write_char(consnum, IPC_GET_ARG1(call)); |
378 | gcons_notify_char(consnum); |
374 | gcons_notify_char(consnum); |