Thomas Faber [Sun, 12 Oct 2014 11:23:05 +0000 (11:23 +0000)]
[EVENTLOG]
- In ElfGetLogHandleEntryByHandle, actually verify the validity of the handle by traversing the log handle list. Fixes crash in advapi32_winetest:eventlog (double close).
- Minor style improvements to ElfDeleteEventLogHandle
CORE-8621 #resolve
svn path=/trunk/; revision=64689
Thomas Faber [Sun, 12 Oct 2014 06:21:22 +0000 (06:21 +0000)]
[FDEBUG]
- Fix build
svn path=/trunk/; revision=64688
Hermès Bélusca-Maïto [Sun, 12 Oct 2014 00:10:44 +0000 (00:10 +0000)]
[FAST486]
- fastcall'ize some functions,
- code formatting.
svn path=/trunk/; revision=64687
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 23:12:30 +0000 (23:12 +0000)]
[FAST486]
- In order to always check for opcode handler being NULL, replace the only NULL handler by a non-NULL one that handles the invalid opcodes.
- To quickly retrieve opcode numbers, add their numbers in regard to their handlers.
svn path=/trunk/; revision=64686
Thomas Faber [Sat, 11 Oct 2014 23:07:04 +0000 (23:07 +0000)]
[NTOS:KE]
- Make fastfail exception noncontinuable
CORE-8419
svn path=/trunk/; revision=64685
Amine Khaldi [Sat, 11 Oct 2014 19:43:36 +0000 (19:43 +0000)]
[README.WINE]
* Mark extrac32 and expand as synced with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64684
Amine Khaldi [Sat, 11 Oct 2014 19:06:53 +0000 (19:06 +0000)]
[WORDPAD]
* Fix an inconsistency between resource compilers.
svn path=/trunk/; revision=64683
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 18:40:08 +0000 (18:40 +0000)]
errm... proper commenting.
svn path=/trunk/; revision=64682
Amine Khaldi [Sat, 11 Oct 2014 18:39:41 +0000 (18:39 +0000)]
[WORDPAD]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64681
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 18:35:23 +0000 (18:35 +0000)]
[FAST486]
Use a more performant CountLeadingZeros64 version from Timo (tested by Thomas), and disable the MSVC-specific one until you find a version that works, and is supported for any CPU.
svn path=/trunk/; revision=64680
Pierre Schweitzer [Sat, 11 Oct 2014 18:03:48 +0000 (18:03 +0000)]
[NTFS]
Addendum to r64678
svn path=/trunk/; revision=64679
Pierre Schweitzer [Sat, 11 Oct 2014 18:00:46 +0000 (18:00 +0000)]
[NTFS]
Return found FCB on successful file opening
svn path=/trunk/; revision=64678
Aleksandar Andrejevic [Sat, 11 Oct 2014 16:57:33 +0000 (16:57 +0000)]
[FAST486]
CountLeadingZeros64 shouldn't loop forever if "Value" is 0.
svn path=/trunk/; revision=64677
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 16:25:45 +0000 (16:25 +0000)]
[FAST486]: fixes for CountLeadingZeros64:
- remove extra ';'
- This is (x)>0xff.... not >=
- Use Timo inline function.
svn path=/trunk/; revision=64676
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 16:00:31 +0000 (16:00 +0000)]
Revert revision 64673 (as long as our FPU is not fully implemented, do not hint apps to use our FPU, but instead their simulated one if they have one). Fixes QBasic-compiled apps (amongst others...)
svn path=/trunk/; revision=64675
Aleksandar Andrejevic [Sat, 11 Oct 2014 15:42:00 +0000 (15:42 +0000)]
[FAST486]
Use intrinsics to count the leading zeros when possible.
Add FPU data to Fast486DumpState.
svn path=/trunk/; revision=64674
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 15:39:18 +0000 (15:39 +0000)]
[NTVDM]: we have a FPU.
svn path=/trunk/; revision=64673
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 15:28:21 +0000 (15:28 +0000)]
[FAST486]: group Fast486GetIntVector and Fast486InterruptInternal calls into Fast486PerformInterrupt and use it in the code.
svn path=/trunk/; revision=64672
Aleksandar Andrejevic [Sat, 11 Oct 2014 14:40:53 +0000 (14:40 +0000)]
[FAST486]
Revert the previous fix and fix it again, but properly.
svn path=/trunk/; revision=64671
Thomas Faber [Sat, 11 Oct 2014 14:34:56 +0000 (14:34 +0000)]
[ROSAUTOTEST]
- Do not duplicate console output in StringOut if forcePrint = false
ROSTESTS-144
svn path=/trunk/; revision=64670
Aleksandar Andrejevic [Sat, 11 Oct 2014 14:34:31 +0000 (14:34 +0000)]
[FAST486]
Fix the 6-bit sub-opcode numbers for opcode 0xDB.
svn path=/trunk/; revision=64669
Aleksandar Andrejevic [Sat, 11 Oct 2014 14:03:17 +0000 (14:03 +0000)]
[FAST486]
Save and restore the prefix flags in Fast486InterruptInternal instead of hacking around this
everywhere else.
svn path=/trunk/; revision=64668
Amine Khaldi [Sat, 11 Oct 2014 13:43:02 +0000 (13:43 +0000)]
[NTOS]
* Set the base address to 0x00800000 only in gdb mode, otherwise use the correct one.
svn path=/trunk/; revision=64667
Amine Khaldi [Sat, 11 Oct 2014 13:36:08 +0000 (13:36 +0000)]
[CMAKE/BASEADDRESS]
* Take the dwarf builds (NO_ROSSYM on) into account when assigning base addresses.
* Dedicated to V.
svn path=/trunk/; revision=64666
Thomas Faber [Sat, 11 Oct 2014 13:15:10 +0000 (13:15 +0000)]
[NTOS:KE]
- Implement KiRaiseSecurityCheckFailure[Handler] to handle int 0x29 (__fastfail). Based on patch by Timo Kreuzer.
(Yes, this is a Windows 8 feature. However all it does is improve the debugging experience, and we have a need for that)
CORE-8419
svn path=/trunk/; revision=64665
Timo Kreuzer [Sat, 11 Oct 2014 12:40:24 +0000 (12:40 +0000)]
[RTL/NTOSKRNL]
Rename AVL tree functions with macros when included from Mm. This is necessary since the compiler might chose to not inline these functions (and does so on MSVC debug builds) yet only generate one instance of the function, where 2 different versions are required. This caused RtlAvlTree functions to fail on MSVC builds, since they were calling the functions compiled for Mm AVL trees!
svn path=/trunk/; revision=64664
Thomas Faber [Sat, 11 Oct 2014 12:39:50 +0000 (12:39 +0000)]
[APPLICATIONS]
- Remove broken casts
svn path=/trunk/; revision=64663
Thomas Faber [Sat, 11 Oct 2014 12:34:25 +0000 (12:34 +0000)]
[USER32][SCRNSAVE]
- Remove broken casts
svn path=/trunk/; revision=64662
Thomas Faber [Sat, 11 Oct 2014 12:13:27 +0000 (12:13 +0000)]
[CONSRV]
- Fix buffer overflows
svn path=/trunk/; revision=64661
Thomas Faber [Sat, 11 Oct 2014 11:14:33 +0000 (11:14 +0000)]
[MPLAY32]
- Fix broken casts
svn path=/trunk/; revision=64660
Timo Kreuzer [Sat, 11 Oct 2014 10:26:45 +0000 (10:26 +0000)]
[WSHTCPIP]
Fix a bug that manifests in an ASSERT on MSVC builds
svn path=/trunk/; revision=64659
Timo Kreuzer [Sat, 11 Oct 2014 08:52:33 +0000 (08:52 +0000)]
[NTDLL]
Don't assert that the caller of exported APIs passes correct parameters.
svn path=/trunk/; revision=64658
James Tabor [Sat, 11 Oct 2014 05:34:30 +0000 (05:34 +0000)]
[Win32k]
- Patch by Matteo Bruni : Don't overflow the buffer in GetGlyphOutline.
svn path=/trunk/; revision=64657
Aleksandar Andrejevic [Fri, 10 Oct 2014 23:07:14 +0000 (23:07 +0000)]
[FAST486]
Update the copyright year.
Implement the first batch of FPU instructions. These are still experimental.
svn path=/trunk/; revision=64656
Amine Khaldi [Fri, 10 Oct 2014 11:41:31 +0000 (11:41 +0000)]
[MSIEXEC]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64655
Amine Khaldi [Fri, 10 Oct 2014 11:38:00 +0000 (11:38 +0000)]
[RPCSS]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64654
Amine Khaldi [Fri, 10 Oct 2014 11:18:49 +0000 (11:18 +0000)]
[WINHLP32]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64653
Amine Khaldi [Fri, 10 Oct 2014 11:17:12 +0000 (11:17 +0000)]
[XCOPY]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64652
Amine Khaldi [Fri, 10 Oct 2014 11:16:02 +0000 (11:16 +0000)]
[README.WINE]
* Forgot to mark wmic in my previous commit.
CORE-8540
svn path=/trunk/; revision=64651
Jérôme Gardou [Fri, 10 Oct 2014 09:55:54 +0000 (09:55 +0000)]
[ADVAPI32]
- CreateProcessAsUser: properly kill the created process on failure case.
svn path=/trunk/; revision=64650
Amine Khaldi [Thu, 9 Oct 2014 13:06:27 +0000 (13:06 +0000)]
[WMIC]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64649
Amine Khaldi [Thu, 9 Oct 2014 13:03:36 +0000 (13:03 +0000)]
[TASKKILL]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64648
Amine Khaldi [Thu, 9 Oct 2014 12:56:53 +0000 (12:56 +0000)]
[REG]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64647
Amine Khaldi [Thu, 9 Oct 2014 12:45:51 +0000 (12:45 +0000)]
[INETCPL]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64645
Amine Khaldi [Thu, 9 Oct 2014 11:13:31 +0000 (11:13 +0000)]
[README.WINE]
* Mark some dlls as synced with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64644
Amine Khaldi [Thu, 9 Oct 2014 11:12:38 +0000 (11:12 +0000)]
[WININET]
* Update resource files.
CORE-8540
svn path=/trunk/; revision=64643
Amine Khaldi [Thu, 9 Oct 2014 11:11:26 +0000 (11:11 +0000)]
[MSVIDC32]
* Improve header inclusions in resource files.
svn path=/trunk/; revision=64642
Amine Khaldi [Thu, 9 Oct 2014 11:09:58 +0000 (11:09 +0000)]
[MAPI32]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64641
Amine Khaldi [Thu, 9 Oct 2014 11:09:02 +0000 (11:09 +0000)]
[LOCALUI]
* Improve header inclusions in resource files.
svn path=/trunk/; revision=64640
Amine Khaldi [Thu, 9 Oct 2014 11:07:09 +0000 (11:07 +0000)]
[LOCALSPL]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64639
Amine Khaldi [Thu, 9 Oct 2014 11:06:02 +0000 (11:06 +0000)]
[ICCVID]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64638
Amine Khaldi [Thu, 9 Oct 2014 11:05:02 +0000 (11:05 +0000)]
[CRYPTDLG]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64637
Amine Khaldi [Thu, 9 Oct 2014 11:03:45 +0000 (11:03 +0000)]
[CRYPTDLG]
* Don't assign ordinals to Dll{Register,Unregister}Server() exports.
svn path=/trunk/; revision=64636
Amine Khaldi [Thu, 9 Oct 2014 11:02:04 +0000 (11:02 +0000)]
[CRYPT32]
* Update a couple resource files.
CORE-8540
svn path=/trunk/; revision=64635
Amine Khaldi [Thu, 9 Oct 2014 11:00:21 +0000 (11:00 +0000)]
[CREDUI]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64634
Amine Khaldi [Thu, 9 Oct 2014 10:58:48 +0000 (10:58 +0000)]
[AVIFIL32]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64633
Amine Khaldi [Thu, 9 Oct 2014 10:57:10 +0000 (10:57 +0000)]
[MINGW/INTRIN]
* Silence a Clang warning about returning from a noreturn function.
CORE-8516
svn path=/trunk/; revision=64632
Jérôme Gardou [Wed, 8 Oct 2014 21:58:10 +0000 (21:58 +0000)]
reapply r64621 aka revert r64628, with various fixes:
[WSHTCPIP]
- Fix swapped function parameters
[TCPIP]
- Re-enable some code which got lost because of me being unable to decipher this indentation mess.
svn path=/trunk/; revision=64629
Jérôme Gardou [Wed, 8 Oct 2014 21:16:00 +0000 (21:16 +0000)]
Revert r64621.
It breaks internet connections.
svn path=/trunk/; revision=64628
Amine Khaldi [Wed, 8 Oct 2014 20:04:18 +0000 (20:04 +0000)]
[XMLLITE_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64627
Amine Khaldi [Wed, 8 Oct 2014 20:02:37 +0000 (20:02 +0000)]
[XMLLITE]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64626
Pierre Schweitzer [Wed, 8 Oct 2014 20:02:09 +0000 (20:02 +0000)]
[NTFS]
Hello, please don't leak memory.
Cheers.
Spotted by Thomas
svn path=/trunk/; revision=64625
Amine Khaldi [Wed, 8 Oct 2014 19:57:11 +0000 (19:57 +0000)]
[WLDAP32]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64624
Amine Khaldi [Wed, 8 Oct 2014 19:51:36 +0000 (19:51 +0000)]
[WINTRUST_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64623
Amine Khaldi [Wed, 8 Oct 2014 19:51:13 +0000 (19:51 +0000)]
[WINTRUST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64622
Jérôme Gardou [Wed, 8 Oct 2014 19:50:38 +0000 (19:50 +0000)]
[WSHTCPIP]
- Implement IPPROTO_TCP:TCP_NODELAY case in WSHSetSocketInformation
[TCPIP]
- Implement setting TCP_SOCKET_NODELAY connection property.
svn path=/trunk/; revision=64621
Jérôme Gardou [Wed, 8 Oct 2014 19:50:23 +0000 (19:50 +0000)]
[PSDK]
- Fix mismatch between DEV_BROADCAST_DEVICEINTERFACE_W and DEV_BROADCAST_DEVICEINTERFACE_A
- Add DEV_BROADCAST_HANDLE structure definition
svn path=/trunk/; revision=64620
Jérôme Gardou [Wed, 8 Oct 2014 19:50:14 +0000 (19:50 +0000)]
[NTOS/SE]
- Correctly reference/dereference token object when the set token is already in use.
svn path=/trunk/; revision=64619
Pierre Schweitzer [Wed, 8 Oct 2014 19:45:33 +0000 (19:45 +0000)]
[NTFS]
- Add missing defines about file attributes
- Implement NtfsFCBIsDirectory()
Source: http://bos.asmhackers.net/docs/filesystems/ntfs/filename.html
svn path=/trunk/; revision=64618
Pierre Schweitzer [Wed, 8 Oct 2014 19:32:21 +0000 (19:32 +0000)]
[NTFS]
- Add a directory entry into FCB which will be a copy of the $FILE_NAME attribute of the FILE record. Though, it won't contain the name itself (in the FCB instead), so keep first char NULL and length 0.
- Implement its support (which requires opening the FILE record 5 first) for root FCB creation.
svn path=/trunk/; revision=64617
Amine Khaldi [Wed, 8 Oct 2014 19:32:14 +0000 (19:32 +0000)]
[WINDOWSCODECS_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64616
Amine Khaldi [Wed, 8 Oct 2014 19:30:33 +0000 (19:30 +0000)]
[WINDOWSCODECS]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64615
Pierre Schweitzer [Wed, 8 Oct 2014 19:25:00 +0000 (19:25 +0000)]
[NTFS]
ReadFileRecord() returns a NTSTATUS
svn path=/trunk/; revision=64614
Amine Khaldi [Wed, 8 Oct 2014 19:19:01 +0000 (19:19 +0000)]
[PSDK]
* Update iads.idl.
CORE-8540
svn path=/trunk/; revision=64613
Amine Khaldi [Wed, 8 Oct 2014 19:18:00 +0000 (19:18 +0000)]
[WBEMPROX_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64612
Amine Khaldi [Wed, 8 Oct 2014 19:17:38 +0000 (19:17 +0000)]
[WBEMPROX]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64611
Pierre Schweitzer [Wed, 8 Oct 2014 19:12:48 +0000 (19:12 +0000)]
[NTFS]
- Remove magic value usage in NtfsDumpFileAttributes()
- Implement GetFileNameFromRecord() which returns the $FILE_NAME attribute from a FILE record
- On record lookup, also return the MFT index of the found record
- Finally implement NtfsMakeFCBFromDirEntry() which allows creating a FCB from a dir entry. It is still incomplete though, it doesn't copy any data yet from the entry
svn path=/trunk/; revision=64610
Amine Khaldi [Wed, 8 Oct 2014 19:03:40 +0000 (19:03 +0000)]
[VBSCRIPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64609
Amine Khaldi [Wed, 8 Oct 2014 19:03:07 +0000 (19:03 +0000)]
[VBSCRIPT]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64608
Amine Khaldi [Wed, 8 Oct 2014 18:56:31 +0000 (18:56 +0000)]
[USP10_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64607
Amine Khaldi [Wed, 8 Oct 2014 18:56:19 +0000 (18:56 +0000)]
[USP10]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64606
Amine Khaldi [Wed, 8 Oct 2014 18:47:38 +0000 (18:47 +0000)]
[STI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64605
Amine Khaldi [Wed, 8 Oct 2014 18:42:31 +0000 (18:42 +0000)]
[SHDOCVW_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64604
Amine Khaldi [Wed, 8 Oct 2014 18:42:09 +0000 (18:42 +0000)]
[SHDOCVW]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64603
Amine Khaldi [Wed, 8 Oct 2014 18:04:21 +0000 (18:04 +0000)]
[SCRRUN_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64602
Amine Khaldi [Wed, 8 Oct 2014 18:03:53 +0000 (18:03 +0000)]
[SCRRUN]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64601
Amine Khaldi [Wed, 8 Oct 2014 18:02:25 +0000 (18:02 +0000)]
[SCHANNEL]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64600
Amine Khaldi [Wed, 8 Oct 2014 18:01:39 +0000 (18:01 +0000)]
[RSAENH_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64599
Amine Khaldi [Wed, 8 Oct 2014 18:01:22 +0000 (18:01 +0000)]
[RSAENH]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64598
Amine Khaldi [Wed, 8 Oct 2014 17:55:55 +0000 (17:55 +0000)]
[CMAKE/MSVC]
* We don't need to set /implib, we generate our own.
svn path=/trunk/; revision=64597
Timo Kreuzer [Wed, 8 Oct 2014 07:38:56 +0000 (07:38 +0000)]
[NTOSKRNL]
Fix a status code
svn path=/trunk/; revision=64595
Timo Kreuzer [Wed, 8 Oct 2014 00:32:03 +0000 (00:32 +0000)]
[NTOSKRNL]
Move calculation of commit charge to MiInsertVadEx.
svn path=/trunk/; revision=64594
Timo Kreuzer [Wed, 8 Oct 2014 00:31:49 +0000 (00:31 +0000)]
[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!
svn path=/trunk/; revision=64593
Timo Kreuzer [Wed, 8 Oct 2014 00:31:43 +0000 (00:31 +0000)]
[NTOSKRNL]
Lock the workingset before inserting a node into the address space in MiInsertVad
svn path=/trunk/; revision=64592
Timo Kreuzer [Wed, 8 Oct 2014 00:31:35 +0000 (00:31 +0000)]
[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.
svn path=/trunk/; revision=64591
Timo Kreuzer [Wed, 8 Oct 2014 00:31:28 +0000 (00:31 +0000)]
[NTOSKRNL]
- Add missing dereference on failure in MiMapViewOfDataSection
- Simplify some code
svn path=/trunk/; revision=64590
Timo Kreuzer [Wed, 8 Oct 2014 00:31:17 +0000 (00:31 +0000)]
[NTOSKRNL]
Implement MiInsertVadEx, replacing duplicated code from NtAllocateVirtualMemory and MiMapViewOfDataSection
svn path=/trunk/; revision=64589
Timo Kreuzer [Wed, 8 Oct 2014 00:31:09 +0000 (00:31 +0000)]
[NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory
svn path=/trunk/; revision=64588
Timo Kreuzer [Wed, 8 Oct 2014 00:30:57 +0000 (00:30 +0000)]
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path
svn path=/trunk/; revision=64587
Timo Kreuzer [Wed, 8 Oct 2014 00:30:50 +0000 (00:30 +0000)]
[NTOSKRNL]
Move acquisition of PFN lock into MmAllocPage and MmDereferencePage
svn path=/trunk/; revision=64586