Changeset 355f7c2 in mainline for uspace/srv/hw/bus/usb/hcd/virtual/vhcd.h
- Timestamp:
- 2010-10-25T07:44:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca07cd3
- Parents:
- 7a7bfeb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/vhcd.h
r7a7bfeb3 r355f7c2 36 36 #define VHCD_VHCD_H_ 37 37 38 #include <stdio.h>39 40 38 #define NAME "hcd-virt" 41 39 #define NAMESPACE "usb" … … 43 41 #define DEVMAP_PATH NAMESPACE "/" NAME 44 42 45 /** Debugging printf. 46 * @see printf 47 */ 48 static inline void dprintf(const char * format, ...) 49 { 50 printf("%s: ", NAME); 51 va_list args; 52 va_start(args, format); 53 vprintf(format, args); 54 va_end(args); 55 printf("\n"); 56 } 43 extern int debug_level; 44 void dprintf(int, const char *, ...); 45 void dprintf_inval_call(int, ipc_call_t, ipcarg_t); 57 46 58 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.