Commit Graph

223 Commits

Author SHA1 Message Date
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
André Hentschel d22964d952 ntdll: Implement 64-bit shifts.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 21:47:06 +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
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