Prev: MS Win DDK on WindowsXP: programs can run on other earlierOperative Systems (Vista, Windows 7)?
Next: Writing a 1394 interface driver
From: dsrking on 13 Sep 2010 08:26 Hi I am porting Linux driver to Windows XP. In linux driver they used 'udelay' API for some micro seconds delay. How can i port this API in Windows Driver (KMDF)? thanks in Adavance, D.
From: Burkhardt Braun on 13 Sep 2010 12:08 Hello, KeWaitForSingleObject or KeSetTimerEx are candidates. Kind regards Burkhardt Braun dsrking schrieb: > Hi > > I am porting Linux driver to Windows XP. In linux driver they used > 'udelay' API for some micro seconds delay. > How can i port this API in Windows Driver (KMDF)? > > thanks in Adavance, > D.
From: RossettoeCioccolato on 13 Sep 2010 12:12 Try KeStallExecutionProcessor. http://msdn.microsoft.com/en-us/library/ff553295(VS.85).aspx. "dsrking" <dsrking2006(a)gmail.com> wrote in message news:c19b93dd-996c-4366-8f62-d74d1ca69bbc(a)c13g2000vbr.googlegroups.com... > Hi > > I am porting Linux driver to Windows XP. In linux driver they used > 'udelay' API for some micro seconds delay. > How can i port this API in Windows Driver (KMDF)? > > thanks in Adavance, > D.
From: David Craig on 13 Sep 2010 20:47 This is a very frequent question about the design of device driver interfaces supported by Unix, Linux, and Windows. You omitted so much information that providing correct answers is not possible. You forgot to specify at what IRQL the code you wish to protect can be running, is there hardware involved, what type of hardware, does it provide a Windows port driver, does it require a miniport of some sort, and what is the port driver? "dsrking" <dsrking2006(a)gmail.com> wrote in message news:c19b93dd-996c-4366-8f62-d74d1ca69bbc(a)c13g2000vbr.googlegroups.com... > Hi > > I am porting Linux driver to Windows XP. In linux driver they used > 'udelay' API for some micro seconds delay. > How can i port this API in Windows Driver (KMDF)? > > thanks in Adavance, > D.
From: dsrking on 14 Sep 2010 12:12
Hi Thanks for your reply. 'KeStallExecutionProcessor' is working for my case. Regards, D. |