Commit Graph

473 Commits

Author SHA1 Message Date
Alexandre Julliard 21c12ddc64 ntdll: Fix CONTEXT definition for ARM64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:30:01 +01:00
Alexandre Julliard eb337adcc2 ntdll: Fix CONTEXT definition for ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 13:21:31 +01:00
Martin Storsjo 3d3d080688 msvcrt: Implement setjmp/longjmp on aarch64.
Also include the rest of except_*.c (based on except_arm.c) as stubs.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Michael Müller 2ebe679638 server: Implement querying the security label of a security descriptor.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 10:50:54 +02:00
Alexandre Julliard 70d8503d5e include: Add back a typecast that's needed for C++.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:44 +01:00
Alistair Leslie-Hughes d5292b1fcf winnt.h: Implement RtlSecureZeroMemory.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:06 +01:00
Nikolay Sivov c98ec64a9e powrprof: Added PowerDeterminePlatformRole() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 18:41:29 +09:00
Ken Thomases 7501942008 ntdll: For Mac 64-bit, poke the TEB address to %gs:0x30 and re-enable the inlining of NtCurrentTeb().
64-bit Windows apps have hard-coded accesses to %gs:0x30 baked into them.  They
need to find the TEB self pointer there.

Technically, the gsbase register and the memory it points to belong to the
pthread implementation on macOS.  It's used for the pthread TLS implementation.
However, study of the sources and experimentation reveal that TLS slot 6
(offset 0x30) is not currently used.  Furthermore, Apple has promised to not
use that slot in the future.  So, we hijack it for our purposes.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:01 +09:00
Alexandre Julliard 1ddc636051 server: Store the section flags separately from the protection.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 14:20:02 +09:00
Hadrien Boizard 03840373ef include: Add file notification flags.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 17:08:26 +09:00
Hadrien Boizard 221b23bf48 include: Add missing FILE_ATTRIBUTE flags.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-04 13:36:50 +09:00
Sebastian Lackner eb5f4b86d5 include: Add definition for TP_CALLBACK_ENVIRON_V3.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:31 +09:00
Francois Gouget 947fd6e6f9 include: Don't use the visibility attribute on Solaris.
It is not supported and mostly ignored but can still break linking with
static libraries.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-07 13:21:52 +09:00
Paul Gofman 98d5c4a90f mscoree: Call native DllEntryPoint when it is defined in COR header.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 14:41:00 +09:00
Nikolay Sivov 75286b0ac7 include: Fix a couple of logical processor info structures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:17:52 +09:00
Hans Leidekker 3a771b6066 advapi32: Add well-known SID WinBuiltinAnyPackageSid. 2015-08-26 23:15:26 +09:00
Alistair Leslie-Hughes 0174a6fc1d include: Add more WELL_KNOWN_SID_TYPE values. 2015-08-21 14:33:12 +09:00
Dmitry Timoshkov 770e15eef1 include: Add support for NtCurrentTeb and PSDK compiler in 64-bit mode. 2015-07-14 14:39:42 +09:00
Sebastian Lackner 025ea11dc4 ntdll/tests: Add tests for RtlCompressBuffer. 2015-07-09 17:34:37 +09:00
André Hentschel 8d4917e865 include: Add IMAGE_LOAD_CONFIG_DIRECTORY64 definition. 2015-06-24 15:37:02 +09:00
André Hentschel bd1f7ef186 include: Rename 64-bit PState to 32-bit Cpsr on ARM64. 2015-06-15 14:51:33 +09:00
Sebastian Lackner 5204d89dc9 kernel32/tests: Add tests for virtual memory alignment behaviour.
AT_ROUND_TO_PAGE is only available on 32-bit non-wow64 systems.
2015-06-08 15:33:59 +09:00
André Hentschel 29c47defe6 winedump: Add more image debug types. 2015-05-28 14:20:57 +09:00
André Hentschel 8e0164bd26 include: Add more ARM64 CV constants. 2015-05-28 14:20:55 +09:00
André Hentschel cc95ba7ed2 include: Add more defines related to ARM64. 2015-05-21 14:23:42 +09:00
Hans Leidekker 985e226c07 advapi32: Support parsing mandatory label ACE strings. 2015-04-17 14:53:13 +09:00
Andrew Cook ecd41d1de7 server: Implement job limit flags. 2015-04-03 00:33:29 +09:00
Charles Davis 97bda9a05f ntdll: Support 64-bit Mac OS. 2015-02-06 22:35:17 +09:00
Sebastian Lackner 0114be0978 kernel32: Process DBG_RIPEXCEPTION events like regular exceptions. 2014-06-23 10:18:39 +02:00
Sebastian Lackner 1b3d67aace kernel32: Raise DBG_PRINTEXCEPTION_C exception in OutputDebugStringA. 2014-06-17 10:58:28 +02:00
Michael Müller 97c3bb040e ntdll: Stub TokenAppContainerSid in NtQueryInformationToken. 2014-06-12 18:13:19 +02:00
Huw Davies 76fca0f953 include: Add a couple of new win 8 access rights. 2014-05-07 18:57:32 +02:00
Sebastian Lackner 4d8edf7612 ntdll: Implement RtlInstallFunctionTableCallback on x86_64. 2014-04-08 19:23:14 +02:00
Dmitry Timoshkov 4dff2e7157 include: Fix a typo in _MSC_VER. 2014-03-24 11:46:41 +01:00
Dmitry Timoshkov 383f7ba002 server: Add THREAD_[SET|QUERY]_LIMITED_INFORMATION to generic access mappings and appropriately change THREAD_ALL_ACCESS. 2014-02-06 17:08:33 +01:00
Dmitry Timoshkov a0b08adbe4 server: Add PROCESS_QUERY_LIMITED_INFORMATION to GENERIC_EXECUTE access mapping and appropriately change PROCESS_ALL_ACCESS. 2014-02-06 17:08:32 +01:00
Marcus Meissner cef12abd4f kernel32: Thread pool definitions and prototypes. 2014-02-04 11:14:23 +01:00
Dmitry Timoshkov bfb4f28dc5 ntdll: Implement NtQuerySemaphore/SemaphoreBasicInformation. 2013-12-26 16:51:07 +01:00
André Hentschel fd01828903 include: Add more ARM processor feature flags. 2013-11-11 17:06:46 +01:00
Dmitry Timoshkov ebc7dcc630 include: Redefine security privilege names without using TEXT macro. 2013-10-21 20:23:54 +02:00
Alexandre Julliard a804cc711b jscript: Use the official Windows constant for MAXLONGLONG. 2013-10-14 17:26:14 +02:00
Andrew Cook 868890fb72 include: Add types for SetInformationJobObject. 2013-10-14 10:47:46 +02:00
André Hentschel e99e9d8d82 winebuild: Update IMAGE_FILE_MACHINE_ARM64.
According to pecoff 8.3.
2013-09-26 10:45:10 +02:00
André Hentschel d9a6deff4b winedump: Add and use IMAGE_DELAYLOAD_DESCRIPTOR. 2013-09-09 22:10:00 +02:00
Alexandre Julliard fcb3e60332 ntdll: Implement the RunOnce functions. 2013-08-28 22:27:31 +02:00
Detlef Riekenberg f8971d0342 include: Add missing InitOnce / RtlRunOnce prototypes. 2013-05-24 11:03:19 +02:00
Dmitry Timoshkov 10476af626 include: Make KNONVOLATILE_CONTEXT_POINTERS match PSDK definition. 2013-04-30 11:47:05 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
André Hentschel 3c04958b8a ntdll: Implement RtlLookupFunctionEntry on ARM. 2013-03-25 14:08:42 +01:00
André Hentschel df7f4fb720 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM. 2013-03-25 14:08:32 +01:00
André Hentschel 5d712e7ea0 winedump: Recognize IMAGE_DEBUG_TYPE_CLSID. 2013-03-25 14:07:49 +01:00
Jacek Caban 15448724be winnt.h: Added GCC variant of DEFAULT_UNREACHABLE macro. 2013-03-13 16:27:45 +01:00
André Hentschel 41658157b1 include: Remove SPARC support. 2013-03-11 10:51:27 +01:00
André Hentschel 874d077ca6 msvcrt: Add a new file for the ARM exception handling. 2013-02-27 19:23:45 +01:00
André Hentschel 0993f8bb7b ntdll: Implement IMAGE_REL_BASED_THUMB_MOV32 relocation on ARM. 2013-01-21 12:51:14 +01:00
André Hentschel a431f83ec1 include: Add ARM64 context. 2013-01-16 12:48:27 +01:00
Amine Khaldi 649c982e60 include: Define CONTAINING_RECORD using the standard offsetof. 2012-12-11 15:48:57 +01:00
Amine Khaldi e3dd01a264 include: Define FIELD_OFFSET to the standard offsetof. 2012-12-11 15:48:54 +01:00
Francois Gouget 62d1957850 include: Fix a typo in the declaration of PCUZZTSTR. 2012-10-01 11:59:52 +02:00
Francois Gouget e2f30dc115 include: Add more string types. 2012-09-24 22:27:29 +02:00
Marcus Meissner 7a529328db kernel32: Add condition variables prototypes and tests. 2012-09-11 20:56:37 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Dmitry Timoshkov 9d9496058f include/winnt.h: MSC compiler doesn't support __asm keyword in x86_64 mode. 2012-07-31 10:55:55 +02:00
Detlef Riekenberg d5e5b43cec include: Add TOKEN_MANDATORY_LEVEL definitions. 2012-07-31 10:54:22 +02:00
Nikolay Sivov 04f588e63a kernel32: Some tests for blocking initialization with InitOnceBeginInitialize(). 2012-07-24 13:36:27 +02:00
Nikolay Sivov b1c3c8c898 kernel32: Added InitOnceInitialize() implementation. 2012-07-23 12:53:24 +02:00
Thomas Faber bb95b706cb include: Make IMAGE_COR20_HEADER declaration compatible with PSDK headers. 2012-06-18 11:59:41 +02:00
Detlef Riekenberg 7fbf5c239e kernel32/tests: Accept higher PRODUCT_* values. 2012-06-13 21:35:40 +02:00
Detlef Riekenberg 0f4e9ffc22 ntdll: Implement RtlGetProductInfo. 2012-05-31 12:37:24 +02:00
Detlef Riekenberg 02b74d3fd3 ntdll: Implement NtGetCurrentProcessorNumber. 2012-05-21 10:20:25 +02:00
Jacek Caban 76693d52c7 widl: Added support for nameless structs and unions. 2012-05-14 10:29:40 +02:00
Dmitry Timoshkov 64cf2db9a6 include: Define MUTEX_ALL_ACCESS in a PSDK compatible way. 2012-04-18 14:03:12 +02:00
André Hentschel 1de185efba include: Add new ARM defines to winnt.h. 2012-03-28 11:47:51 +02:00
André Hentschel 21b6d994d2 kernel32: Handle LOCALE_NAME_USER_DEFAULT with tests. 2012-03-27 11:55:05 +02:00
Francois Gouget 5f6a8c2b60 include: Move the language and sort macros to winnt.rh. 2011-11-08 09:49:16 +01:00
André Hentschel ed4527a5a9 include: Add some new ARM defines. 2011-10-31 16:46:11 +01:00
André Hentschel d3ad06fb8b include: Clean up some comments. 2011-10-31 16:46:06 +01:00
Michael Stefaniuc 1b2f89e673 include: Add a macro to paper over LP64/LLP64 differences for numeric constants.
Based on an idea by Kai Tietz.
2011-10-27 12:28:44 +02:00
Michael Stefaniuc c5441514bc include: Drop the 'l' modifier from some numeric constants in winnt.h. 2011-10-27 12:25:37 +02:00
Francois Gouget fe9b079286 pdh: Add more Pdh macros and prototypes to the headers. 2011-09-16 17:23:10 +02:00
Alexandre Goujon 94bef59bb2 include: Add more GetVolumeInformation system flags. 2011-08-29 12:08:21 +02:00
Nikolay Sivov 7381858e98 include: Fix definition name. 2011-08-03 14:15:48 +02:00
Jacek Caban d60b53761b winnt.h: Added LOCALE_CUSTOM_* declarations. 2011-08-01 11:13:08 +02:00
Detlef Riekenberg 3fc84d4862 include: Add definitions and declarations for SRW lock. 2011-07-06 11:17:07 +02:00
André Hentschel 2680548086 include: Add PF_XSAVE_ENABLED. 2011-06-06 21:49:20 +02:00
Alexandre Julliard bc26bdea7c include: Undefine the nameless union/struct macros to avoid conflicts with mingw. 2011-05-23 13:16:25 +02:00
Austin English cad8afb8ee kernel32: Add a stub for SetThreadPreferredUILanguages. 2011-04-25 13:03:07 +02:00
Jacek Caban 42874c62a7 winnt.h: Use Common macro for __C89_NAMELESSUNION and __C89_NAMELESSSTRUCT. 2011-01-13 15:22:00 +01:00
Jacek Caban 45be01952a include: Added macros for unions and structs that should remain nameless regardless NONAMELESSUNION/NONAMELESSSTRUCT definition. 2010-12-24 12:04:59 +01:00
André Hentschel d4b26c308e include: Add new suite masks. 2010-12-21 19:47:49 +01:00
André Hentschel e230d88d74 include: Add more well known sid types. 2010-12-05 12:24:49 +01:00
André Hentschel f669272152 include: Add some relocation types. 2010-11-16 21:54:18 +01:00
André Hentschel 0e524aaaea include: Define PROCESSOR_OPTIL (MSIL). 2010-11-04 11:48:37 +01:00
André Hentschel 5f6ea28c99 include: Merge the ia64 ifdefs into one. 2010-11-01 11:32:20 +01:00
André Hentschel 98998cbad5 include: Better detect MIPS architecture. 2010-11-01 11:32:08 +01:00
André Hentschel 6798bc2c8e include: Define PROCESSOR_ARCHITECTURE_IA32_ON_WIN64. 2010-10-27 11:43:44 +02:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Alexandre Julliard 41454fe18b include: Get rid of the non-standard CONTEXT86 type. 2010-10-20 18:37:09 +02:00
André Hentschel 7b1e331523 winedump: Add more subsystem descriptions. 2010-09-20 15:12:20 +02:00
André Hentschel 171c9a5327 ntdll: Add ARM support. 2010-09-20 12:58:44 +02:00