Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 16:01:10 -0800 (PST)
From:      youshi10@u.washington.edu
To:        freebsd-hackers@freebsd.org
Subject:   Re: Examples on using RTC
Message-ID:  <Pine.LNX.4.43.0702161601100.22743@hymn06.u.washington.edu>
In-Reply-To: <Pine.BSF.4.58.0702161812270.32166@niwun.pair.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Feb 2007, Mike Silbersack wrote:

>
> On Fri, 16 Feb 2007 youshi10@u.washington.edu wrote:
>
>>> /usr/ports/emulators/rtc
>>>
>>> regards,
>>>
>>> usleep
>>
>> Already using / looked at that. I'm looking for something more in-depth.
>> -Garrett
>
> The rtc port's sole purpose is to make the vmware port happier.  As you
> probably saw, it just fakes the functions of the linux rtc device.
>
> What other rtc functions do you need?  Almost everything the linux rtc
> device does can be accomplished by raising your system hz and using
> usleep/select.
>
> Mike "Silby" Silbersack

Hmmm.. well, I can't seem to find equivalent definitions for the Linux kernel macro RTC_PIE_OFF for instance and the emulators/rtc port isn't sufficiently documented for me to determine how the original author found out what signals RTC_PIE_ON and RTC_IRQP_* (whatever macro is also defined in /usr/local/include/linux/rtc.h).

-Garrett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0702161601100.22743>