André Hentschel
9220772d28
ntdll: Add RtlUnwindEx spec entry for ARM64.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 21:24:26 +02:00
Alexandre Julliard
a9755d286e
ntdll: Implement RtlVirtualUnwind() for ARM64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 12:01:52 +02:00
Steven Bell
d97f33f034
kernel32: Add stub implementation of EnumSystemFirmwareTables.
...
A recent change to the game Everquest adds a call to EnumSystemFirmwareTables.
Signed-off-by: Steven Bell <bell.steven@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 21:29:36 +02:00
Alexandre Julliard
2c73a08655
kernel32: Move some directory functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 16:15:16 +02:00
Alexandre Julliard
05d00276c6
kernel32: Move some module functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 12:46:59 +02:00
Alexandre Julliard
0b45fc4750
kernel32: Move some file name functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 12:46:59 +02:00
Alexandre Julliard
ccf4ca825c
kernel32: Move file handle functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 12:46:59 +02:00
Alexandre Julliard
d8582d97a0
kernel32: Move process/thread attribute list functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 15:24:52 +02:00
Alexandre Julliard
09f588ee69
kernel32: Move some process functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 15:24:52 +02:00
Alexandre Julliard
f2e7e1658b
kernel32: Move more thread functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 14:49:48 +02:00
Alexandre Julliard
c168fd066d
kernel32: Move fiber functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:36 +02:00
Alexandre Julliard
296da1fbb1
kernel32: Move thread pool functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:35 +02:00
Alexandre Julliard
0116660dd8
kernel32: Move thread functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:35 +02:00
Alexandre Julliard
5b5c5df676
kernel32: Move activation context functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard
5129c45982
kernel32: Move resource functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard
aa58676ae0
kernel32: Move wait functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard
bc28ed4c6c
kernel32: Move named pipe functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard
1834d9e9fe
kernel32: Move I/O completion functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:16 +02:00
Alexandre Julliard
9585990a46
kernel32: Move condition variable functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:13 +02:00
Alexandre Julliard
628d4450cd
kernel32: Move file mapping functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:09 +02:00
Alexandre Julliard
aa7f8e930d
kernel32: Move critical section functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:06 +02:00
Alexandre Julliard
d33d05ce27
kernel32: Move timer queue functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:03 +02:00
Alexandre Julliard
8c63d02d5f
kernel32: Move waitable timer functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:59 +02:00
Alexandre Julliard
591266881c
kernel32: Move semaphore functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:56 +02:00
Alexandre Julliard
93a5451152
kernel32: Move mutex functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:53 +02:00
Alexandre Julliard
558e48aafd
kernel32: Move event functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:49 +02:00
Alexandre Julliard
2a455ce049
kernel32: Move lstr* string functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:46 +02:00
Alexandre Julliard
32fdffac42
include: Implement some inline functions in C instead of assembly.
...
This way the same code can be used on all platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:53 +02:00
Huw Davies
13e11d3fcb
kernel32: Move the implementation of GetTickCount() to kernel32.
...
Fixes regression caused by 3e927c4aec
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47265
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +02:00
Manuel Edelmann
bc7e98a1a9
kernel32: Added stub for Set/GetProcessPreferredUILanguages.
...
Signed-off-by: Manuel Edelmann <varris@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:52:38 +02:00
Roman Stingler
e9dad9d733
kernel32: Add stub WerUnregisterRuntimeExceptionModule.
...
Signed-off-by: Roman Stingler <roman.stingler@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:23:17 +02:00
Huw Davies
3e927c4aec
ntdll: Extend NtGetTickCount() to return 64-bits. Forward kernel32 functions to it.
...
Marking the function as DECLSPEC_HOTPATCH to avoid reopening
https://bugs.winehq.org/show_bug.cgi?id=36486 . Even with -fno-PIC,
without DECLSPEC_HOTPATCH the generated code has a pushl at offset 7
that triggers the failure.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 20:54:23 +02:00
Huw Davies
71dc2514c3
kernel32: Forward GetSystemTimeAsFileTime() to NtQuerySystemTime().
...
This relies on FILETIME and LARGE_INTEGER having the same layout.
On an i7-8700 CPU @ 3.20GHz with HZ=1000 it cuts the call cost from
~18ns to ~12ns.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 19:23:48 +02:00
Roman Stingler
52065a31d7
kernel32: Added some Numa stubs.
...
Signed-off-by: Roman Stingler <roman.stingler@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:44:11 +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
Dmitry Timoshkov
f80059544b
kernel32: Add MapUserPhysicalPages stub.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-25 17:28:11 +02:00
Fabian Maurer
28e6fe3782
kernel32: Stub FindFirstStreamW/FindNextStreamW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46934
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
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
André Hentschel
63352b5cce
kernel32: Add forward for RtlInstallFunctionTableCallback on ARM/ARM64.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:22 +02:00
Alexandre Julliard
24721eccac
ntdll: Use the fastcall flag for RtlInterlockedPushListSList.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:29 +01:00
Alistair Leslie-Hughes
941e4f5441
kernel32: Correct GetCurrencyFormatW/A spec entries.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 17:35:14 +01:00
André Hentschel
ee9f2c62d5
kernel32: Implement GetCurrentThreadStackLimits.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46179
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 16:41:47 +01:00
André Hentschel
ebc80ad1c4
ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM64.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46143
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-15 09:57:28 +01:00
André Hentschel
9f7692e2ed
kernel32: Export RtlPcToFileHeader on ARM64.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46144
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 23:11:31 +01:00
Alex Henrie
8fae94c57a
kernel32: Implement GetMaximumProcessorCount.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45961
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 09:56:18 +01:00
Alex Henrie
305597439b
kernel32: Remove duplicate spec file entries.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 09:56:18 +01:00
Zhiyi Zhang
3ebd2f0be3
kernel32: Implement FindStringOrdinal.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46035
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 10:53:50 +01:00
Alexandre Julliard
2769bb1e9b
kernel32: Add CreateProcessAsUserA/W.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-26 21:18:26 +02:00
Alexandre Julliard
cdddf02d0c
kernel32: Implement CreateProcessInternalA/W.
...
Based on a patch by Michael Müller.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-26 13:29:10 +02:00
Nikolay Sivov
7d1cef5409
kernel32: Add GetProcessMitigationPolicy() stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:36:05 +02:00