Changes in uspace/srv/bd/rd/rd.c [135486d:4802dd7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/rd/rd.c
r135486d r4802dd7 68 68 static const size_t block_size = 512; 69 69 70 static int rd_open(bd_srv s_t *, bd_srv_t *);70 static int rd_open(bd_srv_t *); 71 71 static int rd_close(bd_srv_t *); 72 72 static int rd_read_blocks(bd_srv_t *, aoff64_t, size_t, void *, size_t); … … 93 93 }; 94 94 95 static bd_srv s_t bd_srvs;95 static bd_srv_t bd_srv; 96 96 97 97 static void rd_client_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg) 98 98 { 99 bd_conn(iid, icall, &bd_srv s);99 bd_conn(iid, icall, &bd_srv); 100 100 } 101 101 102 102 /** Open device. */ 103 static int rd_open(bd_srv s_t *bds, bd_srv_t *bd)103 static int rd_open(bd_srv_t *bd) 104 104 { 105 105 return EOK; … … 175 175 (void *) addr_phys, size); 176 176 177 bd_srv s_init(&bd_srvs);178 bd_srv s.ops = &rd_bd_ops;177 bd_srv_init(&bd_srv); 178 bd_srv.ops = &rd_bd_ops; 179 179 180 180 async_set_client_connection(rd_client_conn);
Note:
See TracChangeset
for help on using the changeset viewer.