Commit graph

7474 commits

Author SHA1 Message Date
Alexandre Julliard 4e0e623859 ntdll: Generate stub entry points as x86-64 code on ARM64EC.
Partial revert of 220a70bee2.
2024-05-02 09:28:29 +02:00
Alexandre Julliard 6d931c271a ntdll: Build __chkstk as x86-64 code on ARM64EC.
Based on a patch by Jacek Caban.
2024-05-02 09:28:00 +02:00
Paul Gofman deb273a926 ntdll: Implement NtQuerySystemInformation(SystemProcessIdInformation). 2024-05-01 16:54:00 +02:00
Kirill Zhumarin 898ab8dab1 ntdll: Use termios2 for serial when possible. 2024-04-30 22:32:51 +02:00
Paul Gofman d61419d357 ntdll: Store exception reporting flags for debug events. 2024-04-26 23:21:57 +02:00
Paul Gofman b6928d3aee ntdll: Store exception reporting flags on suspend. 2024-04-26 23:21:57 +02:00
Paul Gofman 04a2917f6b ntdll: Store exception reporting flags in server context. 2024-04-26 23:21:57 +02:00
Paul Gofman 547d3a776f ntdll: Set exception reporting flags in NtGetContextThread(). 2024-04-26 23:21:57 +02:00
Paul Gofman e1a816a347 ntdll/tests: Add tests for CONTEXT_EXCEPTION_REQUEST. 2024-04-26 23:21:56 +02:00
Alexandre Julliard 6f4c2b7f5a ntdll/tests: Remove unnecessary shared header.
And remove some duplicate includes.
2024-04-26 11:18:56 +02:00
Paul Gofman e00cbef06d ntdll: Pre-check entry->addr before taking a spin lock in RtlWaitOnAddress(). 2024-04-24 17:14:15 +02:00
Paul Gofman 56d56ec629 ntdll: Remove entries from queue in RtlWakeAddressAll(). 2024-04-24 17:14:15 +02:00
Jacek Caban b87589757b ntdll: Use mangled function names in ARM64EC assembly. 2024-04-18 20:54:25 +02:00
Isaac Marovitz d821ddaa20 ntdll: Implement NtQueueApcThreadEx(). 2024-04-17 22:34:44 +02:00
Paul Gofman 146c263127 ntdll: Return STATUS_NO_YIELD_PERFORMED from NtYieldExecution() on Linux if no yield was performed. 2024-04-17 22:27:32 +02:00
Vijay Kiran Kamuju 04b829e81b ntdll/tests: Add NtQueryInformationProcess(ProcessQuotaLimits) tests.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
2024-04-16 22:09:59 +02:00
Vijay Kiran Kamuju ea4ba2f7de ntdll: Add NtQueryInformationProcess(ProcessQuotaLimits) stub.
Based on a patch by Qian Hong.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44812
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
2024-04-16 22:09:59 +02:00
Paul Gofman 14a51fa446 ntdll: Preserve untouched parts of xstate in set_thread_wow64_context(). 2024-04-09 08:27:01 -05:00
Jacek Caban aa2aa2033c ntdll: Use __ASM_GLOBAL_IMPORT for RtlUnwind.
Avoids importing locally defined symbols on ARM and ARM64, where we call it from winecrt0.
2024-04-01 20:22:52 +02:00
Brendan Shanks abcbd85b7c ntdll: Simplify creation of the server directory. 2024-03-27 22:19:24 +01:00
Paul Gofman bb47eb9f72 ntdll/tests: Add more tests for xstate. 2024-03-26 18:21:06 +01:00
Paul Gofman 29c73ee173 ntdll: Support more xstate features. 2024-03-26 18:20:56 +01:00
Paul Gofman 3dea242677 ntdll: Mind generic xstate masks in server context conversion. 2024-03-26 18:20:56 +01:00
Paul Gofman a9d77d0989 ntdll: Factor out context_to_server() function. 2024-03-26 18:20:56 +01:00
Paul Gofman 25e0a25807 ntdll: Factor out xstate_from_server() function. 2024-03-26 18:20:56 +01:00
Paul Gofman 6bc2c09232 ntdll: Support generic xstate in Unix-side manipulation functions. 2024-03-26 18:20:55 +01:00
Paul Gofman a10da8a42a ntdll: Preserve untouched parts of xstate in NtSetContextThread(). 2024-03-26 18:20:55 +01:00
Paul Gofman 7ae23ad775 ntdll: Only save AVX xstate in wine_syscall_dispatcher. 2024-03-26 18:20:53 +01:00
Alexandre Julliard cf08bbaa0f ntdll: Use a common wrapper to call unwind handlers on x86-64. 2024-03-25 18:05:39 +01:00
Alexandre Julliard 24e9fcac08 ntdll: Use a common wrapper to call exception handlers on x86-64. 2024-03-25 18:05:25 +01:00
Alexandre Julliard 47f94fcf5f ntdll: Copy the context contents instead of the pointer on collided unwind.
Similar to how it's done on ARM platforms.
2024-03-25 18:04:56 +01:00
Paul Gofman 2745228b14 ntdll: Don't use debug info presence to detect critical section global status. 2024-03-22 21:50:46 +01:00
Jinoh Kang a4ef56e1d9 server: Check for DELETE access in NtMakeTemporaryObject(). 2024-03-20 23:16:24 +01:00
Jinoh Kang 25ffa32beb Revert "ntdll/tests: Load NtMakeTemporaryObject() dynamically."
This reverts commit 4fdb45f23f.

