nanosecond delay in kernel module

Roman Kurakin rik at inse.ru
Tue Aug 15 20:23:47 UTC 2006


Hi,

Julian Elischer:

> m.ehinger at ltur.de wrote:
>
>> Hi,
>>
>> what is the official way to delay in a kernel module for about 10 
>> nanoseconds (1/1,000,000,000th second).
>>
>> I found DELAY(9), but it uses microseconds (1/1,000,000th second).
>>  
>>
>
> at this time there is none. maybe you can write one?
> You probably need to find some machine instructions with a known delay

Probably PCI read/write ...

rik

>
>> Any help would be appeciated
>>
>> Maik
>>
>> _______________________________________________
>> freebsd-hackers at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to 
>> "freebsd-hackers-unsubscribe at freebsd.org"
>>  
>>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"




More information about the freebsd-hackers mailing list