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.

88 lines
1.6 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Header Name:
  4. public.h
  5. Abstract:
  6. This header concentrates internal verifier types that need to be available
  7. in the public symbols for debugging reasons.
  8. Author:
  9. Silviu Calinoiu (SilviuC) 12-Mar-2002
  10. Revision History:
  11. --*/
  12. #ifndef _PUBLIC_SYMBOLS_H_
  13. #define _PUBLIC_SYMBOLS_H_
  14. //
  15. // Maximum runtime stack trace size.
  16. //
  17. #define MAX_TRACE_DEPTH 16
  18. typedef struct _AVRF_EXCEPTION_LOG_ENTRY {
  19. HANDLE ThreadId;
  20. ULONG ExceptionCode;
  21. PVOID ExceptionAddress;
  22. PVOID ExceptionRecord;
  23. PVOID ContextRecord;
  24. } AVRF_EXCEPTION_LOG_ENTRY, *PAVRF_EXCEPTION_LOG_ENTRY;
  25. typedef struct _AVRF_THREAD_ENTRY {
  26. LIST_ENTRY HashChain;
  27. HANDLE Id;
  28. PTHREAD_START_ROUTINE Function;
  29. PVOID Parameter;
  30. HANDLE ParentThreadId;
  31. SIZE_T StackSize;
  32. ULONG CreationFlags;
  33. } AVRF_THREAD_ENTRY, * PAVRF_THREAD_ENTRY;
  34. typedef struct _CRITICAL_SECTION_SPLAY_NODE {
  35. RTL_SPLAY_LINKS SplayLinks;
  36. PRTL_CRITICAL_SECTION CriticalSection;
  37. PRTL_CRITICAL_SECTION_DEBUG DebugInfo;
  38. HANDLE EnterThread;
  39. HANDLE WaitThread;
  40. HANDLE TryEnterThread;
  41. HANDLE LeaveThread;
  42. } CRITICAL_SECTION_SPLAY_NODE, *PCRITICAL_SECTION_SPLAY_NODE;
  43. #include "deadlock.h"
  44. typedef struct _AVRF_VSPACE_REGION {
  45. LIST_ENTRY List;
  46. ULONG_PTR Address;
  47. ULONG_PTR Size;
  48. PVOID Trace[MAX_TRACE_DEPTH];
  49. } AVRF_VSPACE_REGION, * PAVRF_VSPACE_REGION;
  50. //
  51. // Other public headers.
  52. //
  53. #include "tracker.h"
  54. #endif // _PUBLIC_SYMBOLS_H_