forked from Imagelibrary/rtems
rtems: Move rtems_cache_aligned_malloc()
Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal.
This commit is contained in:
@@ -12,7 +12,7 @@ include_libcpudir = $(includedir)/libcpu
|
||||
include_libcpu_HEADERS = ../shared/include/cache.h
|
||||
|
||||
noinst_PROGRAMS += shared/cache.rel
|
||||
shared_cache_rel_SOURCES = shared/cache/cache.c ../shared/src/cache_aligned_malloc.c \
|
||||
shared_cache_rel_SOURCES = shared/cache/cache.c \
|
||||
../shared/src/cache_manager.c shared/cache/cache_.h
|
||||
shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
|
||||
shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user