[NTOSKRNL]: Massively cleanup triplicated code that is just a series of macros/inlines.
[NTOSKRNL]: Handle more complex prototype PTE faults that are not just demand-zero.
In my private branch, I can now run ReactOS with *all* pagefile-backed sections running under ARM3 mode.
svn path=/trunk/; revision=57033
- Sync FormatMessage implementation to Wine 1.5.4. Fixes crash in kernel32_winetest:format_msg.
See issue #7217 for more details.
svn path=/trunk/; revision=57031
- Implement CaptureUnicodeStringOrAtom, which handles user mode class names or atoms, and use it in some places.
- Fix a number of format strings
svn path=/trunk/; revision=57023
* Set the attribute before the variable in write_func_param_struct(). Should be sent upstream.
* Initialize in an MSVC compatible way. Should be sent upstream.
[REACTOS/IDLS]
* Use widl instead of midl in MSVC builds.
svn path=/trunk/; revision=57019
- Use trivial Clip object, if NULL one is passed in IntEngAlphaBlend
- In NtGdiDescribePixelFormat allow passing NULL for the output pixel descriptor and copy the result *to* the caller not from the caller.
- Fix some format strings
- Update some annotations
svn path=/trunk/; revision=57013
Partly revert r56995. Firstly it breaks MSVC builds, secondly the stuff doesn't belong into this header. MS headers don't have __fpclassify etc and our headers are not supposed to contain any fancy additions. If you need it for 3rd party code, put it somewhere else.
svn path=/trunk/; revision=57012
[NTOSKRNL]: Set MiSessionSpaceWs address and use where needed.
[NTOSKRNL]: Initialize the session working set, and add support to MiLockWorkingSet and MiUnlockWorkingSet for session WS.
[NTOSKRNL]: Implement MiSessionAddProcess and MiSessionRemoveProcess which does the work required for this.
[NTOSKRNL]: Fix IoGetIrpRequestorProcess.
In my private branch, MmMapViewInSessionSpace is working fine for the user and GDI heaps. Will enable after TestBot tests.
svn path=/trunk/; revision=57011
- pass COLORADJUSTMENT to IntEngStretchBlt
- IntEngStretchBlt, EngStretchBltROP, DrvStretchBltROP always use a source, ASSERT that
- annotate pbrDefaultBrush and psurfDefaultBitmap as _Notnull_
- Don't use uninitialized psoInput in EngStretchBltROP
- Use trivial CLIPOBJ instead of NULL in IntEngStretchBlt
- Always pass a source surface to EngStretchBltROP
svn path=/trunk/; revision=57008
- Fix PREFAST warnings related to printf format strings, empty SEH handler, some possible NULL pointer dereferences, some unchecked return values
svn path=/trunk/; revision=57005
[NTOSKRNL]: Don't assume all prototype PTEs are cached, in fact none are in ReactOS at the moment! This resulted in the wrong hardware caching bits for the PEB/TEB and NLS Data which are using ARM3 section code.
[NTOSKRNL]: Also implement dirty page bit for prototype PTEs.
svn path=/trunk/; revision=57000
* Leverage the object library option provided by CMake 2.8.8+ which will speed up the build even further.
* These wrapping conditions will go away as soon as we ship the new BE.
svn path=/trunk/; revision=56997
- Add some more C99 math functions
- Fix definition of __forceinline and FORCEINLINE for C99
- Fix and add definition of _aligned_malloc and _aligned_free
- Fix definition of is(w)blank, as a C99 function, it is not in msvcrt.dll and has to be implemented in msvcrtex
All of this taken from the mingw-w64 project
svn path=/trunk/; revision=56995
- Partial update of math.h
Someone used to mingw-w64 headers system should look into this, I NEED those C99 functions!
svn path=/trunk/; revision=56989
- Implement MiProtectVirtualMemory for VAD based allocator (it's very similar to the already implemented MiSetProtectionOnSection function). However it still doesn't fully work because support in other functions is missing (failed assertions in MiFlushTbAndCapture).
See issue #7216 for more details.
svn path=/trunk/; revision=56986
- Align the stack on a 16-byte boundary for x86 like any sensible compiler would, anyway. Should fix weird GCC 4.7 behavior.
svn path=/trunk/; revision=56985