[MPLAY32]
- Fix broken casts

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64660 97493ccd-5924-5043-b1f5-66cb403b36ce
[CONSRV]
- Fix buffer overflows

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64661 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32][SCRNSAVE]
- Remove broken casts

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64662 97493ccd-5924-5043-b1f5-66cb403b36ce
[APPLICATIONS]
- Remove broken casts

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64663 97493ccd-5924-5043-b1f5-66cb403b36ce
[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!

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64664 97493ccd-5924-5043-b1f5-66cb403b36ce
[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

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64665 97493ccd-5924-5043-b1f5-66cb403b36ce
[CMAKE/BASEADDRESS]
* Take the dwarf builds (NO_ROSSYM on) into account when assigning base addresses.
* Dedicated to V.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64666 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]
* Set the base address to 0x00800000 only in gdb mode, otherwise use the correct one.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64667 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
Save and restore the prefix flags in Fast486InterruptInternal instead of hacking around this
everywhere else.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64668 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
Fix the 6-bit sub-opcode numbers for opcode 0xDB.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64669 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
Revert the previous fix and fix it again, but properly.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64671 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]: group Fast486GetIntVector and Fast486InterruptInternal calls into Fast486PerformInterrupt and use it in the code.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64672 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]: we have a FPU.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64673 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
Use intrinsics to count the leading zeros when possible.
Add FPU data to Fast486DumpState.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64674 97493ccd-5924-5043-b1f5-66cb403b36ce
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...)

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64675 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]: fixes for CountLeadingZeros64:
- remove extra ';'
- This is (x)>0xff.... not >=
- Use Timo inline function.


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64676 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
CountLeadingZeros64 shouldn't loop forever if "Value" is 0.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64677 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTFS]
Return found FCB on successful file opening


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64678 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTFS]
Addendum to r64678


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64679 97493ccd-5924-5043-b1f5-66cb403b36ce
[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.

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