windows-nt/Source/XPSP1/NT/base/busdrv/acpi/driver/amlinew/data.h

98 lines
2.3 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*** data.h - Global Data Definitions
*
* This module contains global data definitions.
*
* Copyright (c) 1996,1997 Microsoft Corporation
* Author: Michael Tsang (MikeTs)
* Created 08/14/96
*
* MODIFICATION HISTORY
*/
#ifndef _DATA_H
#define _DATA_H
#ifdef DEBUG
extern ULONG gdwcMemObjs;
extern ULONG gdwcHPObjs;
extern ULONG gdwcODObjs;
extern ULONG gdwcNSObjs;
extern ULONG gdwcOOObjs;
extern ULONG gdwcBFObjs;
extern ULONG gdwcSDObjs;
extern ULONG gdwcBDObjs;
extern ULONG gdwcPKObjs;
extern ULONG gdwcFUObjs;
extern ULONG gdwcKFObjs;
extern ULONG gdwcFObjs;
extern ULONG gdwcIFObjs;
extern ULONG gdwcORObjs;
extern ULONG gdwcMTObjs;
extern ULONG gdwcEVObjs;
extern ULONG gdwcMEObjs;
extern ULONG gdwcPRObjs;
extern ULONG gdwcPCObjs;
extern ULONG gdwcRSObjs;
extern ULONG gdwcSYObjs;
extern ULONG gdwcPHObjs;
extern ULONG gdwcCRObjs;
extern ULONG gdwGlobalHeapSize;
extern ULONG gdwLocalHeapMax;
extern ULONG gdwLocalStackMax;
extern ULONG gdwGHeapSnapshot;
extern KSPIN_LOCK gdwGHeapSpinLock;
#endif
extern LONG gdwcCTObjs;
extern ULONG gdwcCTObjsMax;
extern KSPIN_LOCK gdwGContextSpinLock;
extern NPAGED_LOOKASIDE_LIST AMLIContextLookAsideList;
#ifdef TRACING
extern PSZ gpszTrigPts;
#endif
extern ULONG gdwfAMLI;
extern ULONG gdwfAMLIInit;
extern ULONG gdwfHacks;
extern ULONG gdwCtxtBlkSize;
extern ULONG gdwGlobalHeapBlkSize;
extern PNSOBJ gpnsNameSpaceRoot;
extern PHEAP gpheapGlobal;
extern PLIST gplistCtxtHead;
extern PLIST gplistObjOwners;
extern PLIST gplistDefuncNSObjs;
extern PRSACCESS gpRSAccessHead;
extern EVHANDLE ghNotify;
extern EVHANDLE ghValidateTable;
extern EVHANDLE ghFatal;
extern EVHANDLE ghGlobalLock;
extern EVHANDLE ghCreate;
extern EVHANDLE ghDestroyObj;
extern CTXTQ gReadyQueue;
extern MUTEX gmutCtxtList;
extern MUTEX gmutOwnerList;
extern MUTEX gmutHeap;
extern ULONG gdwHighestOSVerQueried;
extern PHAL_AMLI_BAD_IO_ADDRESS_LIST gpBadIOAddressList;
extern PULONG gpBadIOErrorLogDoneList;
extern ULONG gOverrideFlags;
extern BOOLEAN gInitTime;
//
// Sleep specific data structures
//
extern MUTEX gmutSleep;
extern KDPC SleepDpc;
extern KTIMER SleepTimer;
extern LIST_ENTRY SleepQueue;
extern PAMLTERM OpcodeTable[256];
extern OPCODEMAP ExOpcodeTable[];
extern AMLTERM atIf, atWhile;
extern AMLTERM atLoad;
/*** Import data
*/
extern PCHAR gpszOSName;
#endif //ifndef _DATA_H