[ros-dev] - In IoAcquire/ReleaseCancelSpinLock, use the queued "IopCancelSpinLock" instead of a ros-specific "CancelSpinLock" standard spinlock - Misc fixes

Stefan Ginsberg stefan__100__ at hotmail.com
Sun Aug 24 18:41:38 CEST 2008


In the kernel, stdcall IoCallDriver is macroed to the fastcall IofCallDriver. However, for clarification I think that IoCallDriver should be used, and this is what we do everywhere else.

>Why this?
>> ======================================================================
>> --- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] (original)
>> +++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] Sat Aug 23  
>> 11:30:14 2008
>> @@ -682,7 +682,7 @@
>>     StackPtr->FileObject = FileObject;
>>
>>     /* Call the Driver */
>> -    return IofCallDriver(DeviceObject, Irp);
>> +    return IoCallDriver(DeviceObject, Irp);
>> }
>>
>> /*
>> @@ -732,7 +732,7 @@
>>     StackPtr->FileObject = FileObject;
>>
>>     /* Call the Driver */
>> -    return IofCallDriver(DeviceObject, Irp);
>> +    return IoCallDriver(DeviceObject, Irp);
>> }
>>
>>     


_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20080824/e83d85fa/attachment.html 


More information about the Ros-dev mailing list