NtMakeTemporaryObject() has existed since at least Windows NT 3.10.
2024-03-20 19:00:14 +01:00
Jinoh Kang fa7c837f91 ntdll/tests: Don't import kernel32.RtlPcToFileHeader.
kernel32.RtlPcToFileHeader is an export forwarder to
ntdll.RtlPcToFileHeader and does not exist on Windows 8 or earlier.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56458
2024-03-19 23:02:11 +01:00
Hans Leidekker 4fdb45f23f ntdll/tests: Load NtMakeTemporaryObject() dynamically. 2024-03-19 23:02:11 +01:00
Alexandre Julliard 1bb011f815 ntdll/tests: Update the KiUserExceptionDispatcher test for ARM64EC. 2024-03-19 23:02:11 +01:00
Alexandre Julliard 2c22295233 ntdll/tests: Fix exception address checks in child process on ARM64EC. 2024-03-19 22:26:07 +01:00
Hans Leidekker 498b632899 ntdll/tests: Fix a test failure. 2024-03-15 15:06:37 +01:00
Alexandre Julliard 72fd6e9251 ntdll: Add mappings for more status codes. 2024-03-15 15:06:37 +01:00
Jinoh Kang ce41edab3f ntdll: Implement NtMakePermanentObject. 2024-03-15 15:06:37 +01:00
Jinoh Kang e368515eef server: Generalize server request make_temporary to set_object_permanence.
Required for implementing NtMakePermanentObject().
2024-03-15 15:06:33 +01:00
Jinoh Kang d282208ac3 ntdll/tests: Add tests for NtMakeTemporaryObject. 2024-03-15 08:37:42 +01:00
Jinoh Kang a4ad64dda3 ntdll/tests: Add tests for OBJ_PERMANENT object attribute. 2024-03-15 08:37:39 +01:00
Paul Gofman 8b3944e134 ntdll: Only allocate debug info in critical sections with RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO. 2024-03-14 20:52:33 +01:00
Alexandre Julliard 180bd1044b ntdll: Implement RtlGetCallersAddress. 2024-03-14 18:02:29 +01:00
Alexandre Julliard 92d20c1120 ntdll/tests: Fix a few more test failures on ARM64EC. 2024-03-14 18:02:17 +01:00
Alexandre Julliard 3036dddca4 ntdll/tests: Fix debug register tests on ARM64EC. 2024-03-14 17:19:02 +01:00
Alexandre Julliard 97f07ae211 ntdll/tests: Skip segment register tests on ARM64EC. 2024-03-14 17:19:01 +01:00
Zebediah Figura 3042c7100c ntdll: Assign a primary token in elevate_token().
This fixes Quicken 2020 installation.
2024-03-13 20:59:42 +01:00