modified dll/win32/kernel32/misc/actctx.c
modified dll/win32/kernel32/misc/lang.c
C89 compliance
modified dll/win32/kernel32/k32.h
Include <limits.h>
modified dll/win32/kernel32/misc/res.c
Hey Arch, instead of copying and pasting definitions from <wine/list.h>, why don't you include it?
svn path=/trunk/; revision=41560
Explicitly include <pseh/pseh2.h>
modified dll/ntdll/ldr/utils.c
Use ANSI C variadic macros, instead of hacks
ntdll now compiles with Visual C++
svn path=/trunk/; revision=41556
- Check WrapperTable.KdpPrintRoutine.
- Allow to use GDB (/DEBUGPORT=GDB) and have debug output (/DEBUGPORT=COM1) at the same time.
svn path=/trunk/; revision=41534
- Use 7000 for systems with 19MB of RAM or less, 11000 for systems between 19 and 32MB of RAM, and 22000 for systems with more than that.
- Windows will go up to 50000 on server machines, but this is likely not needed now (22000 system PTEs is roughly 100 MB).
- This now affects the calculation of MmNonPagedSystemStart, which is now correct and reflects the nonpaged address space of the system.
- System PTEs are not yet initialized (but their page tables are mapped by the same code which maps nonpaged pool expansion VA page tables).
svn path=/trunk/; revision=41529
- Just supports expansion space for now, not system space.
- Very basic initialization of the accounting structures required.
- Sets up the first two system PTE clusters for the space (the first contains the linkage, the second contains the sizage).
- Called from MiInitializeArmPool.
svn path=/trunk/; revision=41528
- Do some additional accounting to keep track of initial nonpaged pool range and size.
- Create and initialize the free page lists, and free page entries.
- Validate that the initial nonpaged pool address space was properly mapped.
- Validate that the expansion nonpaged pool address space is unmapped, and prepare to map it.
svn path=/trunk/; revision=41527
- Define the nonpaged system address space as done on Windows (see init.c for a brief introduction and source reading materials on this).
- Size up the ARM pool as done on Windows (again, see init.c for documentation on this).
- Create the PDEs for the expansion pool and the initial pool.
- Allocate the pages for the initial pool, and map them.
- Unlike ReactOS, ARM³ does the right thing and uses physically continuous pages.
- Define two new static MEMORY_AREAs for the expansion and initial ARM pool.
- No actual pool code/implementation is available yet, we are just slicing up the address space for now (mhmm... cake!)*.
* There is no cake.
svn path=/trunk/; revision=41525
- It now determines the parameter type based on the key instead of the ParameterType passed by the caller (documented on MSDN)
- It also always sets (*ParameterValue)->ParameterType to NdisParameterInteger when reading an integer or hex integer value (documented on MSDN)
- This will fix miniport drivers that supply a bogus ParameterType value because it is ignored by NDIS on NT
svn path=/trunk/; revision=41521