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