Changeset d0ca4c5 in mainline
- Timestamp:
- 2013-12-31T03:35:15Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7f80313
- Parents:
- f9d9184
- Location:
- uspace/lib/drv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/dev_iface.c
rf9d9184 rd0ca4c5 73 73 }; 74 74 75 remote_iface_t *get_remote_iface(int idx)75 const remote_iface_t *get_remote_iface(int idx) 76 76 { 77 77 assert(is_valid_iface_idx(idx)); … … 80 80 81 81 remote_iface_func_ptr_t 82 get_remote_method( remote_iface_t *rem_iface, sysarg_t iface_method_idx)82 get_remote_method(const remote_iface_t *rem_iface, sysarg_t iface_method_idx) 83 83 { 84 84 if (iface_method_idx >= rem_iface->method_count) -
uspace/lib/drv/generic/driver.c
rf9d9184 rd0ca4c5 413 413 * handling ("remote interface"). 414 414 */ 415 remote_iface_t *rem_iface = get_remote_iface(iface_idx);415 const remote_iface_t *rem_iface = get_remote_iface(iface_idx); 416 416 assert(rem_iface != NULL); 417 417 -
uspace/lib/drv/include/dev_iface.h
rf9d9184 rd0ca4c5 60 60 61 61 typedef struct { 62 remote_iface_t *ifaces[DEV_IFACE_COUNT];62 const remote_iface_t *ifaces[DEV_IFACE_COUNT]; 63 63 } iface_dipatch_table_t; 64 64 65 extern remote_iface_t *get_remote_iface(int);66 extern remote_iface_func_ptr_t get_remote_method( remote_iface_t *, sysarg_t);65 extern const remote_iface_t *get_remote_iface(int); 66 extern remote_iface_func_ptr_t get_remote_method(const remote_iface_t *, sysarg_t); 67 67 68 68
Note:
See TracChangeset
for help on using the changeset viewer.