Fabian Maurer
d509b1579e
ntoskrnl: Emulate sti/cli instructions on x86_64.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45521
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Austin English
235f6da846
ntoskrnl.exe: Add IoReleaseRemoveLockAndWaitEx stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43642
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 08:41:36 +02:00
Austin English
af00d2cc1f
ntoskrnl.exe: Add a stub for KeFlushQueuedDpcs.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45448
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 10:09:37 +02:00
Alistair Leslie-Hughes
d6a2f5e238
ntoskrnl.exe/tests: Add KeInitializeTimerEx tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 13:36:55 +02:00
Alexander Morozov
7df543438a
ntoskrnl.exe: Improve KeInitializeTimerEx stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 13:36:53 +02:00
Louis Lenders
37e22ebb33
ntoskrnl.exe: Add stub for IoUnregisterPlugPlayNotification.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 11:03:06 +02:00
Derek Lesho
bccadc0d28
ntoskrnl: Have MmIsAddressValid use IsBadReadPtr.
...
Signed-off-by: Derek Lesho <dereklesho52@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 19:45:37 +02:00
Alex Henrie
bc4624c740
ntoskrnl: Add SeSinglePrivilegeCheck stub.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Michael Müller
3f4af3afce
ntdll: Add stub for RtlIpv6StringToAddressExW.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-14 12:11:48 +02:00
André Hentschel
e637a6f0bf
ntoskrnl.exe/tests: Don't test functions directly when reporting GetLastError().
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 00:16:09 +02:00
Zebediah Figura
09a39230c2
ntoskrnl/tests: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 10:29:55 +02:00
Zebediah Figura
fb365b10e6
ntoskrnl.exe/tests: Add a simple test for MmMapLockedPagesSpecifyCache().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 10:00:48 +02:00
Zebediah Figura
80f82ee9d7
ntoskrnl.exe/tests: Add a test for IoGetCurrentProcess().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 10:00:46 +02:00
Zebediah Figura
0dc84eada2
ntoskrnl.exe/tests: Also handle ERROR_INVALID_IMAGE_HASH.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 09:56:51 +02:00
Sebastian Lackner
417e542e7a
ntoskrnl.exe/tests: Add test driver.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 12:59:26 +02:00
Alistair Leslie-Hughes
f8f7b46ea4
ntoskrnl: Add FsRtlRegisterFileSystemFilterCallbacks stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-17 17:03:13 +02:00
Alistair Leslie-Hughes
bb74918b23
ntoskrnl: Implement ExInterlockedPushEntrySList.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-16 10:32:00 +02:00
Michael Müller
ae75d6a92b
ntoskrnl: Implement ExInterlockedPopEntrySList.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-16 10:31:56 +02:00
Alistair Leslie-Hughes
b0351a12b1
ntoskrnl: Add ObGetObjectType stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:15:35 +02:00
Alistair Leslie-Hughes
d4c2759a1d
ntoskrnl: Add PsGetProcessId stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:15:21 +02:00
Alistair Leslie-Hughes
ccbefb818a
ntoskrnl: Add ExfUnblockPushLock stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:15:05 +02:00
Alistair Leslie-Hughes
dd7467cc4d
ntoskrnl: Add PsAcquireProcessExitSynchronization/PsReleaseProcessExitSynchronization stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:14:42 +02:00
Gijs Vermeulen
96e4ec81ec
ntoskrnl.exe: Improve IoCreateSynchronizationEvent stub.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:13:57 +02:00
Gijs Vermeulen
db33beb090
ntoskrnl.exe: Improve ObReferenceObjectByHandle stub.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 10:13:48 +02:00
Zebediah Figura
f80b1f45ff
ntdll: Implement _alldvrm() and _aulldvrm().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 18:22:36 +02:00
Alexander Morozov
fec2aadebe
ntoskrnl.exe: Add stubs for ExAcquireFastMutexUnsafe and ExReleaseFastMutexUnsafe.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 18:22:36 +02:00
Alexandre Julliard
ce09790d29
ntoskrnl: Add emulation of CRn and DRn registers on x86-64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 11:46:01 +02:00
Alistair Leslie-Hughes
075cbd3474
ntoskrnl.exe: Implement _chkstk.
...
These are just copied from ntdll.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 10:33:43 +02:00
Alexandre Julliard
f2cb86decb
ntoskrnl: Add prefixes on all C runtime functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 22:58:50 +01:00
Alistair Leslie-Hughes
813c6f3af6
ntoskrnl.exe: Add ObGetFilterVersion stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 19:18:38 +01:00
Alistair Leslie-Hughes
8b0c857c81
ntoskrnl.exe: Add ObUnRegisterCallbacks stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 19:18:28 +01:00
Alistair Leslie-Hughes
6bc12302d9
ntoskrnl.exe: Add ObRegisterCallbacks stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 19:18:21 +01:00
Alistair Leslie-Hughes
882d70fe39
ntoskrnl.exe: Dont forward some msvcrt functions.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 13:24:53 +01:00
Stefan Leichter
535419a2bf
ntdll: Implement RtlCreateRegistryKey.
...
Signed-off-by: Stefan Leichter <sle85276@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-15 14:24:01 +01:00
Christian Costa
0cb9ddb7f5
ntoskrnl.exe: Fix IoReleaseCancelSpinLock argument.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 19:10:54 +01:00
Alexander Morozov
3a82fde6b5
ntoskrnl.exe: Add stub for ObReferenceObjectByPointer.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 19:10:50 +01:00
Louis Lenders
e24af9660a
ntdll: Match NtAllocateUuids signature to Windows 2000 instead of NT4.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 18:00:54 +01:00
Austin English
9566c50a1e
ntoskrnl.exe: Add PsSetCreateProcessNotifyRoutineEx stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 09:15:29 -06:00
Alexandre Julliard
9f103a9e78
ntoskrnl.exe: More general implementation of the CRn and DRn registers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:57 +01:00
Alexandre Julliard
0cbb5d0a14
ntoskrnl.exe: Add a helper function for accessing registers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:57 +01:00
Alexandre Julliard
bf35c2612c
ntoskrnl: Avoid forwarding to ntdll, link directly instead.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 13:47:47 +01:00
Alexandre Julliard
cd1f412d3a
ntoskrnl: Use the magic format string prefix for relay traces.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-25 12:05:40 +01:00
Alex Henrie
71e04aaa38
ntdll: Add stub for RtlIpv4StringToAddressW.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:01:49 +02:00
Michael Müller
e0392c3ba8
ntdll: Fix parameters of RtlIpv4StringToAddressExW.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 11:01:41 +02:00
Alexandre Julliard
e6ff0e6357
ntoskrnl: Mark function that are only called from assembly as hidden.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:48:46 +02:00
Alexandre Julliard
dc63fbf98d
ntdll: Use RtlCaptureContext also in RtlUnwind.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:30 +02:00
Alexandre Julliard
a75e3f734d
ntdll: Call NtRaiseException directly from RtlRaiseException on i386.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 13:54:43 +02:00
Austin English
b3a698e501
ntoskrnl.exe: Add IoCreateNotificationEvent stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 13:48:54 +02:00
Austin English
362ceb2e56
ntoskrnl.exe: Add KeReleaseSpinLock stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 23:21:16 +02:00
Austin English
0c3a2a67a2
ntoskrnl: Add KeAcquireSpinLockRaiseToDpc stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 11:48:30 +02:00