From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 16 23:15:16 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6895D16A400 for ; Fri, 16 Feb 2007 23:15:16 +0000 (UTC) (envelope-from silby@silby.com) Received: from niwun.pair.com (niwun.pair.com [209.68.2.70]) by mx1.freebsd.org (Postfix) with SMTP id 03C7613C441 for ; Fri, 16 Feb 2007 23:15:15 +0000 (UTC) (envelope-from silby@silby.com) Received: (qmail 8744 invoked by uid 3193); 16 Feb 2007 23:15:15 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 Feb 2007 23:15:15 -0000 Date: Fri, 16 Feb 2007 18:15:14 -0500 (EST) From: Mike Silbersack X-X-Sender: silby@niwun.pair.com To: youshi10@u.washington.edu In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-hackers@freebsd.org Subject: Re: Examples on using RTC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 23:15:16 -0000 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