Ignore:
Timestamp:
2010-10-25T07:44:02Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ca07cd3
Parents:
7a7bfeb3
Message:

Better debugging support in VHCD

Also, added some missing comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/usb/hcd/virtual/vhcd.h

    r7a7bfeb3 r355f7c2  
    3636#define VHCD_VHCD_H_
    3737
    38 #include <stdio.h>
    39 
    4038#define NAME "hcd-virt"
    4139#define NAMESPACE "usb"
     
    4341#define DEVMAP_PATH NAMESPACE "/" NAME
    4442
    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 }
     43extern int debug_level;
     44void dprintf(int, const char *, ...);
     45void dprintf_inval_call(int, ipc_call_t, ipcarg_t);
    5746
    5847#endif
Note: See TracChangeset for help on using the changeset viewer.