Thread (14 messages) 14 messages, 6 authors, 2004-04-26

SV: New invalidate/clean/flush_dcache functions

From: Joakim Tjernlund <hidden>
Date: 2002-12-24 10:36:15

Joakim Tjernlund wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help