Commit Graph

37 Commits

Author SHA1 Message Date
Alexandre Julliard 0c631ebb23 kernel32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-28 19:38:42 +02:00
Alexandre Julliard c7760ce7a2 kernel32: Remove string.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:14:10 +02:00
Alexandre Julliard 876d7af94e kernel32: Move the psapi functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-06 16:24:24 +02:00
Alexandre Julliard 21876b998c kernel32: Catch stack overflow faults in IsBad*Ptr() functions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48444
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-13 19:41:02 +01:00
Alexandre Julliard 61516e2223 kernel32: Move virtual memory functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-08 22:52:09 +02:00
Louis Lenders fb4116ee02 kernel32: Add K32GetWsChangesEx stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-09 08:23:31 -05:00
Fabian Maurer 63743c3984 kernel32: Partially implement VirtualAllocExNuma.
Ignoring the preferred node should be good enough.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46927
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
Zhiyi Zhang df3dd6612c kernel32: Add DECLSPEC_HOTPATCH to VirtualAllocEx().
Fix Tom Clancy's The Devision uplay version startup crash.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:13:44 +01:00
Alex Henrie b8b946dd0f kernel32: Add DECLSPEC_HOTPATCH to functions patched by libtcmalloc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45199
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 20:59:38 +02:00
Alexandre Julliard c52e3ff249 kernel32: Move the mapping object functions to sync.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:51:31 +01:00
Alexandre Julliard e5c39a565a server: Enforce valid flags for file mappings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Michael Müller 1b26d38095 kernel32: In Win9x mode UnmapViewOfFile requires base address of a mapping.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 22:03:21 +09:00
Jacek Caban f000189b8a kernel32: Make MapViewOfFile and VirtualAlloc hotpatchable.
Both are patched by Firefox.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 20:49:05 +09:00
Francois Gouget 6c4484582b kernel32: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:57:07 +09:00
Jacek Caban e625e86ee1 kernel32: Don't set unconditionally SECTION_QUERY flag in OpenFileMapping.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:52 +09:00
Nikolay Sivov cd220569dd include: Fix IsBad* prototypes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 18:51:44 +09:00
Michael Müller 8eb893f185 kernel32: Allow to pass NULL as old protection in VirtualProtect for Win9x compatibility.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:30 +09:00
Francois Gouget ecc04f6996 kernel32: Remove unneeded NONAMELESSXXX directives. 2015-03-13 00:28:19 +09:00
Dmitry Timoshkov fd9c9a6d03 kernel32: Fix page protection to access mapping performed by CreateFileMapping. 2014-02-10 10:46:52 +01:00
Alexandre Julliard 62f22dd4e3 kernel32: Retrieve the system info from ntdll on startup. 2013-01-09 12:15:22 +01:00
Dmitry Timoshkov 1d01a7ba1e kernel32: Fix access flags to page protection mapping in MapViewOfFileEx. 2012-01-17 11:54:43 +01:00
Dmitry Timoshkov f9bb1b7afd kernel32: Add a test for protections accepted by CreateFileMapping, make it pass under Wine. 2011-11-30 14:56:43 +01:00
Michael Stefaniuc 68f90d9697 kernel32/ntdll: Mark a variable as unused. 2011-10-28 19:10:30 +02:00
Jacek Caban 595521bc95 kernel32: Moved GetWsChanges and InitializeProcessForWsWatch implementations to kernel32. 2011-05-16 16:35:35 +02:00
Jacek Caban 827e852166 kernel32: Moved EnumPageFiles[AW] implementation to kernel32. 2011-05-16 16:35:34 +02:00
Jacek Caban 772da9baae kernel32: Moved GetMappedFileName[AW] stubs to kernel32. 2011-05-13 16:45:21 +02:00
Alexandre Julliard 83c272a258 ntdll: Return STATUS_IMAGE_NOT_AT_BASE when an image mapping has to be relocated. 2010-03-03 20:05:40 +01:00
Alexandre Julliard d5d0738fb9 ntdll: Tweak the file mapping permission checks some more, with tests. 2009-05-19 21:36:05 +02:00
Alexandre Julliard 23be27ef80 kernel32: Added GetWriteWatch and ResetWriteWatch. 2008-11-14 11:02:15 +01:00
Alexandre Julliard 22949d94f0 kernel32: Don't request unneeded access in OpenFileMapping. 2008-11-13 11:49:17 +01:00
Alexandre Julliard b97d63d76f kernel32: Explicitly request execute permission in MapViewOfFile. 2008-11-10 11:09:40 +01:00
Alexandre Julliard 5e2ed6bfe9 ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile. 2008-11-05 20:32:32 +01:00
Vitaliy Margolen c51ca17892 kernel32: Use NULL attributes if name and SA are not not specified. 2008-09-17 10:54:32 +02:00
Alexandre Julliard 3a84cbe742 kernel32: Add support for the execute protection values in CreateFileMappingW. 2008-06-09 19:11:25 +02:00
Alexandre Julliard 9f76085c06 kernel32: File mapping names are case sensitive. 2008-05-21 20:45:11 +02:00
Andrew Talbot 7919badd70 kernel32: Exclude unused headers. 2007-05-07 20:35:07 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00