~sheosi/helenos/lua

« back to all changes in this revision

Viewing changes to uspace/srv/bd/rd/rd.c

Merged the actual head

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
                case BD_GET_BLOCK_SIZE:
153
153
                        ipc_answer_1(callid, EOK, block_size);
154
154
                        continue;
 
155
                case BD_GET_NUM_BLOCKS:
 
156
                        ipc_answer_2(callid, EOK, LOWER32(rd_size / block_size),
 
157
                            UPPER32(rd_size / block_size));
 
158
                        continue;
155
159
                default:
156
160
                        /*
157
161
                         * The client doesn't speak the same protocol.