[NTOSKRNL]
Move MmMapMemoryArea to Cc and rename it to CcRosMapVacb

git-svn-id: svn://svn.reactos.org/reactos/trunk@64583 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Refactor CcRosMapVacb a bit

git-svn-id: svn://svn.reactos.org/reactos/trunk@64584 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Small impovement to NtFreeVirtualMemory to make things clearer

git-svn-id: svn://svn.reactos.org/reactos/trunk@64585 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Move acquisition of PFN lock into MmAllocPage and MmDereferencePage

git-svn-id: svn://svn.reactos.org/reactos/trunk@64586 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path

git-svn-id: svn://svn.reactos.org/reactos/trunk@64587 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory

git-svn-id: svn://svn.reactos.org/reactos/trunk@64588 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Implement MiInsertVadEx, replacing duplicated code from NtAllocateVirtualMemory and MiMapViewOfDataSection

git-svn-id: svn://svn.reactos.org/reactos/trunk@64589 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
- Add missing dereference on failure in MiMapViewOfDataSection
- Simplify some code

git-svn-id: svn://svn.reactos.org/reactos/trunk@64590 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
- Improve the random address base code in MiCreatePebOrTeb to actually make sense and not rely on retarded hacks implicitly hardcoding the PEB size in pages into the random value generation.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64591 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Lock the workingset before inserting a node into the address space in MiInsertVad

git-svn-id: svn://svn.reactos.org/reactos/trunk@64592 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Modify MiCreatePebOrTeb to use MiInsertVadEx instead of doing everything "by hand". No, this does not "change Windows behavior". The TEB creation works exactly as before, and the only difference in the PEB creation is that if the first attempt fails, we will no longer try again from the top of the address space. But since this cannot fail in the first place, at least not due to the VA range not being free, another attempt would be pointless anyway!

git-svn-id: svn://svn.reactos.org/reactos/trunk@64593 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Move calculation of commit charge to MiInsertVadEx.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64594 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Fix a status code

git-svn-id: svn://svn.reactos.org/reactos/trunk@64595 97493ccd-5924-5043-b1f5-66cb403b36ce
[CMAKE/MSVC]
* We don't need to set /implib, we generate our own.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64597 97493ccd-5924-5043-b1f5-66cb403b36ce
[RSAENH]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk@64598 97493ccd-5924-5043-b1f5-66cb403b36ce
[RSAENH_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk@64599 97493ccd-5924-5043-b1f5-66cb403b36ce
[SCHANNEL]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk@64600 97493ccd-5924-5043-b1f5-66cb403b36ce
[SCRRUN]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk@64601 97493ccd-5924-5043-b1f5-66cb403b36ce
[SCRRUN_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk@64602 97493ccd-5924-5043-b1f5-66cb403b36ce
[SHDOCVW]
* Sync with Wine 1.7.27.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk@64603 97493ccd-5924-5043-b1f5-66cb403b36ce