linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Joakim Tjernlund" <joakim.tjernlund@lumentis.se>
To: "'Dan Malek'" <dan@embeddededge.com>
Cc: <linuxppc-embedded@lists.linuxppc.org>
Subject: SV: New invalidate/clean/flush_dcache functions
Date: Tue, 24 Dec 2002 11:36:15 +0100	[thread overview]
Message-ID: <000001c2ab38$4b37edb0$73b9143e@hempc> (raw)
In-Reply-To: <3E07715D.4030002@embeddededge.com>


> Joakim Tjernlund wrote:
> >
> > How about adding new xxx_dcache_range() functions functions to PPC.
> > Below is my suggestion which is more logical and more efficient:
>
> These aren't any different from what we have, other than you give it
> a length instead of an ending address.  Someone has to do that
> arithmetic anyway, and you chose to do it inside of your new functions
> when a caller may already have it available.

I choose to let gcc do the arithmetic(and it's easier to understand for
A non assembler guy). Check the assembler output included last in my
mail.

> We also try to keep these
> functions common across multiple architectures, which is especially
> important to embedded systems that may share common devices connected
> to the processor bus.

OK, what are the other arch's that have these functions?

Merry X-mas
            Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-12-24 10:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-20 16:21 E1/T1 on mpc8260 Omanakuttan
2002-12-20 17:46 ` New invalidate/clean/flush_dcache functions Joakim Tjernlund
2002-12-21 14:25 ` Joakim Tjernlund
2002-12-22  7:00   ` Paul Mackerras
2002-12-23 13:19     ` SV: " Joakim Tjernlund
2002-12-26  4:12       ` Paul Mackerras
2002-12-26 13:52         ` SV: " Joakim Tjernlund
2004-04-26 16:41         ` High resolution timer in driver bhupinder sahran
2004-04-26 18:06           ` Wolfgang Denk
2004-04-27 15:52             ` bhupinder sahran
2002-12-27  0:58       ` SV: New invalidate/clean/flush_dcache functions Segher Boessenkool
2002-12-27 20:20         ` SV: " Joakim Tjernlund
2002-12-28  4:01           ` Segher Boessenkool
2002-12-23 20:26   ` Dan Malek
2002-12-24 10:36     ` Joakim Tjernlund [this message]
2002-12-24 17:53       ` SV: " Dan Malek

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='000001c2ab38$4b37edb0$73b9143e@hempc' \
    --to=joakim.tjernlund@lumentis.se \
    --cc=dan@embeddededge.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).