Changeset 26e7d6d in mainline for uspace/srv/bd/file_bd/file_bd.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (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/file_bd/file_bd.c
r3842a955 r26e7d6d 45 45 #include <as.h> 46 46 #include <fibril_synch.h> 47 #include < devmap.h>47 #include <loc.h> 48 48 #include <sys/types.h> 49 49 #include <sys/typefmt.h> … … 61 61 static FILE *img; 62 62 63 static devmap_handle_t devmap_handle;63 static service_id_t service_id; 64 64 static fibril_mutex_t dev_lock; 65 65 … … 117 117 return -1; 118 118 119 rc = devmap_device_register(device_name, &devmap_handle);119 rc = loc_service_register(device_name, &service_id); 120 120 if (rc != EOK) { 121 121 printf(NAME ": Unable to register device '%s'.\n", … … 142 142 long img_size; 143 143 144 rc = devmap_driver_register(NAME, file_bd_connection);144 rc = loc_server_register(NAME, file_bd_connection); 145 145 if (rc < 0) { 146 146 printf(NAME ": Unable to register driver.\n");
Note:
See TracChangeset
for help on using the changeset viewer.