Commit Graph

81 Commits

Author SHA1 Message Date
Paul Gofman e36c6f04ce ntdll: Add stub for NtSetDebugFilterState().
Eternal Return benefited from this function present as .spec file
stub which was removed by 52202224d9.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-14 14:18:53 +01:00
Alexandre Julliard 09f2896d95 wow64: Add mapping for NtQuerySystemInformation(SystemExtendedProcessInformation).
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-08 13:20:03 +01:00
Alexandre Julliard cdafebed15 include: Document remaining fields in the SYSTEM_PROCESS_INFORMATION structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-08 13:19:48 +01:00
Brendan Shanks e7afddd2c1 ntdll: Rename THREAD_DESCRIPTION_INFORMATION to THREAD_NAME_INFORMATION.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:40 +01:00
Brendan Shanks 65dd060a67 ntdll: Rename ThreadDescription to ThreadNameInformation.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:40 +01:00
Alexandre Julliard 7165997036 wow64: Add support for user callbacks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Alexandre Julliard be6ccdf51c wow64: Map the parent process handle in NtCreateUserProcess().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-02 20:20:39 +01:00
Alexandre Julliard 111398c364 wow64: Add handler for exceptions happening in 32-bit mode.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:53 +01:00
Alexandre Julliard 971480aacc wow64: Implement Wow64PrepareForException().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:53 +01:00
Jinoh Kang a4ffa1e7e2 ntdll: Implement NtCompareObjects.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-29 23:25:46 +01:00
Zebediah Figura 0e931fa5fd ntdll: Implement NtAlertThreadByThreadId and NtWaitForAlertByThreadId.
These will be used to implement RtlWaitOnAddress() and other in-process
synchronization primitives, as they are on Windows.

These patches went through quite a few revisions in order to ensure that they
had sufficient performance and correctness compared to the current
implementation. I am particularly grateful to Etienne Juvigny and Dmitry
Skvortsov for performing extensive testing.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 16:36:01 +01:00
Alexandre Julliard c1b3d6eb10 ntdll: Add a __wine_unix_spawnvp syscall.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 1649785bec Revert "ntdll: Stub power request APIs."
This reverts commit ca2b701249.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51741
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-10 23:21:21 +02:00
Alexandre Julliard e9cfc97d46 Revert "ntdll: Add a Wine-specific class in NtQueryVirtualMemory to retrieve the init functions of a module."
This reverts commits e5339ecbc6 and
18408b18f3.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51596
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-10 20:22:11 +02:00
Alexandre Julliard 3a5b926384 wow64: Load wow64win.dll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 11:34:35 +02:00
Alexandre Julliard 40673153b4 wow64: Patch the Wow64Transition pointer in all loaded modules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 11:31:41 +02:00
Alexandre Julliard 0afbbabcd9 wow64: Add support for multiple syscall tables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 11:31:04 +02:00
Alistair Leslie-Hughes 16a7976de9 ntdll: Add NtTraceControl/ZwTraceControl stubs.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 10:49:13 +02:00
Alexandre Julliard 4f4ddb57c2 wow64: Fix function comments.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 17:34:56 +02:00
Alexandre Julliard 2308120334 wow64: Forward 64-bit invalid handle exceptions to the 32-bit guest.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 17:33:56 +02:00
Alexandre Julliard e30b56b1a3 wow64: Add a thunk for the NtRaiseException syscall.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 16:07:25 +02:00
Alexandre Julliard e309bad98c include: Add a private header for Unix libraries definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-12 17:30:21 +02:00
Alexandre Julliard 8347c686e9 wow64: Add thunks for the Unix library syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-10 18:09:50 +02:00
Alexandre Julliard 2aea336837 wow64: Add thunks for ioctl/fsctl syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-05 20:43:28 +02:00
Alexandre Julliard 4f0d8b697b wow64: Add thunks for a few misc syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-04 18:13:11 +02:00
Alexandre Julliard 477478f79c wow64: Implement Wow64ApcRoutine().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-04 18:13:11 +02:00
Alexandre Julliard ae21ddb024 wow64: Add support for jumping to 32-bit code in Wow64LdrpInitialize().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-04 18:13:11 +02:00
Alexandre Julliard 9f24bc44bc wow64: Make the syscall dispatcher point to the wow64cpu syscall wrapper.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-04 14:27:24 +02:00
Alexandre Julliard e5339ecbc6 ntdll: Add a Wine-specific class in NtQueryVirtualMemory to retrieve the init functions of a module.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-03 23:41:05 +02:00
Alexandre Julliard c6373abc10 ntdll: Update the MEMORY_INFORMATION_CLASS enumeration.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-03 23:41:05 +02:00
Alexandre Julliard 8fed1c6809 wow64: Add a thunk for the wine_server_call() syscall.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-02 22:57:38 +02:00
Alexandre Julliard 580ad3898b wow64: Add thunks for the wine_nt_to_unix_file_name and wine_unix_to_nt_file_name syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-02 22:57:38 +02:00
Alexandre Julliard e145a06c46 wow64: Add thunks for the system information query syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-02 22:57:38 +02:00
Alexandre Julliard e028401d08 wow64: Add thunks for a number of system syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-30 13:19:03 +02:00
Alexandre Julliard 595039be05 wow64: Add thunks for the job object query/set information syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-30 13:05:53 +02:00
Alexandre Julliard 1aa5d8c9b8 wow64: Add thunks for the token query/set information syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-30 12:56:32 +02:00
Alexandre Julliard 19cdc3497c wow64: Add thunks for a number of security syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-29 15:40:40 +02:00
Alexandre Julliard dce59f595b wow64: Add thunks for the registry notification syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-29 15:33:55 +02:00
Alexandre Julliard ba74c5c698 wow64: Add thunks for the process/thread set information syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-29 15:33:55 +02:00
Alexandre Julliard ebb4d3887b wow64: Add thunks for the process/thread query information syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-29 15:33:48 +02:00
Alexandre Julliard 6159b12330 wow64: Add thunks for the process/thread control syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-29 15:23:27 +02:00
Alexandre Julliard 34addf6dfe wow64: Add thunks for the process/thread creation syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-29 15:23:27 +02:00
Alexandre Julliard 90e1907ded wow64: Add support for file system redirection.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard fdd4594554 wow64: Add thunks for some misc file creation syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard 011ce0b2ad wow64: Add thunks for the file async I/O syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard c12abcc2d8 wow64: Add thunks for the file set information syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard f1d888413f wow64: Add thunks for the file query information syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 18:16:50 +02:00
Alexandre Julliard 668b182920 wow64: Add thunks for the file I/O syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 18:16:50 +02:00
Alexandre Julliard 01ad0993cb wow64: Add thunks for the file creation syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 18:16:50 +02:00