Source code of Windows XP (NT5)
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.

106 lines
2.0 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1999 - 1999
  3. Module Name:
  4. classkd.h
  5. Abstract:
  6. Debugger Extension header file
  7. Author:
  8. Environment:
  9. Revision History:
  10. --*/
  11. #define BAD_VALUE (ULONG64)-1
  12. VOID
  13. ClassDumpPdo(
  14. ULONG64 Address,
  15. ULONG Detail,
  16. ULONG Depth
  17. );
  18. VOID
  19. ClassDumpFdo(
  20. ULONG64 Address,
  21. ULONG Detail,
  22. ULONG Depth
  23. );
  24. VOID
  25. ClassDumpLocks(
  26. ULONG64 CommonExtension,
  27. ULONG Depth
  28. );
  29. VOID
  30. ClassDumpChildren(
  31. IN ULONG64 Pdo,
  32. IN ULONG Detail,
  33. IN ULONG Depth
  34. );
  35. VOID
  36. ClassDumpCommonExtension(
  37. IN ULONG64 Address,
  38. IN ULONG Detail,
  39. IN ULONG Depth
  40. );
  41. VOID
  42. ClassDumpFdoExtensionExternal(
  43. IN IN ULONG64 FdoExtAddr,
  44. IN ULONG Detail,
  45. IN ULONG Depth
  46. );
  47. VOID
  48. ClassDumpFdoExtensionInternal(
  49. IN ULONG64 FdoDataAddr,
  50. IN ULONG Detail,
  51. IN ULONG Depth
  52. );
  53. BOOLEAN
  54. ClassIsCheckedVersion(
  55. ULONG64 RemoveTrackingSpinlock
  56. );
  57. char *DbgGetIoctlStr(ULONG ioctl);
  58. char *DbgGetScsiOpStr(UCHAR ScsiOp);
  59. char *DbgGetSrbStatusStr(UCHAR SrbStat);
  60. char *DbgGetSenseCodeStr(UCHAR SrbStat, ULONG64 SenseDataAddr);
  61. char *DbgGetAdditionalSenseCodeStr(UCHAR SrbStat, ULONG64 SenseDataAddr);
  62. char *DbgGetAdditionalSenseCodeQualifierStr(UCHAR SrbStat, ULONG64 SenseDataAddr);
  63. char *DbgGetMediaTypeStr(ULONG MediaType);
  64. ULONG64 GetULONGField(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  65. USHORT GetUSHORTField(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  66. UCHAR GetUCHARField(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  67. ULONG64 GetFieldAddr(ULONG64 StructAddr, LPCSTR StructType, LPCSTR FieldName);
  68. ULONG64 GetContainingRecord(ULONG64 FieldAddr, LPCSTR StructType, LPCSTR FieldName);
  69. VOID ClassDumpTransferPacket(
  70. ULONG64 PktAddr,
  71. BOOLEAN DumpPendingPkts,
  72. BOOLEAN DumpFreePkts,
  73. BOOLEAN DumpFullInfo,
  74. ULONG Depth);
  75. VOID ClassDumpTransferPacketLists(ULONG64 FdoDataAddr, ULONG Detail, ULONG Depth);
  76. VOID ClassDumpPrivateErrorLogs(ULONG64 FdoDataAddr, ULONG Detail, ULONG Depth);
  77. extern char *g_genericErrorHelpStr;