Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2006 00:30:56 +0400
From:      Roman Kurakin <rik@inse.ru>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-hackers@freebsd.org, m.ehinger@ltur.de
Subject:   Re: nanosecond delay in kernel module
Message-ID:  <44E22F00.6090102@inse.ru>
In-Reply-To: <44E21BE1.5070004@elischer.org>
References:  <OFB9891F5F.4900C9BC-ONC12571CB.005D5D63-C12571CB.005E00BB@gateway-inter.net> <44E21BE1.5070004@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Julian Elischer:

> m.ehinger@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to 
>> "freebsd-hackers-unsubscribe@freebsd.org"
>>  
>>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44E22F00.6090102>