Last change
on this file since 21909 was 21837, checked in by dmik, 14 years ago |
Use pid instead of the ordinal number in log file names.
This in particular fixes the problem when WGSS50 writes to the log
before the ordinal is correctly initialized by KERNEL32 which resulted
into two processes writing to the same log file.
This also guarantees that a subsequent re-run will not vanish the
previous log file which is also useful sometimes.
|
-
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 |
|
---|
10 | SHARED_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 |
|
---|
23 | PAGE_SIZE = 4096
|
---|
24 | MAX_HEAPSIZE = (2048*1024)
|
---|
25 | MAX_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.