Changeset c028b22 in mainline for uspace/srv/bd/gxe_bd/gxe_bd.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/bd/gxe_bd/gxe_bd.c
r4e36219 rc028b22 97 97 98 98 static int gxe_bd_init(void); 99 static void gxe_bd_connection(ipc_callid_t iid, ipc_call_t *icall );99 static void gxe_bd_connection(ipc_callid_t iid, ipc_call_t *icall, void *); 100 100 static int gxe_bd_read_blocks(int disk_id, uint64_t ba, unsigned cnt, 101 101 void *buf); … … 153 153 } 154 154 155 static void gxe_bd_connection(ipc_callid_t iid, ipc_call_t *icall )155 static void gxe_bd_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 156 156 { 157 157 void *fs_va = NULL; … … 201 201 (void) async_share_out_finalize(callid, fs_va); 202 202 203 while ( 1) {203 while (true) { 204 204 callid = async_get_call(&call); 205 205 method = IPC_GET_IMETHOD(call); 206 switch (method) {207 case IPC_M_PHONE_HUNGUP:206 207 if (!method) { 208 208 /* The other side has hung up. */ 209 209 async_answer_0(callid, EOK); 210 210 return; 211 } 212 213 switch (method) { 211 214 case BD_READ_BLOCKS: 212 215 ba = MERGE_LOUP32(IPC_GET_ARG1(call),
Note:
See TracChangeset
for help on using the changeset viewer.