Changeset 41811af in mainline for uspace/srv/bd/rd/rd.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (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/bd/rd/rd.c
r9536e6e r41811af 123 123 while (true) { 124 124 callid = async_get_call(&call); 125 switch (IPC_GET_IMETHOD(call)) {126 case IPC_M_PHONE_HUNGUP:125 126 if (!IPC_GET_IMETHOD(call)) { 127 127 /* 128 128 * The other side has hung up. 129 * Answer the message and exit the fibril.129 * Exit the fibril. 130 130 */ 131 131 async_answer_0(callid, EOK); 132 132 return; 133 } 134 135 switch (IPC_GET_IMETHOD(call)) { 133 136 case BD_READ_BLOCKS: 134 137 ba = MERGE_LOUP32(IPC_GET_ARG1(call), … … 243 246 return false; 244 247 } 245 248 246 249 fibril_rwlock_initialize(&rd_lock); 247 250 … … 258 261 printf("%s: Accepting connections\n", NAME); 259 262 async_manager(); 260 263 261 264 /* Never reached */ 262 265 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.