Paul Gofman
|
ec1ea1ea1b
|
ntdll: Call FLS callbacks.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 22:30:05 +02:00 |
Paul Gofman
|
7341f4ad1e
|
ntdll: Zero all FLS slots instances in RtlFlsFree().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 20:44:38 +02:00 |
Paul Gofman
|
4039c5ad47
|
ntdll: Don't use PEB lock for FLS data.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 12:40:30 +02:00 |
Paul Gofman
|
87ea7698ab
|
ntdll: Allocate TEB FLS data in LdrInitializeThunk().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 12:40:30 +02:00 |
Paul Gofman
|
905deff5da
|
ntdll: Reimplement FLS data management on top of up to date structures.
Win10 18132 introduced increased FLS data limit and entirely changed
underlying structure.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 12:40:29 +02:00 |
Paul Gofman
|
36981ad033
|
ntdll: Introduce RtlProcessFlsData() and use it for FLS data destruction.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 12:40:29 +02:00 |
Paul Gofman
|
defcbc8b97
|
kernelbase: Move FlsGetValue() implementation to ntdll.RtlFlsGetValue().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-01 11:43:53 +02:00 |
Paul Gofman
|
e596f4047b
|
kernelbase: Move FlsSetValue() implementation to ntdll.RtlFlsSetValue().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-01 11:43:07 +02:00 |
Paul Gofman
|
0627fa9d92
|
kernelbase: Move FlsFree() implementation to ntdll.RtlFlsFree().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-01 11:43:03 +02:00 |
Paul Gofman
|
c955eee9e8
|
kernelbase: Move FlsAlloc() implementation to ntdll.RtlFlsAlloc().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-01 11:42:58 +02:00 |
Alexandre Julliard
|
c2c330532e
|
ntdll: Call the process entry point through RtlUserThreadStart().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-09-01 16:41:03 +02:00 |
Alexandre Julliard
|
1a9558cf9b
|
ntdll: Call the thread entry point through BaseThreadInitThunk().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-09-01 16:41:03 +02:00 |
Alexandre Julliard
|
2a08e0e290
|
ntdll: Implement KiUserApcDispatcher().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-08-06 19:31:06 +02:00 |
Alexandre Julliard
|
57f419993e
|
ntdll: Use a syscall thunk for NtGetContextThread().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-28 13:51:44 +02:00 |
Alexandre Julliard
|
d41b1c28c3
|
ntdll: Avoid private Unix functions in RtlExitUserThread().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-22 14:22:16 +02:00 |
Alexandre Julliard
|
00e7d50f8b
|
ntdll: Use syscall thunks for thread functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Alexandre Julliard
|
fdb09f4523
|
ntdll: Move the activation context initialization out of NtCreateThreadEx().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-13 21:22:13 +02:00 |
Alexandre Julliard
|
8a169390c9
|
ntdll: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-30 12:25:08 +02:00 |
Alexandre Julliard
|
43be3507c0
|
ntdll: Setup the main thread before initializing ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-29 19:51:47 +02:00 |
Alexandre Julliard
|
f1ff598e2a
|
ntdll: Update the __wine_ldt_copy pointer directly from the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-29 19:51:47 +02:00 |
Alexandre Julliard
|
2334f4e645
|
ntdll: Stop sharing the thread counter with the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-29 19:51:47 +02:00 |
Alexandre Julliard
|
38c78a9682
|
ntdll: Avoid some Unix dependencies.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-29 19:51:47 +02:00 |
Alexandre Julliard
|
438abad27c
|
ntdll: Set the Wine paths environment variables from the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-24 18:31:09 +02:00 |
Alexandre Julliard
|
9b9845e43e
|
ntdll: Move the system information functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-23 20:23:55 +02:00 |
Alexandre Julliard
|
a0b7fb9bb2
|
ntdll: Move the image address initialization to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-18 14:48:15 +02:00 |
Alexandre Julliard
|
2e6a2cf9c6
|
ntdll: Move the WoW64 thread context functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-18 14:48:15 +02:00 |
Alexandre Julliard
|
e84ec36a62
|
ntdll: Move the thread get/set information functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-18 14:48:15 +02:00 |
Alexandre Julliard
|
4d70266274
|
ntdll: Move some more thread functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-09 15:25:52 +02:00 |
Alexandre Julliard
|
2333099c52
|
ntdll: Move signal handlers to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-09 15:25:52 +02:00 |
Alexandre Julliard
|
95e2d05e5d
|
ntdll: Implement NtContinue() in the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-06 15:16:38 +02:00 |
Alexandre Julliard
|
245efd04e1
|
ntdll: Move NtCreateThreadEx() to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-05 16:40:53 +02:00 |
Alexandre Julliard
|
39e7f25e09
|
ntdll: Implement RtlCreateUserThread() on top of NtCreateThreadEx().
Based on a patch by Andrew Wesie.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-05 15:09:53 +02:00 |
Alexandre Julliard
|
ca3ca7b046
|
ntdll: Move the rest of the thread creation code to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-05 14:25:36 +02:00 |
Alexandre Julliard
|
4ffe39573b
|
ntdll: Move mapping of the user shared data to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-04 22:36:38 +02:00 |
Alexandre Julliard
|
cd0c598802
|
ntdll: Consolidate some of the init routines into the init_threading() entry point.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-04 22:36:38 +02:00 |
Alexandre Julliard
|
f1d40d4824
|
ntdll: Move more of the thread exit code to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-03 21:26:47 +02:00 |
Alexandre Julliard
|
35b063a404
|
ntdll: Move the thread creation code to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-03 21:09:13 +02:00 |
Alexandre Julliard
|
be0eb9c92e
|
ntdll: Move the thread startup code to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-03 20:01:16 +02:00 |
Alexandre Julliard
|
c96ef78b6d
|
ntdll: Move the virtual memory functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-02 17:19:12 +02:00 |
Alexandre Julliard
|
7c32b2dd93
|
ntdll: Move NtGetContextThread() implementation to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-02 14:23:21 +02:00 |
Alexandre Julliard
|
ac90898f72
|
ntdll: Move NtSetContextThread() implementation to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-02 14:01:10 +02:00 |
Alexandre Julliard
|
c0319e0eab
|
ntdll: Move server wait functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-01 22:10:28 +02:00 |
Alexandre Julliard
|
3e9f8c87e5
|
ntdll: Move the threading initialization functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-01 22:10:28 +02:00 |
Alexandre Julliard
|
1a743c9af3
|
ntdll: Move fd cache functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-29 20:05:30 +02:00 |
Alexandre Julliard
|
8a63b688ac
|
ntdll: Move server initialization functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-29 20:05:30 +02:00 |
Alexandre Julliard
|
e854ea34cc
|
ntdll: Create user shared data section in the server, and initialize it in wineboot.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-29 16:17:32 +02:00 |
Alexandre Julliard
|
42bd67b576
|
ntdll: Don't call terminate_thread request if not necessary.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-29 16:17:32 +02:00 |
Paul Gofman
|
ca56ef6739
|
ntdll: Fill ActiveGroupCount field in _KUSER_SHARED_DATA.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-25 20:23:31 +02:00 |
Paul Gofman
|
1306bd941b
|
ntdll: Fill ActiveProcessorCount field in _KUSER_SHARED_DATA.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-25 20:23:29 +02:00 |
Alexandre Julliard
|
0936606c38
|
ntdll: Centralize initialization of the user shared data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-21 19:36:52 +02:00 |