This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: MPC8260 cache patch


> I don't think that for the purposes of the FLASH code that the
> invalidates need to be there.  Notice that they are not present in
> the older version of this macro.
>
OK, I can believe that.

> Can you try this without the invalidate lines?
I am out of the office until Thursday (at least), so it will have to wait
until then.

> We do try to keep things as slim and fast as possible; after all that's
> one of eCos' selling points!  A little here, a little there and soon
> we'll lose control.  It may be that the only safe way to do this flush
> is by doubling the lines, but I want to fully investigate first.
>
It seems to me that the only way to guarantee a flush is to either double
the number of lines or to dedicate a region of "never-write" memory.  I
appreciate (boy do I appreciate!) the desire to keep eCos as slim and fast
as possible, but I worry about removing the invalidate call from the flash
routines, just to leave the problem lying around that there is no mechanism
guarantee a flush.

--wpd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]