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.

100 lines
3.3 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. data.h
  5. Abstract:
  6. Global data definitions for the AFD.SYS Kernel Debugger
  7. Extensions.
  8. Author:
  9. Keith Moore (keithmo) 19-Apr-1995.
  10. Environment:
  11. User Mode.
  12. --*/
  13. #ifndef _DATA_H_
  14. #define _DATA_H_
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. extern WINDBG_EXTENSION_APIS ExtensionApis;
  19. extern ULONG64 STeip;
  20. extern ULONG64 STebp;
  21. extern ULONG64 STesp;
  22. extern ULONG SavedDebugClass, SavedDebugType;
  23. extern ULONG SavedMachineType, SavedMajorVersion, SavedMinorVersion;
  24. extern BOOLEAN StateInitialized;
  25. extern ULONG DebuggerActivationSeqN;
  26. extern BOOL IsCheckedAfd;
  27. extern BOOL IsReferenceDebug;
  28. extern LIST_ENTRY TransportInfoList;
  29. extern ULONG Options;
  30. extern ULONG EntityCount;
  31. extern ULONG64 StartEndpoint;
  32. extern ULONG64 UserProbeAddress;
  33. extern ULONG TicksToMs, TickCount;
  34. extern ULONG AfdBufferOverhead;
  35. extern ULONG AfdStandardAddressLength;
  36. extern ULONG AfdBufferTagSize;
  37. extern LARGE_INTEGER SystemTime, InterruptTime;
  38. extern ULONG DatagramBufferListOffset,
  39. DatagramRecvListOffset,
  40. DatagramPeekListOffset,
  41. RoutingNotifyListOffset,
  42. RequestListOffset,
  43. EventStatusOffset,
  44. ConnectionBufferListOffset,
  45. ConnectionSendListOffset,
  46. ConnectionRecvListOffset,
  47. UnacceptedConnListOffset,
  48. ReturnedConnListOffset,
  49. ListenConnListOffset,
  50. FreeConnListOffset,
  51. PreaccConnListOffset,
  52. ListenIrpListOffset,
  53. SanIrpListOffset,
  54. PollEndpointInfoOffset,
  55. DriverContextOffset,
  56. SendIrpArrayOffset,
  57. FsContextOffset;
  58. extern ULONG EndpointLinkOffset,
  59. ConnectionLinkOffset,
  60. BufferLinkOffset,
  61. AddressEntryLinkOffset,
  62. TransportInfoLinkOffset,
  63. AddressEntryAddressOffset;
  64. extern ULONG ConnRefOffset,
  65. EndpRefOffset,
  66. TPackRefOffset;
  67. extern ULONG RefDebugSize;
  68. extern KDDEBUGGER_DATA64 DebuggerData;
  69. extern CHAR Conditional[MAX_CONDITIONAL_EXPRESSION];
  70. extern SYM_DUMP_PARAM FldParam;
  71. extern CHAR LinkField[MAX_FIELD_CHARS];
  72. extern CHAR ListedType[MAX_FIELD_CHARS];
  73. extern ULONG CppFieldEnd;
  74. extern PDEBUG_CLIENT gClient;
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78. #endif // _DATA_H_