Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. common.h
  5. Abstract:
  6. Environment:
  7. Kernel & user mode
  8. Revision History:
  9. 10-31-00 : created
  10. --*/
  11. #ifndef __COMMON_H__
  12. #define __COMMON_H__
  13. #include <wdm.h>
  14. #include "usb2lib.h"
  15. #include "sched.h"
  16. #include "dbg.h"
  17. typedef struct _USB2LIB_DATA {
  18. PUSB2LIB_DBGPRINT DbgPrint;
  19. PUSB2LIB_DBGBREAK DbgBreak;
  20. } USB2LIB_DATA, *PUSB2LIB_DATA;
  21. typedef struct _USB2LIB_HC_CONTEXT {
  22. ULONG Sig;
  23. HC Hc;
  24. TT DummyTt; // fake TT used for HS endpoints to get to HC struct
  25. } USB2LIB_HC_CONTEXT, *PUSB2LIB_HC_CONTEXT;
  26. typedef struct _USB2LIB_TT_CONTEXT {
  27. ULONG Sig;
  28. TT Tt;
  29. } USB2LIB_TT_CONTEXT, *PUSB2LIB_TT_CONTEXT;
  30. typedef struct _USB2LIB_ENDPOINT_CONTEXT {
  31. ULONG Sig;
  32. PVOID RebalanceContext;
  33. Endpoint Ep;
  34. } USB2LIB_ENDPOINT_CONTEXT, *PUSB2LIB_ENDPOINT_CONTEXT;
  35. extern USB2LIB_DATA LibData;
  36. /*
  37. prototypes
  38. */
  39. #endif /* __COMMON_H__ */