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.

97 lines
2.4 KiB

  1. /*** data.h - Global Data Definitions
  2. *
  3. * This module contains global data definitions.
  4. *
  5. * Copyright (c) 1996,1997 Microsoft Corporation
  6. * Author: Michael Tsang (MikeTs)
  7. * Created 08/14/96
  8. *
  9. * MODIFICATION HISTORY
  10. */
  11. #ifndef _DATA_H
  12. #define _DATA_H
  13. #ifdef DEBUG
  14. extern ULONG gdwcMemObjs;
  15. extern ULONG gdwcHPObjs;
  16. extern ULONG gdwcODObjs;
  17. extern ULONG gdwcNSObjs;
  18. extern ULONG gdwcOOObjs;
  19. extern ULONG gdwcBFObjs;
  20. extern ULONG gdwcSDObjs;
  21. extern ULONG gdwcBDObjs;
  22. extern ULONG gdwcPKObjs;
  23. extern ULONG gdwcFUObjs;
  24. extern ULONG gdwcKFObjs;
  25. extern ULONG gdwcFObjs;
  26. extern ULONG gdwcIFObjs;
  27. extern ULONG gdwcORObjs;
  28. extern ULONG gdwcMTObjs;
  29. extern ULONG gdwcEVObjs;
  30. extern ULONG gdwcMEObjs;
  31. extern ULONG gdwcPRObjs;
  32. extern ULONG gdwcPCObjs;
  33. extern ULONG gdwcRSObjs;
  34. extern ULONG gdwcSYObjs;
  35. extern ULONG gdwcPHObjs;
  36. extern ULONG gdwcCRObjs;
  37. extern ULONG gdwGlobalHeapSize;
  38. extern ULONG gdwLocalHeapMax;
  39. extern ULONG gdwLocalStackMax;
  40. extern ULONG gdwGHeapSnapshot;
  41. extern KSPIN_LOCK gdwGHeapSpinLock;
  42. #endif
  43. extern LONG gdwcCTObjs;
  44. extern ULONG gdwcCTObjsMax;
  45. extern KSPIN_LOCK gdwGContextSpinLock;
  46. extern NPAGED_LOOKASIDE_LIST AMLIContextLookAsideList;
  47. #ifdef TRACING
  48. extern PSZ gpszTrigPts;
  49. #endif
  50. extern ULONG gdwfAMLI;
  51. extern ULONG gdwfAMLIInit;
  52. extern ULONG gdwfHacks;
  53. extern ULONG gdwCtxtBlkSize;
  54. extern ULONG gdwGlobalHeapBlkSize;
  55. extern PNSOBJ gpnsNameSpaceRoot;
  56. extern PHEAP gpheapGlobal;
  57. extern PLIST gplistCtxtHead;
  58. extern PLIST gplistObjOwners;
  59. extern PLIST gplistDefuncNSObjs;
  60. extern PRSACCESS gpRSAccessHead;
  61. extern EVHANDLE ghNotify;
  62. extern EVHANDLE ghValidateTable;
  63. extern EVHANDLE ghFatal;
  64. extern EVHANDLE ghGlobalLock;
  65. extern EVHANDLE ghCreate;
  66. extern EVHANDLE ghDestroyObj;
  67. extern CTXTQ gReadyQueue;
  68. extern MUTEX gmutCtxtList;
  69. extern MUTEX gmutOwnerList;
  70. extern MUTEX gmutHeap;
  71. extern ULONG gdwHighestOSVerQueried;
  72. extern PHAL_AMLI_BAD_IO_ADDRESS_LIST gpBadIOAddressList;
  73. extern PULONG gpBadIOErrorLogDoneList;
  74. extern ULONG gOverrideFlags;
  75. extern BOOLEAN gInitTime;
  76. //
  77. // Sleep specific data structures
  78. //
  79. extern MUTEX gmutSleep;
  80. extern KDPC SleepDpc;
  81. extern KTIMER SleepTimer;
  82. extern LIST_ENTRY SleepQueue;
  83. extern PAMLTERM OpcodeTable[256];
  84. extern OPCODEMAP ExOpcodeTable[];
  85. extern AMLTERM atIf, atWhile;
  86. extern AMLTERM atLoad;
  87. /*** Import data
  88. */
  89. extern PCHAR gpszOSName;
  90. #endif //ifndef _DATA_H