public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* time question
@ 2001-08-27  7:25 Bart Vandewoestyne
  2001-08-27  7:34 ` Bart Vandewoestyne
  2001-08-27 19:22 ` Randy.Dunlap
  0 siblings, 2 replies; 3+ messages in thread
From: Bart Vandewoestyne @ 2001-08-27  7:25 UTC (permalink / raw)
  To: linux-kernel

I'm trying to port the DOS driver for a data aquisition card to linux
(http::/mc303.ulyssis.org).  It is my first linux driver writing
attempt. Somewhere in the code i have the following lines of DOS-code
that do some busy waiting:

_bios_timeofday(_TIME_GETCLOCK,&tb); l = tb;
  while(l-tb < 2) _bios_timeofday(_TIME_GETCLOCK,&l);

What is the best linux equivalent for this?

Thanks,
mc303

-- 
Ing. Bart Vandewoestyne			 Bart.Vandewoestyne@pandora.be
Hugo Verrieststraat 48			       GSM: +32 (0)478 397 697
B-8550 Zwevegem			 http://users.pandora.be/vandewoestyne
----------------------------------------------------------------------
"Any fool can know, the point is to understand." - Albert Einstein

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-27 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27  7:25 time question Bart Vandewoestyne
2001-08-27  7:34 ` Bart Vandewoestyne
2001-08-27 19:22 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox