Changes in uspace/srv/bd/rd/rd.c [0da4e41:08232ee] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/rd/rd.c
r0da4e41 r08232ee 51 51 #include <align.h> 52 52 #include <async.h> 53 #include <fibril_sync .h>53 #include <fibril_synch.h> 54 54 #include <stdio.h> 55 55 #include <devmap.h> … … 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 /* … … 228 232 229 233 dev_handle_t dev_handle; 230 if (devmap_device_register(" initrd", &dev_handle) != EOK) {234 if (devmap_device_register("bd/initrd", &dev_handle) != EOK) { 231 235 devmap_hangup_phone(DEVMAP_DRIVER); 232 236 printf(NAME ": Unable to register device\n");
Note:
See TracChangeset
for help on using the changeset viewer.