From: cojjr@cbnewsi.cb.att.com (john.j.rushford..jr)
Subject: Re: Accessing Real Time Clock in workstations (HPs, Suns, Dec Alphas)
Date: Fri, 21 Jan 1994 15:48:04 GMT [thread overview]
Message-ID: <CJzL87.D96@cbnewsi.cb.att.com> (raw)
In-Reply-To: CJy6yC.B1K@cup.hp.com
In article <CJy6yC.B1K@cup.hp.com> pdg@cup.hp.com (Paul Gootherts) writes:
>NeoSwami (padalam@research.CS.ORST.EDU) wrote:
>> We are looking for a similar kind of routine for the following workstations:
>> ...
>> HP 700 series [715/730]
>> ...
>
>Take a look at gettimeofday(2).
>
>Paul Gootherts
>pdg@cup.hp.com
gettimeofday(2) only returns the operating system's idea of time. I think that
he is looking for code fragments on how to read the Real Time Clock chip. I
don't have this info but, there is a header file, /usr/include/sun4/clock.h,
that describes the layout of various chips used by Sun. You probably need
this header file and then you probably need to call either ioctl(2) or mmap(2)
to read/write the chip, just guessing though.
next prev parent reply other threads:[~1994-01-21 15:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-01-20 20:40 Accessing Real Time Clock in workstations (HPs, Suns, Dec Alphas) NeoSwami
1994-01-20 21:42 ` Paul Gootherts
1994-01-21 12:23 ` Kell S|nnichsen
1994-01-21 15:48 ` john.j.rushford..jr [this message]
1994-01-21 19:25 ` Guy Harris
1994-01-24 17:12 ` Benjamin Z. Goldsteen
1994-01-25 8:08 ` Bart Smaalders
1994-01-25 18:42 ` Bob Manchek
1994-01-26 0:57 ` Doug Siebert
1994-01-26 8:11 ` Casper H.S. Dik
1994-01-27 4:07 ` Greg Limes
1994-01-29 5:07 ` mark hahn
1994-01-21 16:59 ` Bart Smaalders
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox