source: trunk/src/kernel32/globaldata.asm@ 21923

Last change on this file since 21923 was 21916, checked in by dmik, 14 years ago

Merge branch gcc-kmk to trunk.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1;; @file
2; Global DLL data for KERNEL32.DLL.
3;
4; Note: sizes of data variables must be kept in sync with their C declarations!
5;
6
7.386
8 NAME globaldata
9
10SHARED_DGROUP GROUP _GLOBALDATA
11
12_GLOBALDATA SEGMENT DWORD PUBLIC USE32 'DATA'
13
14;
15; heapshared.cpp:
16;
17
18 PUBLIC _sharedHeap
19 PUBLIC _pSharedMem
20 PUBLIC _pageBitmap
21 PUBLIC _refCount
22
23PAGE_SIZE = 4096
24MAX_HEAPSIZE = (2048*1024)
25MAX_HEAPPAGES = (MAX_HEAPSIZE/PAGE_SIZE)
26
27; extern Heap_t sharedHeap; // = 0
28_sharedHeap DD 0
29; extern PVOID pSharedMem; // = NULL
30_pSharedMem DD 0
31; extern BYTE pageBitmap[MAX_HEAPPAGES]; // = {0}
32_pageBitmap DB MAX_HEAPPAGES DUP (0)
33; extern ULONG refCount; // = 0;
34_refCount DD 0
35
36;
37; mmap.h/mmap.cpp:
38;
39 PUBLIC _globalmapcritsect
40 PUBLIC __ZN11Win32MemMap7memmapsE
41
42; extern CRITICAL_SECTION_OS2 globalmapcritsect; // = {0}
43_globalmapcritsect DD 6 DUP (0)
44; /*static*/ Win32MemMap *Win32MemMap::memmaps; // = NULL
45__ZN11Win32MemMap7memmapsE DD 0
46
47_GLOBALDATA ENDS
48
49 END
50
Note: See TracBrowser for help on using the repository browser.