Changeset 818fffe in mainline for uspace/lib/drv
- Timestamp:
- 2011-09-15T18:03:53Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4748038
- Parents:
- c82047d
- Location:
- uspace/lib/drv/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/dev_iface.c
rc82047d r818fffe 46 46 #include "remote_pci.h" 47 47 48 #include <stdio.h>49 50 48 static iface_dipatch_table_t remote_ifaces = { 51 49 .ifaces = { … … 68 66 get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx) 69 67 { 70 if (iface_method_idx >= rem_iface->method_count) {68 if (iface_method_idx >= rem_iface->method_count) 71 69 return NULL; 72 } 73 70 74 71 return rem_iface->methods[iface_method_idx]; 75 72 } -
uspace/lib/drv/generic/driver.c
rc82047d r818fffe 271 271 272 272 devman_handle_t dev_handle = IPC_GET_ARG1(*icall); 273 273 devman_handle_t parent_fun_handle = IPC_GET_ARG2(*icall); 274 274 275 275 ddf_dev_t *dev = create_device();
Note:
See TracChangeset
for help on using the changeset viewer.