Commit Graph

271 Commits

Author SHA1 Message Date
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
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
Alexandre Julliard 2140006662 msvcrt: Implement _local_unwind for x86_64. 2011-05-17 12:31:00 +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
Gerald Pfeifer 57e4e608dc ntoskrnl.exe: Remove variable sep and related code from INSTR_GetOperandAddr. 2011-01-21 13:38:54 +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
Detlef Riekenberg e0a6a78cde ntoskrnl.exe: Forward more functions to ntdll. 2010-11-15 14:52:01 +01:00
Alexandre Julliard 3161fc517f ntoskrnl.exe: Avoid using the CONTEXT86 type. 2010-10-20 18:37:08 +02: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
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard d03705eafb ntdll: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +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
Gerald Pfeifer 9c69b23551 ntoskrnl.exe: Remove variable retX which is not really used from emulate_instruction. 2010-05-03 15:41:51 +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
Alexandre Julliard bcf1ef3c90 msvcrt: Make a few more exception handling functions i386-specific. 2010-04-12 17:52:37 +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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +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
Erich Hoover c7ccf24020 ntoskrnl: Forward ExSystemTimeToLocalTime and ExLocalTimeToSystemTime to ntdll. 2010-01-14 11:25:34 -06: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
Alexandre Julliard a18bbec0f0 kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32. 2009-12-30 18:01:34 +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
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 34e6ad3222 ntoskrnl.exe: Stub for IoStartTimer. 2009-06-15 13:42:31 +02:00
Anders Jonsson 15dd9e8d35 ntoskrnl.exe: Stub for IoInitializeTimer. 2009-06-15 13:42:31 +02:00
Anders Jonsson 80450122fe ntoskrnl.exe: Stub for KeWaitForSingleObject. 2009-06-15 13:42:31 +02:00
Anders Jonsson b79a474033 ntoskrnl.exe: Stub for KeInitializeMutex. 2009-06-15 13:42:31 +02:00
Alexandre Julliard 5c4612b3fa ntoskrnl.exe: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Stefan Leichter 56031d2ba4 ntoskrnl.exe: Stub for MmQuerySystemSize. 2009-03-02 13:20:46 +01:00
Alexandre Julliard 5dcdb4aba3 ntoskrnl.exe: Correctly remove the vectored exception handler. 2009-02-02 16:21:25 +01:00
Alexandre Julliard 13ff441aea ntoskrnl.exe: Remove the vectored exception handler on dll unload. 2009-01-30 11:44:13 +01:00
Andrey Turkin a0f681ad4c ntoskrnl: Add version resource. 2009-01-12 14:37:40 +01:00
Rob Shearman 07090c2485 ntoskrnl: Free allocated buffers on exit from wine_ntoskrnl_main_loop.
Avoids a warning of a memory leak in Valgrind.
2009-01-12 13:07:05 +01:00
Alexandre Julliard 469f0b4757 ntoskrnl.exe: Fix handle cast warnings on 64-bit. 2009-01-08 17:27:05 +01:00
Alexandre Julliard 13df062d36 kernel32: #ifdef out some code that is not needed on non-i386. 2009-01-07 11:10:16 +01:00
Alexandre Julliard 923310aa54 server: Make the device opaque data a client_ptr_t instead of a void pointer. 2008-12-29 17:28:40 +01:00
Christian Costa 43b7f268e4 ntoskrnl.exe: Add stub for PsSetCreateThreadNotifyRoutine. 2008-12-29 11:46:46 +01:00
Christian Costa 9a95c077fe ntoskrnl.exe: Fix some FIXMEs. 2008-12-29 11:46:31 +01:00
Christian Costa 70383b0c4c ntoskrnl.exe: Add stub for KeInitializeEvent. 2008-12-29 11:46:20 +01:00
Maarten Lankhorst f00beab5c4 ntoskrnl.exe/winedevice: Make wine_ntoskrnl_main_loop CDECL. 2008-12-17 15:02:26 +01:00
Alexander Morozov 902443579f ntoskrnl.exe: Add stubs for Io{Allocate,Get}DriverObjectExtension. 2008-12-16 14:10:53 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Alexander Morozov 8c8d58f829 ntoskrnl.exe: Fix ObfDereferenceObject function calling convention. 2008-12-02 16:27:35 +01:00
Jacek Caban 768012a51a ntoskrnl.exe: Forward ZwMakeTemporaryObject to ntdll. 2008-12-02 14:05:43 +01:00
Alistair Leslie-Hughes 4defc2b50a ntoskrnl.exe: Implement MmGetSystemRoutineAddress. 2008-11-20 12:20:50 +01:00
Marcus Meissner 28e990c13d ntoskrnl.exe: Check irp for NULL consistently. 2008-10-31 13:03:57 +01:00
Alexandre Julliard 0b560febea ntoskrnl: Implemented IoDeleteSymbolicLink. 2008-10-20 16:21:22 +02:00
Alexander Morozov e99451561d ntoskrnl.exe: Initialize some IRP fields to prevent using bad pointers by IofCompleteRequest. 2008-10-16 12:37:29 +02:00
Alexander Morozov 7541ecbf4c ntoskrnl.exe: Fix trace typo. 2008-10-09 13:14:49 +02:00
Alexander Morozov 2e917e3a3c ntoskrnl.exe: Implement some functions. 2008-10-07 12:52:38 +02:00
Alexander Morozov 1be805bee5 ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure. 2008-10-07 12:42:49 +02:00
Peter Dons Tychsen 6e7c73cacf ntoskrnl: Implement partial stub for IoGetConfigurationInformation(). 2008-09-09 11:46:17 +02:00
Jim Cameron 31ba88d302 ntoskrnl.exe: Add stub for ObfDereferenceObject(). 2008-09-03 14:21:44 +02:00
Jim Cameron 410cb3e7f8 ntoskrnl.exe: Add stub for ObReferenceObjectByHandle(). 2008-09-03 14:21:43 +02:00
Jim Cameron 4f39948f7b ntoskrnl.exe: Add stub for IoRegisterShutdownNotification(). 2008-09-03 14:21:43 +02:00
Jim Cameron 9a4d1d15cf ntoskrnl.exe: Add stub for IoRegisterDriverReinitialization(). 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 809fe637bd ntoskrnl.exe: Add stub for IoDeleteSymbolicLink. 2008-07-30 15:24:06 +02:00
Alexander Morozov 217af4e7b9 ntoskrnl.exe: Add stubs for IoAllocateIrp, IoInitializeIrp and IoFreeIrp. 2008-07-30 15:23:58 +02:00
Alexandre Julliard 9c29dbd987 Avoid exporting common symbols since that's broken on Mac OS X. 2008-07-21 14:47:55 +02:00
Alexander Morozov 7f3b1daaf2 ntoskrnl.exe: Change calling conventions for Interlocked* functions. 2008-04-28 12:20:42 +02:00
Detlef Riekenberg 28553fa8a7 ntoskrnl.exe: Implement KeQueryInterruptTime. 2008-04-08 12:22:11 +02:00
Detlef Riekenberg ee4a996963 ntoskrnl.exe: Implement KeQueryActiveProcessors. 2008-04-08 12:22:04 +02:00
Detlef Riekenberg f3380958bd ntoskrnl.exe: Implement MmIsAddressValid. 2008-03-22 11:13:59 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Paul Chitescu 4e511d9e8c ntoskrnl.exe: Implement MmPageEntireDriver and MmResetDriverPaging. 2008-02-06 12:43:53 +01:00