Commit Graph

267 Commits

Author SHA1 Message Date
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
Alexandre Julliard 82ca87bc2d ntoskrnl.exe: Fix ZwQuerySection spec file entry.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 22:21:07 +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
Alexandre Julliard f21cb01aa4 makefiles: Don't allow import libraries to have an extension.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 14:04:20 +09:00
Ken Thomases f8220cbe93 ntoskrnl.exe: Fix SIB_INDEX() to use REX_X, not REX_R.
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 15:21:41 +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
Austin English f12241ae14 ntoskrnl.exe: Add RtlInitializeGenericTableAvl/RtlInsertElementGenericTableAvl stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 15:04:31 +01:00
Sebastian Lackner ecfaecd272 ntoskrnl.exe: Fix specfile entry for MmMapIoSpace.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:48 +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
Dmitry Timoshkov af66108446 ntdll: Implement RtlValidRelativeSecurityDescriptor.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:56 +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
Sebastian Lackner e3503799d9 ntdll: Implement RtlDecompressFragment.
Based on a patch by Michael Müller.
2015-07-10 14:54:50 +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 3d203b1ecb ntoskrnl: Use SIZE_T to store 64-bit offset to USER_SHARED_DATA page. 2015-06-24 15:36:41 +09:00
Sebastian Lackner 9c789f2949 ntoskrnl: Add emulation for 'movzx {Eb,Ew}, Gv' instruction. 2015-06-19 20:15:20 +09:00
Sebastian Lackner 411cdebaed ntoskrnl: Add emulation for 'mov Ob, AL' and 'mov Ovqp, rAX' instruction. 2015-06-19 20:15: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
Sebastian Lackner b61d93a6b7 ntoskrnl: Emulate 'mov Eb, Gb' instruction on x86 processor architecture. 2015-03-27 00:11:39 +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 e729dba55d ntoskrnl.exe: Emulate instruction mov eax,cr4. 2015-01-05 20:10:49 +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
Sebastian Lackner 927a44e676 ntoskrnl.exe: Fix incorrect interpretation of SIB byte when parsing x86 opcode. 2014-11-07 14:05:12 +09: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
Marcus Meissner bd6e1976b3 ntoskrnl.exe: Emulate some more mov eax -> drX. 2014-09-08 11:52:53 +02: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
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Nikolay Sivov 9e5097187e ntdll: Implement RtlHashUnicodeString(). 2013-07-24 14:35:09 -05:00
Dmitry Timoshkov 934ba51c80 ntdll: Correct RtlFreeHeap .spec parameter type. 2013-06-26 12:14:41 +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
Alexandre Julliard 0a3cc8b85d ntoskrnl: Synchronize spec file with ntdll and msvcrt. 2013-03-14 13:59:05 +01:00
Detlef Riekenberg 8f022fd4c7 ntoskrnl.exe: Update version resource. 2013-01-03 16:45:18 +01: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
Louis Lenders 066a649a77 ntoskrnl.exe: Update version resource. 2011-10-26 17:54:49 +02:00
Austin Lund 0ad6c2deb9 ntoskrnl.exe: Made KdDebuggerEnabled a boolean and set to false. 2011-06-29 10:07:55 -05:00