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

Re: SV: SV: New invalidate/clean/flush_dcache functions

From: Segher Boessenkool <hidden>
Date: 2002-12-28 04:01:46

Joakim Tjernlund wrote:
In my typical example I need to invalidate a buffer before I give it to
the
CPM to be used as a receive buffer. Once given to the CPM there must be
no more writes to that buffer memory. When the CPM has received data
and written the data into the buffer and hands it over to the CPU
(usally via an interrupt) the next read from the CPU must access it from
the memory.  Does the above require a sync?
Probably not, I don't know much about the CPM though (and I assume this
is a system without any extra cpu's).
Does it take some time before a invalidate is completed?
Depends on your cpu; I don't know the details for your cpu.  Check your
manuals :)


Segher


** 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