All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Vandewoestyne <Bart.Vandewoestyne@pandora.be>
To: linux-kernel@vger.kernel.org
Subject: time question
Date: Mon, 27 Aug 2001 09:25:10 +0200	[thread overview]
Message-ID: <3B89F5D6.5813BF4D@pandora.be> (raw)

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

             reply	other threads:[~2001-08-27  7:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-27  7:25 Bart Vandewoestyne [this message]
2001-08-27  7:34 ` time question Bart Vandewoestyne
2001-08-27 19:22 ` Randy.Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2010-01-07  4:35 rainbowczj rainbowczj
2010-01-10 16:46 ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B89F5D6.5813BF4D@pandora.be \
    --to=bart.vandewoestyne@pandora.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.