source: branches/gcc-kmk/src/kernel32/initterm.h@ 21911

Last change on this file since 21911 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.

File size: 1.0 KB
Line 
1/* $Id: initterm.h,v 1.9 2003-02-28 11:32:28 sandervl Exp $ */
2/*
3 * KERNEL32 DLL entry point header
4 *
5 * Copyright 1998 Sander van Leeuwen
6 * Copyright 1998 Peter Fitzsimmons
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12
13#ifndef __INITTERM_H__
14#define __INITTERM_H__
15
16#ifndef PAG_ANY
17 #define PAG_ANY 0x00000400
18#endif
19
20#ifndef QSV_VIRTUALADDRESSLIMIT
21 #define QSV_VIRTUALADDRESSLIMIT 30
22#endif
23
24#ifndef QSV_NUMPROCESSORS
25 #define QSV_NUMPROCESSORS 26
26#endif
27
28void CloseLogFile(); //misc.cpp
29
30extern BOOL fVersionWarp3;
31extern BOOL fInit;
32extern BOOL fWin32k;
33
34/* Tue 03.03.1998: knut */
35
36extern ULONG flAllocMem; /* flag to optimize DosAllocMem to use all the memory on SMP machines */
37extern ULONG ulMaxAddr; /* end of user address space */
38extern char kernel32Path[];
39
40void InitEnvironment(int nrcpus); //initsystem.cpp
41
42//InitDynamicRegistry creates/changes keys that may change (i.e. odin.ini
43//keys that affect windows version)
44void InitDynamicRegistry(); //initsystem.cpp
45
46#endif
Note: See TracBrowser for help on using the repository browser.