All of lore.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; 5+ 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] 5+ messages in thread
* time question
@ 2010-01-07  4:35 rainbowczj rainbowczj
  2010-01-10 16:46 ` Russell King - ARM Linux
  0 siblings, 1 reply; 5+ messages in thread
From: rainbowczj rainbowczj @ 2010-01-07  4:35 UTC (permalink / raw)
  To: linux-arm-kernel

Hi.

I am study the time of the arm , I  have a question:

    In  the \arm\kernel\times.c . there is a function pointer int
(*set_rtc)(void).it is the hook for setting the RTC's idea of the current
time. but I can't find which function to this pointer. somebody can tell me
where I can find it and how to set the RTC. thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100107/eb28a350/attachment-0001.htm>

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

end of thread, other threads:[~2010-01-10 16:46 UTC | newest]

Thread overview: 5+ 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
  -- 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

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.