Zebediah Figura
d3b2517c88
ntoskrnl.exe: Implement KeWaitForMultipleObjects().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 13:26:37 +01:00
Aric Stewart
73e448820b
ntoskrnl.exe: Create the device interface symlink in IoSetDeviceInterfaceState().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 16:57:21 +01:00
Michael Stefaniuc
b0bcfabf2d
ntoskrnl.exe: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-15 23:02:01 +01:00
Aric Stewart
9faf36789d
ntoskrnl.exe: Implement IoRegisterDeviceInterface.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 09:56:18 +01:00
Louis Lenders
52ed788838
ntoskrnl.exe: Add stub for KeSetTargetProcessorDpc.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46040
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 21:39:42 +01:00
Austin English
b3252feb3f
ntoskrnl.exe: Add MmCopyVirtualMemory stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-06 10:33:27 +01:00
Austin English
454ba90abf
ntoskrnl.exe: Add PsGetProcessWow64Process stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-06 10:33:25 +01:00
Jactry Zeng
c43030b664
ntoskrnl: Add FsRtlIsNameInExpression stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41039
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-14 12:52:35 +02:00
Huw Davies
9f74c00e06
ntoskrnl: Allow space for the '\0'.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 19:16:44 +02:00
Gijs Vermeulen
2e807d4bf5
ntoskrnl: Add ExReleaseResourceLite stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45800
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-11 11:38:17 +02:00
Dmitry Timoshkov
847fb84d81
ntoskrnl.exe: Add a stub for MmCreateSection.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Zebediah Figura
c18f8e4c32
winedevice: Reimplement (un)loading drivers on top of ZwLoadDriver()/ZwUnloadDriver().
...
We can't implement ZwLoadDriver() on top of StartService(), since the latter
takes the service database lock. Instead simply move the entire body of
create_driver()/unload_driver() into ZwLoadDriver()/ZwUnloadDriver().
Similarly, clean up the list of loaded drivers in ntoskrnl rather than
winedevice.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45084
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:38 +02:00
Alistair Leslie-Hughes
6b3f665787
ntoskrnl.exe: Add DbgQueryDebugFilterState stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45655
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:36 +02:00
Zebediah Figura
6a4be7155d
ntoskrnl.exe: Broadcast WM_DEVICECHANGE when a PnP device is added or removed.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-22 20:02:18 +02:00
Zebediah Figura
ad6845b4af
ntoskrnl.exe: Implement IoSetDeviceInterfaceState().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 16:53:04 +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
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
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
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
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
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
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
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
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
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
Austin English
18c94886d7
ntoskrnl.exe: Add IoReportResourceForDetection stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 19:06:16 +02:00
Sebastian Lackner
1cab71c788
ntoskrnl.exe: Do not use P* types in IoReportResourceUsage.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 19:06:08 +02:00
Austin English
ce9b40d79b
ntoskrnl.exe: Add KeWaitForMultipleObjects stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:26 +01:00
Sebastian Lackner
83b9fdb23b
ntoskrnl.exe: Add KeReleaseInStackQueuedSpinLock stub.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 16:33:39 +01:00
Austin English
f3ccfc092b
ntoskrnl.exe: Add KeAcquireInStackQueuedSpinLock stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 16:33:38 +01:00
Jarkko Korpi
85214c56e3
ntoskrnl: Add IoStopTimer stub.
...
Signed-off-by: Jarkko Korpi <jarkko_korpi@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 22:58:55 +01:00
Austin English
23c95cabf3
ntoskrnl.exe: Add stub KeClearEvent.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 11:05:44 +01:00
Austin English
a8222a0437
ntoskrnl.exe: Add IoCreateFile stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 11:05:27 +01:00
Austin English
9e443e95f2
ntoskrnl.exe: Add KeSetTimerEx stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-07 16:59:45 +01:00
Sebastian Lackner
b466e89311
ntoskrnl.exe: Explicitly set MappedSystemVa for MDLs.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:48 -07:00
Sebastian Lackner
9912ef778f
ntoskrnl.exe: Use MmInitializeMdl in IoAllocateMdl.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:48 -07:00
Sebastian Lackner
eb7ac554d1
ntoskrnl.exe: Add support for METHOD_IN_DIRECT/METHOD_OUT_DIRECT ioctls.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Sebastian Lackner
5789b94f19
ntoskrnl.exe: Defer deallocation of in_buff in dispatch_ioctl.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Sebastian Lackner
02c861306e
ntoskrnl.exe: Do not abuse UserEvent to store event handle.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-14 09:18:28 +02:00
Sebastian Lackner
a0d04a641d
ntoskrnl.exe: Fix management of input/output buffers in dispatch handlers.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-13 09:40:19 +02:00
Sebastian Lackner
e20259bb6e
ntoskrnl.exe: Add support for async close processing.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-13 09:40:13 +02:00
Sebastian Lackner
8d799ea57b
ntoskrnl.exe: Don't transfer back input buffer for IRP_MJ_WRITE requests.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 21:31:36 +02:00
Sebastian Lackner
5400210376
ntoskrnl.exe: Use completion routine to transfer result of IRP back to server.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 09:41:16 +02:00
Sebastian Lackner
14b2a6a190
ntoskrnl.exe: Fix parameters of IoBuildSynchronousFsdRequest in dispatch_flush.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 13:13:41 +02:00
Sebastian Lackner
54c68c6533
ntoskrnl.exe: Remove checks if MajorFunction is NULL.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 13:13:28 +02:00
Sebastian Lackner
d392a01208
ntoskrnl.exe: Fix a copy & paste error in dispatch_close.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 13:12:47 +02:00
Sebastian Lackner
302d86f1a9
ntoskrnl.exe: Return STATUS_INVALID_DEVICE_REQUEST when calling unhandled driver function.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-06 19:17:44 +02:00
Aric Stewart
b8ac3d7684
ntoskrnl.exe: Implement removing plug and play devices.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-21 21:17:20 +09:00
Aric Stewart
2abe557352
ntoskrnl.exe: Implement DevicePropertyEnumeratorName for IoGetDeviceProperty.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-19 23:14:34 +09:00
Aric Stewart
d39d1464f3
ntoskrnl.exe: Send PnP and Power IRPs to plug and play devices.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-19 23:13:10 +09:00
Aric Stewart
e4496a976b
ntoskrnl.exe: Implement loading plug and play devices.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:35:12 +09:00
Jacek Caban
d29e59a145
rbtree.h: Take wine_rb_entry as wine_rb_remove argument type and add new wine_rb_remove_key helper using key.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:01:53 +09:00
Aric Stewart
562ce28d1b
ntoskrnl.exe: Implement IoGetAttachedDevice and IoGetAttachedDeviceReference.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 22:17:06 +09:00
Sebastian Lackner
b1c36e7583
ntoskrnl.exe: Use the same timeout for service startup like in other wine modules.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:28:15 +09:00
Aric Stewart
9f99a045a3
ntoskrnl.exe: Stub IoInvalidateDeviceRelations.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:50 +09:00
Jacek Caban
ccdbc176c0
ntoskrnl.exe: Use static initializer for device_drivers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:38 +09:00
Sebastian Lackner
a7e9fa6253
ntoskrnl.exe: Implement ZwLoadDriver and ZwUnloadDriver based on services API.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 20:09:38 +09:00
Alexander Morozov
2898df50e6
ntoskrnl.exe: Add stub for ObDereferenceObject.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 11:59:38 +09:00
Aric Stewart
6a686d63ad
ntoskrnl.exe: Implement ObReferenceObjectByName but only for loaded drivers.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 13:18:33 -05:00
Sebastian Lackner
272ebf862d
ntoskrnl.exe: Fix leak of ServiceKeyName if DriverInit fails.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 14:56:38 -05:00
Aric Stewart
79cd0d870d
ntoskrnl.exe: Track drivers created with IoCreateDriver.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 14:56:34 -05:00
Francois Gouget
0be7d7fad8
ntoskrnl.exe: Add a trailing '\n' to a FIXME() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 05:30:17 -05:00
Aric Stewart
2ffaaee1cf
ntoskrnl: Build a more intelligent and correct RegistryPath if possible.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:03 +09:00
Austin English
0e5fdf0e00
ntoskrnl.exe: Add IoAttachDevice stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:13 +09:00
Bernhard Übelacker
64aec5d8db
ntoskrnl.exe: Make IoAllocateIrp not crash on negative values.
...
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 13:25:46 +09:00
Sebastian Lackner
6c8f398e48
ntoskrnl.exe: Add missing linebreak to FIXME in KeDelayExecutionThread.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 12:52:54 +09:00
Austin English
c6373260e0
ntoskrnl.exe: Add KeDelayExecutionThread stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 19:15:06 +09:00
Austin English
b1c02353df
ntoskrnl.exe: Add PsRemoveLoadImageNotifyRoutine stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 19:15:06 +09:00
Sebastian Lackner
e177f86939
ntoskrnl.exe: Use debugstr_us() to trace UNICODE_STRING.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 13:40:27 +09:00
Sebastian Lackner
2748d4b771
ntoskrnl.exe: Fix calling convention of ObfReferenceObject.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 13:40:25 +09:00
Sebastian Lackner
be0e86c526
ntoskrnl.exe: Fix calling convention of InterlockedPushEntrySList.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 13:40:19 +09:00
Sebastian Lackner
8ae681101f
ntoskrnl.exe: Fix calling convention of InterlockedPopEntrySList.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 13:40:12 +09:00
Aric Stewart
5dc8dc829a
ntoskrnl.exe: Implement IoGetDeviceProperty for DevicePropertyPhysicalDeviceObjectName.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 22:44:59 +09:00
Qian Hong
f9c80b087f
ntoskrnl.exe: Add PsRemoveCreateThreadNotifyRoutine stub.
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 23:05:45 +09:00
Austin English
0a5f0f7420
ntoskrnl.exe: Add CmRegisterCallback/CmUnRegisterCallback stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:41 +09:00
Austin English
4d08cbf7cb
ntoskrnl.exe: Add ExDeletePagedLookasideList stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:56 +09:00
Austin English
f876b033c2
ntoskrnl.exe: Add ExDeleteNPagedLookasideList stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:56 +09:00
Sebastian Lackner
9f94214ecd
ntoskrnl.exe: Add a stub for ProbeForWrite.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:56 +09:00
Austin English
9191690ca6
ntoskrnl.exe: Add a stub for ProbeForRead.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:55 +09:00
Austin English
d8d759af5b
ntoskrnl.exe: Add ExReleaseResourceForThreadLite stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 20:05:50 +09:00
Austin English
1db28d439e
ntoskrnl.exe: Add ExDeleteResourceLite stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 20:05:12 +09:00
Austin English
08384597fb
ntoskrnl.exe: Add ExAcquireResourceExclusiveLite stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 20:05:08 +09:00
Sebastian Lackner
408b7ea6b3
server: Remove unused device manager argument from set_irp_result call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 11:02:32 +09:00
Austin English
1a45f75ded
ntoskrnl.exe: Add KeEnterCriticalRegion/KeLeaveCriticalRegion stubs.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
2015-10-01 16:31:02 +09:00
Erich E. Hoover
68f23a1138
ntoskrnl.exe: Improve IoGetDeviceObjectPointer stub to appease SecuROM 5.x.
2015-07-13 14:47:51 +09:00
Alexandre Julliard
b45395f589
ntoskrnl: Forward IRP_MJ_CREATE and IRP_MJ_CLOSE requests to the loaded driver.
2015-07-09 14:48:37 +09:00
Alexandre Julliard
bf26950194
server: Pass the file instead of the device pointer in all IRP requests.
2015-07-09 14:48:34 +09:00
Alexandre Julliard
13499a3d11
ntoskrnl: Implement creation and destruction of file objects.
2015-07-09 14:48:14 +09:00
Alexandre Julliard
d087ea6798
server: Pass the device client pointer as part of the IRP parameters.
2015-07-09 14:38:18 +09:00
Sebastian Lackner
0b06d4c4a3
ntoskrnl: Add initial code to emulate memory access to USER_SHARED_DATA on x86_64.
2015-06-19 20:15:12 +09:00
Alexandre Julliard
a38aaf4365
ntoskrnl: Add support for flush requests.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
2cd717a604
ntoskrnl: Add support for read and write requests.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
a78f8f298a
ntoskrnl: Flesh out IoBuildSynchronousFsdRequest implementation.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
311f786286
server: Add a common structure to store irp parameters.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
fc4a94c0e2
server: Return irp size separately from the output data.
2015-05-06 08:44:30 +09:00
Alexandre Julliard
165dd1ff36
server: Rename ioctl to irp to allow supporting various types of I/O requests.
2015-05-06 08:44:29 +09:00
Sebastian Lackner
01c2af446a
ntoskrnl: Avoid repeated FIXME messages in PsLookupProcessByProcessId.
2015-04-06 18:06:21 +09:00
Alexandre Julliard
c40239d989
ntoskrnl: Allow running user APC inside the device manager loop.
2015-03-13 21:57:24 +09:00
Alexandre Julliard
4c1da45567
ntoskrnl: Allow IoCompleteRequest to report completion asynchronously.
2015-03-11 22:48:22 +09:00
Alexandre Julliard
a85d23bfc3
ntoskrnl: Get rid of the IRP instance list.
2015-03-04 23:57:41 +09:00
Alexandre Julliard
1895a42509
ntoskrnl: Use the MDL allocation routines for standard ioctl processing.
2015-03-04 23:57:38 +09:00
Alexandre Julliard
5fc369ff21
ntoskrnl: Use the IRP allocation routines for standard ioctl processing.
2015-03-04 23:51:32 +09:00
Austin English
b39efd9ed7
ntoskrnl.exe: Add ExfInterlockedRemoveHeadList stub.
2015-02-06 23:37:06 +09:00
Austin English
a2f864cac8
ntoskrnl.exe: Add a stub for ExInterlockedRemoveHeadList.
2015-02-05 23:02:02 +09:00
Sebastian Lackner
cffe06af80
ntoskrnl: Initialize irp.Tail.Overlay.OriginalFileObject with stub file object.
2015-01-15 11:35:28 +01:00
Stefan Leichter
f592eea591
ntoskrnl.exe: Add stub for KeSetSystemAffinityThread.
2015-01-05 20:09:02 +01:00
Austin English
cc54a298a0
ntoskrnl.exe: Add a stub for IoCsqInitialize.
2014-12-24 11:16:04 +01:00
Marcus Meissner
c0816eabff
ntoskrnl.exe: Added IoBuildSynchronousFsdRequest and IoGetAttachedDevice stubs.
2014-12-02 19:45:29 +01:00
Austin English
825673210f
ntoskrnl.exe: Add a stub for IoRegisterPlugPlayNotification.
2014-11-04 13:26:28 +09:00
Austin English
9c5f23121a
ntoskrnl.exe: Add ObQueryNameString stub.
2014-10-30 12:33:54 +09:00
Qian Hong
1ec64dcd23
ntoskrnl.exe: Export InitSafeBootMode.
2014-10-15 11:42:55 +09:00
Alistair Leslie-Hughes
d8c6a11971
ntoskrnl.exe: Add stub KeInsertQueue.
2014-03-19 11:33:24 +01:00
Alistair Leslie-Hughes
ba13893030
ntoskrnl.exe: Add stub MmUnlockPagableImageSection.
2014-03-19 11:33:24 +01:00
Alistair Leslie-Hughes
efb3b07f13
ntoskrnl.exe: Add stub MmLockPagableSectionByHandle.
2014-03-19 11:33:23 +01:00
Michael Stefaniuc
2a39cb377a
dlls: Replace the remaining CONSTs.
2013-09-25 11:49:20 +02:00
Alexandre Julliard
b30160f669
ntoskrnl.exe: Don't bother to remove exception handler at process exit.
2013-05-20 12:28:08 +02:00
Christian Costa
ee67d124ac
ntoskrnl.exe: Add stub for IoAcquireRemoveLockEx.
2012-10-15 15:25:24 +02:00
Christian Costa
6643f07d2b
ntoskrnl.exe: Don't try to copy back data in buffered mode when we don't expect any in process_ioctl.
2012-10-03 13:10:45 +02:00
Christian Costa
ea943293c6
ntoskrnl.exe: Add stub for ExCreateCallback.
2012-10-03 13:10:45 +02:00
Alexandre Julliard
b560c56f3f
ntoskrnl.exe: Add missing WINAPIs.
2012-10-02 19:52:46 +02:00
Christian Costa
e3607c9858
ntoskrnl.exe: Add stub for PsImpersonateClient.
2012-10-02 15:21:21 +02:00
Christian Costa
5c65471681
ntoskrnl.exe: Implement IoAllocateMdl.
2012-10-02 15:21:13 +02:00
Christian Costa
84465b420b
ntoskrnl.exe: Add stub for IoAcquireCancelSpinLock and IoReleaseCancelSpinLock.
2012-10-02 15:05:43 +02:00
Christian Costa
5ca17f6d50
ntoskrnl.exe: Add TRACEs to IoCreateDriver and IoDelete driver.
2012-10-01 12:04:14 +02:00
Christian Costa
59eaf2003b
ntoskrnl.exe: Add stub for MmMapLockedPagesSpecifyCache.
2012-10-01 12:03:55 +02:00
Christian Costa
0a7ab9841d
ntoskrnl.exe: Add stub for MmProbeAndLockPages.
2012-10-01 12:03:31 +02:00
Christian Costa
b1fc2182b1
ntoskrnl.exe: Add stub for MmUnlockPages.
2012-10-01 12:03:20 +02:00
Christian Costa
5087cb192c
ntoskrnl.exe: Add partial stub for IoFreeMdl.
2012-09-28 11:24:16 +02:00
Christian Costa
2a278ef5e4
ntoskrnl.exe: Improve IoAllocateMdl stub.
2012-09-28 11:24:10 +02:00
Alexander Morozov
70dcc41760
ntoskrnl.exe: Fix a typo.
2012-03-15 19:56:45 +01:00
Austin English
902d619dfe
ntoskrnl.exe: Add a stub for IoStartNextPacket.
2012-03-13 10:43:54 +01:00
Austin English
a4ee9f2d20
ntoskrnl.exe: Add a stub for IoCreateSynchronizationEvent.
2012-01-19 21:08:54 +01:00
Austin English
daf0cba81f
ntoskrnl.exe: Add a stub for Ke386SetIoAccessMap.
2011-12-30 15:41:10 +01:00
Austin English
60bd62b07c
ntoskrnl.exe: Add a stub for Ke386IoSetAccessProcess.
2011-12-30 15:41:09 +01:00
Stefan Leichter
34c49777a3
ntoskrnl.exe: Add stub for IoInitializeRemoveLockEx.
2011-12-29 17:56:45 +01:00
Stefan Leichter
b54f3e711f
ntoskrnl.exe: Add stub for IoUnregisterShutdownNotification.
2011-12-27 17:07:24 +01:00
Jacek Caban
992316ab4a
ntoskrnl.exe: Added IoGetCurrentProcess stub.
2011-12-27 16:55:10 +01:00
André Hentschel
c0892ca989
ntoskrnl: Add a stub for ExInitializePagedLookasideList.
2011-12-02 12:17:51 +01:00
Bernhard Loos
66e98122b6
ntoskrnl: irp.AssociatedIrp.SystemBuffer is also used for METHOD_IN/OUT_DIRECT ioctls.
2011-11-18 15:37:05 +01:00
Bernhard Loos
a1377319bc
mountmgr, ntoskrnl: METHOD_BUFFERED uses irp->AssociatedIrp.SystemBuffer for both input and output.
2011-11-08 13:58:50 +01:00
Bernhard Loos
507d929051
ntoskrnl: Correctly implement PsGetCurrentThread/ProcessId.
2011-10-28 13:04:00 +02:00
Austin Lund
0ad6c2deb9
ntoskrnl.exe: Made KdDebuggerEnabled a boolean and set to false.
2011-06-29 10:07:55 -05:00
Austin English
cd22aa18a6
ntoskrnl.exe: add a stub for IoSetThreadHardErrorMode.
2011-06-06 16:19:17 +02:00
Jacek Caban
ebc7abeef3
ntoskrnl.exe: Added ObReferenceObjectByHandle stub.
2011-05-24 12:47:28 +02:00
Austin English
ebb1fec5ca
ntoskrnl.exe: Add a stub for PsLookupProcessByProcessId.
2011-05-09 11:55:39 +02:00
Stefan Leichter
c643aec175
ntoskrnl.exe: Add stub for PsSetLoadImageNotifyRoutine.
2011-03-28 17:13:05 +02:00
André Hentschel
bd456a926c
ntoskrnl.exe: Add more mutex stubs.
2011-03-14 19:31:30 +01:00
André Hentschel
13fc9ce134
ntoskrnl.exe: Be more verbose in MmGetSystemRoutineAddress.
2011-02-28 15:34:55 +01:00
Alexander Morozov
745a50c9db
ntoskrnl.exe: Add stub for IoGetDeviceInterfaces.
2011-02-03 16:28:05 +01:00
Stefan Leichter
f7192d329e
ntoskrnl.exe: Add stub for IoWMIRegistrationControl.
2010-12-09 12:16:51 +01:00
Stefan Leichter
b9e676febd
ntoskrnl.exe: Add stub for PoSetPowerState.
2010-11-23 14:16:22 +01:00
Austin English
7bc0484c89
ntoskrnl.exe: Add stub for READ_REGISTER_BUFFER_UCHAR.
2010-09-22 12:44:47 +02:00
Austin English
cf6fa1a036
ntoskrnl.exe: Add stub for KeInitializeDpc.
2010-09-22 12:44:37 +02:00
Austin English
a4ea347f9f
ntoskrnl.exe: Add stubs for MmMapIoSpace/MmUnmapIoSpace.
2010-07-19 15:55:34 +02:00
Austin English
77f4c853f9
ntoskrnl.exe: Add stub for MmAllocateContiguousMemorySpecifyCache:.
2010-06-28 11:43:06 +02:00
Damjan Jovanovic
6aeffb53ee
ntoskrnl.exe: Stub out IoGetDeviceProperty.
2010-04-15 14:17:55 +02:00
Damjan Jovanovic
242370b836
ntoskrnl.exe: Implement IoCallDriver.
2010-04-13 21:13:13 +02:00
Damjan Jovanovic
fcd33d6877
ntoskrnl.exe: Stub out KeResetEvent and KeSetEvent.
2010-04-13 11:37:19 +02:00
Damjan Jovanovic
ab53187cf7
ntoskrnl.exe: Use IoGetNextIrpStackLocation.
2010-04-12 11:29:27 +02:00
Damjan Jovanovic
3c6c2fe8df
ntoskrnl.exe: Implement IoCompleteRequest.
2010-03-23 17:30:48 +01:00
Damjan Jovanovic
555d8fe053
ntoskrnl.exe: Implement IoIsWdmVersionAvailable.
2010-03-18 14:00:22 +01:00
Charles Davis
5415b62fc2
include: Don't accidentally redefine a member in struct _IRP (LLVM/Clang).
2010-02-25 12:10:07 +01:00
Stefan Leichter
dd5abc2dcf
ntoskrnl.exe: Add stub for KeGetCurrentThread/PsGetCurrentThread.
2009-12-31 12:12:18 +01:00
Alexandre Julliard
b387880269
ntoskrnl: Duplicate the necessary part of instruction emulation to avoid importing kernel.
2009-12-31 12:11:59 +01:00
Stefan Leichter
0190edee7e
ntoskrnl.exe: Add stub for KeSetPriorityThread.
2009-12-29 11:17:23 +01:00
Stefan Leichter
d8a12d8374
ntoskrnl.exe: Add stub for KeReleaseSemaphore.
2009-12-29 11:17:15 +01:00
Stefan Leichter
217828978f
ntoskrnl.exe: Add stub for KeInitializeSemaphore.
2009-12-21 15:01:26 +01:00
Wolfram Sang
7790280c5b
ntoskrnl: Add IoAllocateErrorLogEntry stub.
2009-12-10 12:38:58 +01:00
Louis Lenders
76ae295a09
ntoskrnl.exe: Add stub for MmAllocateContiguousMemory.
2009-11-17 16:04:33 +01:00
Louis Lenders
6c350ad155
ntoskrnl.exe: Add stub for MmAllocatePagesForMdl.
2009-11-17 16:03:50 +01:00
Vitaliy Margolen
82379e83e3
ntoskrnl: Initialize structure size.
2009-10-20 14:00:36 +02:00
Francois Gouget
e464d48054
ntoskrnl.exe: Remove a space before a '\n'.
2009-08-26 13:09:20 +02:00
Stefan Leichter
85201ceb3e
ntoskrnl.exe: Stub for IoReportResourceUsage.
2009-08-21 13:49:46 +02:00
Stefan Leichter
1690044d78
ntoskrnl.exe: Add stub for IoQueryDeviceDescription.
2009-08-14 15:29:54 +02:00
Ken Sharp
31e5093555
ntoskrnl: Add FsRtlRegisterUncProvider stub.
2009-06-18 15:17:28 +02:00
Ken Sharp
b68737b6be
ntoskrnl: Add IoUnregisterFileSystem stub.
2009-06-18 15:17:28 +02:00
Ken Sharp
d5c3b44fc2
ntoskrnl: Add IoRegisterFileSystem stub.
2009-06-18 15:17:28 +02:00
Ken Sharp
49d638c78e
ntoskrnl: Add ObfReferenceObject stub.
2009-06-18 15:17:28 +02:00
Anders Jonsson
a2f6bac107
ntoskrnl.exe: Stub for ExInitializeNPagedLookasideList.
2009-06-16 15:32:39 +02:00
Anders Jonsson
fb98499063
ntoskrnl.exe: Stub for PsTerminateSystemThread.
2009-06-15 13:42:31 +02:00