Changeset 4e78236 in mainline for uspace/lib/drv/generic/dev_iface.c
- Timestamp:
- 2011-05-24T19:10:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d7c72db
- Parents:
- e7079cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/dev_iface.c
re7079cf r4e78236 46 46 #include "remote_pci.h" 47 47 48 #include <stdio.h> 49 48 50 static iface_dipatch_table_t remote_ifaces = { 49 51 .ifaces = { … … 59 61 remote_iface_t *get_remote_iface(int idx) 60 62 { 63 printf("get_remote_iface(): idx: %d\n", idx); 61 64 assert(is_valid_iface_idx(idx)); 65 printf("remote iface: %p\n", remote_ifaces.ifaces[idx]); 66 67 printf("remote_usbhid_iface ptr: %p\n", &remote_usbhid_iface); 68 62 69 return remote_ifaces.ifaces[idx]; 63 70 } … … 66 73 get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx) 67 74 { 75 printf("remote iface: %p\n", rem_iface); 76 printf("Method count: %d\n", rem_iface->method_count); 68 77 if (iface_method_idx >= rem_iface->method_count) { 69 78 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.