Changeset 4cf93658 in rtems for c/src/lib/libcpu/sparc64


Ignore:
Timestamp:
Jan 27, 2018, 1:37:51 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
05015dc1
Parents:
d8d6a08
git-author:
Sebastian Huber <sebastian.huber@…> (01/27/18 13:37:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/31/18 11:49:09)
Message:

bsps: Rework cache manager implementation

The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

  • bsps/shared/cache
  • bsps/@RTEMS_CPU@/shared/cache
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.

Location:
c/src/lib/libcpu/sparc64
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sparc64/Makefile.am

    rd8d6a08 r4cf93658  
    2222shared_sparc64_syscall_rel_CPPFLAGS = $(AM_CPPFLAGS)
    2323shared_sparc64_syscall_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    24 
    25 noinst_PROGRAMS += shared/cache.rel
    26 shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \
    27     ../shared/src/cache_manager.c
    28 shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    29 shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3024endif
    31 
    32 #if has_instruction_cache
    33 #cache_rel_CPPFLAGS += -DHAS_INSTRUCTION_CACHE
    34 #endif
    35 
    36 
    3725
    3826### This is an example of how to define a separate score implementation.
Note: See TracChangeset for help on using the changeset viewer.