Changeset c028b22 in mainline for uspace/srv/hid/fb/serial_console.c
- Timestamp:
- 2011-07-08T17:01:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc1a727
- Parents:
- 4e36219 (diff), 026793d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/serial_console.c
r4e36219 rc028b22 52 52 #include "serial_console.h" 53 53 54 // FIXME: remove this header 55 #include <kernel/ipc/ipc_methods.h> 56 54 57 #define MAX_CONTROL 20 55 58 … … 312 315 * Main function of the thread serving client connections. 313 316 */ 314 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall )317 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 315 318 { 316 319 keyfield_t *interbuf = NULL; … … 344 347 int retval; 345 348 346 switch (IPC_GET_IMETHOD(call)) { 347 case IPC_M_PHONE_HUNGUP: 349 if (!IPC_GET_IMETHOD(call)) { 348 350 client_connected = 0; 349 351 async_answer_0(callid, EOK); … … 351 353 /* Exit thread */ 352 354 return; 355 } 356 357 switch (IPC_GET_IMETHOD(call)) { 353 358 case IPC_M_SHARE_OUT: 354 359 /* We accept one area for data interchange */
Note:
See TracChangeset
for help on using the changeset viewer.