Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: Nick Zajerko-McKee <nmckee@telogy.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: Question about generic\time.c 2.4.17
Date: Wed, 24 Jul 2002 11:23:57 -0700	[thread overview]
Message-ID: <3D3EF0BD.6080508@mvista.com> (raw)
In-Reply-To: 1027461913.4699.26.camel@gtlinuxserver1.telogy.design.ti.com

Nick Zajerko-McKee wrote:
> Hi,
> 
> I'm working on a new 4Kc platform and was looking at the
> arch\mips\mips-boards\generic\time.c sources.  Can someone explain to me
> the function of do_fast_gettimeoffset(), especially the do_div64_32()
> assembler routine?  One of the requirements I have will be not modify
> the timer resolution for my platform to something in the msec range w/o
> disturbing the underlying jiffie setup found in linux.
> 

do_div64_32() emulate 64bit division with 32bit registers/values. 
do_fast_gettimeoffset() gives the intra-jiffy time offset, which yields higher 
timer resolution.

Take a look of /Documentation/mips/time.README.

Jun

  parent reply	other threads:[~2002-07-24 18:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-23 22:05 Question about generic\time.c 2.4.17 Nick Zajerko-McKee
2002-07-24 14:38 ` Maciej W. Rozycki
2002-07-24 18:23 ` Jun Sun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-24 15:02 Zajerko-McKee, Nick
2002-07-24 15:19 ` Maciej W. Rozycki

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=3D3EF0BD.6080508@mvista.com \
    --to=jsun@mvista.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=nmckee@telogy.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox