Changes in uspace/srv/devman/devman.h [80a96d2:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.h
r80a96d2 r3e6a98c5 36 36 37 37 #include <assert.h> 38 #include < bool.h>38 #include <stdbool.h> 39 39 #include <dirent.h> 40 40 #include <str.h> … … 52 52 53 53 #define MATCH_EXT ".ma" 54 #define DEVICE_BUCKETS 25655 54 56 55 #define LOC_DEVICE_NAMESPACE "devices" … … 151 150 * Used by the hash table of devices indexed by devman device handles. 152 151 */ 153 link_t devman_dev;152 ht_link_t devman_dev; 154 153 155 154 /** … … 174 173 /** State */ 175 174 fun_state_t state; 175 /** Locked while performing reconfiguration operations */ 176 fibril_mutex_t busy_lock; 176 177 177 178 /** The global unique identifier of the function */ … … 202 203 * Used by the hash table of functions indexed by devman device handles. 203 204 */ 204 link_t devman_fun;205 ht_link_t devman_fun; 205 206 206 207 /** 207 208 * Used by the hash table of functions indexed by service IDs. 208 209 */ 209 link_t loc_fun;210 ht_link_t loc_fun; 210 211 }; 211 212 212 213 213 /** Represents device tree. */ … … 280 280 extern void dev_add_ref(dev_node_t *); 281 281 extern void dev_del_ref(dev_node_t *); 282 282 283 extern dev_node_t *find_dev_node_no_lock(dev_tree_t *tree, 283 284 devman_handle_t handle); … … 291 292 extern void fun_add_ref(fun_node_t *); 292 293 extern void fun_del_ref(fun_node_t *); 294 extern void fun_busy_lock(fun_node_t *); 295 extern void fun_busy_unlock(fun_node_t *); 293 296 extern fun_node_t *find_fun_node_no_lock(dev_tree_t *tree, 294 297 devman_handle_t handle);
Note:
See TracChangeset
for help on using the changeset viewer.