Commit graph

205 commits

Author SHA1 Message Date
Zebediah Figura 171bf1e2a0 ntoskrnl.exe: Implement ExInterlockedRemoveHeadList().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 12:00:50 +01:00
Zebediah Figura 834db73121 ntoskrnl.exe: Implement IoAcquireCancelSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:55:54 +01:00
Zebediah Figura fee112f90a ntoskrnl.exe: Implement KeAcquireSpinLockRaiseToDpc().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:46:15 +01:00
Zebediah Figura 389b8fc393 hal: Implement KeAcquireSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:27:12 +01:00
Zebediah Figura fa6f56b361 hal: Implement KeReleaseSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:26:09 +01:00
Zebediah Figura 92b047e722 ntoskrnl.exe: Implement KeInitializeSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:26:01 +01:00
Zebediah Figura c00a322d97 ntoskrnl.exe: Implement KeDelayExecutionThread().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:12 +01:00
Zebediah Figura fc230cd4e3 ntoskrnl.exe: Implement KeCancelTimer().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:03 +01:00
Zebediah Figura 55778f4d8a ntoskrnl.exe: Implement KeSetTimerEx() and waiting on timers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:34:58 +01:00
Zebediah Figura 2e4ffcd861 include: Add KeInitializeTimer().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:34:50 +01:00
Zebediah Figura b9e556d5e8 ntoskrnl.exe: Implement KeClearEvent().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 08:59:58 +01:00
Zebediah Figura e3223f30aa ntoskrnl.exe: Implement KeInitializeMutex().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 08:59:17 +01:00
Zebediah Figura 05b278675f ntoskrnl.exe: Implement KeWaitForSingleObject().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 13:27:28 +01:00
Zebediah Figura a29204cb13 ntoskrnl.exe: Implement KeInitializeEvent().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 13:26:39 +01:00
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 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
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 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
Alistair Leslie-Hughes d28fdb041a include: Add more definitions to wdm.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Alistair Leslie-Hughes 0b6337f095 include: Add MmGetSystemRoutineAddress definition.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:25:05 +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
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
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 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 4e6900890d include: Add more typedefs to wdm.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 19:18:00 +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 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
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
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
Aric Stewart c86d81d550 include: Define IoSkipCurrentIrpStackLocation.
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-10-13 16:14:43 +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
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
Aric Stewart 71b66998f6 include: Fix definition of DRIVER_EXTENSION.
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:49 +09:00
Aric Stewart ab3b9bd84d hidclass.sys: Call IoAttachDeviceToDeviceStack when creating HID device.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 13:37:06 +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 c75751ed54 include: Add declaration for ObReferenceObjectByName.
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-09 11:59:31 +09:00
Austin English fee017c221 ntdll: Add NtSetLdtEntries/ZwSetLdtEntries 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-05-01 11:56:23 +09:00
Rafał Harabień 3acac5b221 include/ddk: Fix memory layout of IRP and IO_STACK_LOCATION in wine64.
Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:12 +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 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
Aric Stewart f9105eac34 include: Add IRP_MJ_POWER minor function codes. 2015-07-08 16:02:24 +09:00
Alexandre Julliard a78f8f298a ntoskrnl: Flesh out IoBuildSynchronousFsdRequest implementation. 2015-05-06 17:16:48 +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
Stefan Leichter f592eea591 ntoskrnl.exe: Add stub for KeSetSystemAffinityThread. 2015-01-05 20:09:02 +01:00
Michael Stefaniuc 23b86eb44e include: Replace the remaining CONSTs. 2013-09-27 10:34:09 +02:00
André Hentschel 8bbbf7cd25 include/ddk: Add DEVICE_RELATIONS and DEVICE_INTERFACE_CHANGE_NOTIFICATION. 2013-08-16 11:55:23 +02:00
Christian Costa 068ff64e0a ntoskrnl.exe: Add MDL flags definitions. 2012-10-09 18:32:25 +02:00
Christian Costa ea943293c6 ntoskrnl.exe: Add stub for ExCreateCallback. 2012-10-03 13:10:45 +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
Francois Gouget d979d9cd64 ntoskrnl.exe: Fix the name of a POOL_TYPE value. 2012-05-15 16:26:39 +02:00
Stefan Leichter 34c49777a3 ntoskrnl.exe: Add stub for IoInitializeRemoveLockEx. 2011-12-29 17:56:45 +01:00
André Hentschel c0892ca989 ntoskrnl: Add a stub for ExInitializePagedLookasideList. 2011-12-02 12:17:51 +01:00
Francois Gouget 21d6086c60 ntdll: Fix the field names of KUSER_SHARED_DATA and update it. 2011-08-03 14:15:48 +02: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 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 189335441e wdm.h: Declare IoCallDriver. 2010-04-13 21:13:07 +02:00
Damjan Jovanovic aadd2ac33f wdm.h: Define KeResetEvent and KeSetEvent. 2010-04-13 11:37:14 +02:00
Damjan Jovanovic e54d029f88 wdm.h: Define IoGetNextIrpStackLocation. 2010-04-12 11:29:22 +02:00
Damjan Jovanovic 394839fecf include: Define IoGetCurrentIrpStackLocation based on NONAMELESSUNION and NONAMELESSSTRUCT. 2010-03-25 16:08:40 +01:00
Damjan Jovanovic 3c6c2fe8df ntoskrnl.exe: Implement IoCompleteRequest. 2010-03-23 17:30:48 +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
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
Anders Jonsson a2f6bac107 ntoskrnl.exe: Stub for ExInitializeNPagedLookasideList. 2009-06-16 15:32:39 +02:00
Anders Jonsson fc07a52148 ntoskrnl.exe: Stub for ExInitializeZone. 2009-06-15 13:42:31 +02:00
Anders Jonsson afff5f9da5 ntoskrnl.exe: Stub for ExInitializeResourceLite. 2009-06-15 13:42:31 +02:00
Anders Jonsson 15dd9e8d35 ntoskrnl.exe: Stub for IoInitializeTimer. 2009-06-15 13:42:31 +02:00
Stefan Leichter 56031d2ba4 ntoskrnl.exe: Stub for MmQuerySystemSize. 2009-03-02 13:20:46 +01:00
Alexander Morozov 902443579f ntoskrnl.exe: Add stubs for Io{Allocate,Get}DriverObjectExtension. 2008-12-16 14:10:53 +01:00
Ricardo Filipe bad677d58a hal: Add stubs for ExAcquireFastMutex and ExReleaseFastMutex. 2008-12-11 14:28:07 +01:00
Alexander Morozov 332105331a include: Add some definitions. 2008-10-07 12:43:55 +02:00
Jim Cameron 410cb3e7f8 ntoskrnl.exe: Add stub for ObReferenceObjectByHandle(). 2008-09-03 14:21:43 +02:00
Jim Cameron 597150f692 ntoskrnl.exe: Add stub for IoGetRelatedDeviceObject(). 2008-09-03 14:21:43 +02:00
Jim Cameron faa6ca08e9 ntoskrnl.exe: Add stub for IoGetDeviceObjectPointer(). 2008-09-03 14:21:43 +02:00
Alexander Morozov 217af4e7b9 ntoskrnl.exe: Add stubs for IoAllocateIrp, IoInitializeIrp and IoFreeIrp. 2008-07-30 15:23:58 +02:00
Alexander Morozov 478e64f549 include/ddk/wdm.h: Add defines. 2008-07-30 15:23:43 +02:00
Alexandre Julliard 7ac931acf2 ntoskrnl.exe: Added implementation for IoCreateDriver and IoDeleteDriver. 2007-12-18 19:46:06 +01:00
EA Durbin eb6a1fc9d0 ntoskrnl.exe: Add stub Implementation of IoAllocateWorkItem. 2007-11-09 12:58:26 +01:00
Francois Gouget 17c57737c9 ntoskrnl.exe: Fix the PsCreateSystemThread() prototype and declare it in wdm.h.
Add a prototype for PsTerminateSystemThread().
2007-09-27 20:12:17 +02:00
Francois Gouget f20cd498e0 ntoskrnel.exe: Better match the PSDK types and fix the winapi_check warnings. 2007-08-16 11:09:41 +02:00
James Hawkins fbbd91544f ntoskrnl.exe: Add a stub implementation of KeInitializeTimer. 2007-06-19 12:56:00 +02:00
Alexandre Julliard bd3a08b355 ntoskrnl.exe: Implemented a couple of time-related APIs. 2007-05-18 16:48:54 +02:00
Alexandre Julliard 982d6ccbe4 ntoskrnl.exe: Implemented a number of memory allocation functions. 2007-05-16 17:39:32 +02:00
Alexandre Julliard dff6cdfa50 include: Add a few definitions in wdm.h. 2007-05-15 21:41:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard c9cc7e33ff Fixed some compiler warnings on old gcc versions. 2006-03-02 18:03:32 +01:00
Ivan Leo Puoti 4c53092566 Add some structs/prototypes to wdm.h. 2005-12-16 12:37:24 +01:00
Vitaliy Margolen 0b12525ebd Add directory and symlink access rights. 2005-11-28 17:29:25 +01:00
Ivan Leo Puoti 1bf99ecfc2 Added ddk/wdm.h. 2005-09-23 17:22:12 +00:00