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


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/m68k
Files:
3 deleted
1 edited

Legend:

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

    rd8d6a08 r4cf93658  
    66
    77if shared
    8 
    9 noinst_PROGRAMS += shared/cache.rel
    10 shared_cache_rel_SOURCES = shared/cache/cache.c
    11 shared_cache_rel_SOURCES += shared/cache/cache_.h
    12 shared_cache_rel_SOURCES += ../shared/src/cache_manager.c
    13 shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    14 shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    158
    169## shared/misc
     
    9386endif
    9487
    95 if mcf5223x
    96 ## mcf5223x/include
    97 ## mcf5223x/cache
    98 noinst_PROGRAMS += mcf5223x/cachepd.rel
    99 mcf5223x_cachepd_rel_SOURCES = mcf5223x/cache/cachepd.c
    100 mcf5223x_cachepd_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    101 mcf5223x_cachepd_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    102 endif
    103 
    104 if mcf5225x
    105 ## mcf5225x/include
    106 # mcf5225x/cache
    107 noinst_PROGRAMS += mcf5225x/cachepd.rel
    108 mcf5225x_cachepd_rel_SOURCES = mcf5225x/cache/cachepd.c
    109 mcf5225x_cachepd_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    110 mcf5225x_cachepd_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    111 
    112 # Network
    113 if HAS_NETWORKING
    114 endif ## HAS_NETWORKING
    115 endif
    116 
    117 if mcf5235
    118 ## mcf5235/include
    119 ## mcf5235/cache
    120 noinst_PROGRAMS += mcf5235/cachepd.rel
    121 mcf5235_cachepd_rel_SOURCES = mcf5235/cache/cachepd.c
    122 mcf5235_cachepd_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    123 mcf5235_cachepd_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    124 endif
    125 
    126 if mcf532x
    127 ## mcf532x/include
    128 ## mcf532x/cache
    129 noinst_PROGRAMS += mcf532x/cachepd.rel
    130 mcf532x_cachepd_rel_SOURCES = mcf532x/cache/cachepd.c
    131 mcf532x_cachepd_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    132 mcf532x_cachepd_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    133 endif
    134 
    13588if mcf5272
    13689## mcf5272/include
     
    148101endif
    149102
    150 if mcf5282
    151 ## mcf5282/include
    152 noinst_PROGRAMS += mcf5282/cachepd.rel
    153 mcf5282_cachepd_rel_SOURCES = mcf5282/cache/cachepd.c
    154 mcf5282_cachepd_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
    155 mcf5282_cachepd_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    156 endif
    157 
    158103if mcf548x
    159104## mcf548x/include
Note: See TracChangeset for help on using the changeset viewer.