reactos.git
5 years ago[FAST486]
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

5 years ago[FAST486]
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

5 years ago[NTOS:KE]
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

5 years ago[README.WINE]
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

5 years ago[WORDPAD]
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

5 years agoerrm... proper commenting.
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

5 years ago[WORDPAD]
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

5 years ago[FAST486]
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

5 years ago[NTFS]
Pierre Schweitzer [Sat, 11 Oct 2014 18:03:48 +0000 (18:03 +0000)]
[NTFS]
Addendum to r64678

svn path=/trunk/; revision=64679

5 years ago[NTFS]
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

5 years ago[FAST486]
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

5 years ago[FAST486]: fixes for CountLeadingZeros64:
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

5 years agoRevert revision 64673 (as long as our FPU is not fully implemented, do not hint apps...
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

5 years ago[FAST486]
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

5 years ago[NTVDM]: we have a FPU.
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

5 years ago[FAST486]: group Fast486GetIntVector and Fast486InterruptInternal calls into Fast486P...
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

5 years ago[FAST486]
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

5 years ago[ROSAUTOTEST]
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

5 years ago[FAST486]
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

5 years ago[FAST486]
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

5 years ago[NTOS]
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

5 years ago[CMAKE/BASEADDRESS]
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

5 years ago[NTOS:KE]
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

5 years ago[RTL/NTOSKRNL]
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

5 years ago[APPLICATIONS]
Thomas Faber [Sat, 11 Oct 2014 12:39:50 +0000 (12:39 +0000)]
[APPLICATIONS]
- Remove broken casts

svn path=/trunk/; revision=64663

5 years ago[USER32][SCRNSAVE]
Thomas Faber [Sat, 11 Oct 2014 12:34:25 +0000 (12:34 +0000)]
[USER32][SCRNSAVE]
- Remove broken casts

svn path=/trunk/; revision=64662

5 years ago[CONSRV]
Thomas Faber [Sat, 11 Oct 2014 12:13:27 +0000 (12:13 +0000)]
[CONSRV]
- Fix buffer overflows

svn path=/trunk/; revision=64661

5 years ago[MPLAY32]
Thomas Faber [Sat, 11 Oct 2014 11:14:33 +0000 (11:14 +0000)]
[MPLAY32]
- Fix broken casts

svn path=/trunk/; revision=64660

5 years ago[WSHTCPIP]
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

5 years ago[NTDLL]
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

5 years ago[Win32k]
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

5 years ago[FAST486]
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

5 years ago[MSIEXEC]
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

5 years ago[RPCSS]
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

5 years ago[WINHLP32]
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

5 years ago[XCOPY]
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

5 years ago[README.WINE]
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

5 years ago[ADVAPI32]
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

5 years ago[WMIC]
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

5 years ago[TASKKILL]
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

5 years ago[REG]
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

5 years ago[INETCPL]
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

5 years ago[README.WINE]
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

5 years ago[WININET]
Amine Khaldi [Thu, 9 Oct 2014 11:12:38 +0000 (11:12 +0000)]
[WININET]
* Update resource files.
CORE-8540

svn path=/trunk/; revision=64643

5 years ago[MSVIDC32]
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

5 years ago[MAPI32]
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

5 years ago[LOCALUI]
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

5 years ago[LOCALSPL]
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

5 years ago[ICCVID]
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

5 years ago[CRYPTDLG]
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

5 years ago[CRYPTDLG]
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

5 years ago[CRYPT32]
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

5 years ago[CREDUI]
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

5 years ago[AVIFIL32]
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

5 years ago[MINGW/INTRIN]
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

5 years agoreapply r64621 aka revert r64628, with various fixes:
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

5 years agoRevert r64621.
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

5 years ago[XMLLITE_WINETEST]
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

5 years ago[XMLLITE]
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

5 years ago[NTFS]
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

5 years ago[WLDAP32]
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

5 years ago[WINTRUST_WINETEST]
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

5 years ago[WINTRUST]
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

5 years ago[WSHTCPIP]
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

5 years ago[PSDK]
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

5 years ago[NTOS/SE]
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

5 years ago[NTFS]
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

5 years ago[NTFS]
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

5 years ago[WINDOWSCODECS_WINETEST]
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

5 years ago[WINDOWSCODECS]
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

5 years ago[NTFS]
Pierre Schweitzer [Wed, 8 Oct 2014 19:25:00 +0000 (19:25 +0000)]
[NTFS]
ReadFileRecord() returns a NTSTATUS

svn path=/trunk/; revision=64614

5 years ago[PSDK]
Amine Khaldi [Wed, 8 Oct 2014 19:19:01 +0000 (19:19 +0000)]
[PSDK]
* Update iads.idl.
CORE-8540

svn path=/trunk/; revision=64613

5 years ago[WBEMPROX_WINETEST]
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

5 years ago[WBEMPROX]
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

5 years ago[NTFS]
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

5 years ago[VBSCRIPT_WINETEST]
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

5 years ago[VBSCRIPT]
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

5 years ago[USP10_WINETEST]
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

5 years ago[USP10]
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

5 years ago[STI_WINETEST]
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

5 years ago[SHDOCVW_WINETEST]
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

5 years ago[SHDOCVW]
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

5 years ago[SCRRUN_WINETEST]
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

5 years ago[SCRRUN]
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

5 years ago[SCHANNEL]
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

5 years ago[RSAENH_WINETEST]
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

5 years ago[RSAENH]
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

5 years ago[CMAKE/MSVC]
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

5 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 07:38:56 +0000 (07:38 +0000)]
[NTOSKRNL]
Fix a status code

svn path=/trunk/; revision=64595

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:09 +0000 (00:31 +0000)]
[NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory

svn path=/trunk/; revision=64588

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
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

5 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:37 +0000 (00:30 +0000)]
[NTOSKRNL]
Small impovement to NtFreeVirtualMemory to make things clearer

svn path=/trunk/; revision=64585

5 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:30 +0000 (00:30 +0000)]
[NTOSKRNL]
Refactor CcRosMapVacb a bit

svn path=/trunk/; revision=64584