[Bug 1986] Unused file: c/src/lib/libcpu/shared/src/cache_aligned_malloc.c

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Dec 9 15:41:41 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1986

--- Comment #4 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-12-09 09:41:39 CST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > 
> > > Add it to a header.  ./include/cache.h
> > 
> > Which of the cache.h's are you referring to?
> > 
> > cpukit/rtems/include/rtems/rtems/cache.h
> 
> This one.
> 
> [...]
> > Openly said, this file appears to be a leftover from something unfinished to
> > me.
> > I guess, it has never been used nor seen any testing.
> 
> The basic problem with this cache stuff is that not very architecture (or BSP)
> implements the cache functions (at least this was the case one year ago, I
> don't know if this has changed in the meantime).

Not very many.

It is a cross-platform API that isn't implemented by all targets.  It is also
not possible to implement all methods on all targets.  For example, you might
not be able to flush a single cache line. You might have to flush all.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list