Changeset 21796 for branches/gcc-kmk/src/kernel32/heapshared.cpp
- Timestamp:
- Nov 8, 2011, 10:19:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/kernel32/heapshared.cpp
r21714 r21796 31 31 #include "dbglocal.h" 32 32 33 #define MAX_HEAPSIZE 33 #define MAX_HEAPSIZE (2048*1024) 34 34 #define MAX_HEAPPAGES (MAX_HEAPSIZE/PAGE_SIZE) 35 35 #define INCR_HEAPSIZE (16*1024) 36 36 37 // Global DLL Data38 #pragma data_seg(_GLOBALDATA)39 Heap_t sharedHeap = 0; 40 static PVOID pSharedMem = NULL; 41 static BYTE pageBitmap[MAX_HEAPPAGES] = {0}; 42 static ULONG refCount = 0; 43 #pragma data_seg() 37 // 38 // Global DLL Data (keep it in sync with globaldata.asm!) 39 // 40 extern Heap_t sharedHeap; // = 0 41 extern PVOID pSharedMem; // = NULL 42 extern BYTE pageBitmap[MAX_HEAPPAGES]; // = {0} 43 extern ULONG refCount; // = 0; 44 44 45 45 static int privateRefCount = 0;
Note:
See TracChangeset
for help on using the changeset viewer.