Changeset 4cf93658 in rtems for bsps/sparc/leon2


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.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • bsps/sparc/leon2/start/cache.c

    rd8d6a08 r4cf93658  
    22 *  SPARC Cache Manager Support
    33 */
    4 
    5 #ifndef __SPARC_CACHE_h
    6 #define __SPARC_CACHE_h
    74
    85/*
     
    1512 */
    1613
    17 /* This define is set in a Makefile */
    18 #if defined(HAS_INSTRUCTION_CACHE)
     14#include <stddef.h>
    1915
    2016#define CPU_INSTRUCTION_CACHE_ALIGNMENT 0
     
    5349}
    5450
    55 #endif /* defined(HAS_INSTRUCTION_CACHE) */
    56 
    57 #endif
    58 /* end of include file */
     51#include "../../../shared/cache/cacheimpl.h"
Note: See TracChangeset for help on using the changeset viewer.