source: rtems/c/src/lib/libcpu/nios2/shared/cache/cache_.h @ 102fd7c9

5
Last change on this file since 102fd7c9 was 102fd7c9, checked in by Sebastian Huber <sebastian.huber@…>, on 12/07/17 at 08:19:16

bsps: Do not install <libcpu/cache.h>

This is a cache manager implementation header file.

Update #3254.

  • Property mode set to 100644
File size: 902 bytes
Line 
1/*
2 *  M68K Cache Manager Support
3 */
4
5#ifndef __M68K_CACHE_h
6#define __M68K_CACHE_h
7
8#if (defined(__mc68020__) && !defined(__mcpu32__))
9# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
10#elif defined(__mc68030__)
11# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
12# define M68K_DATA_CACHE_ALIGNMENT 16
13#elif ( defined(__mc68040__) || defined (__mc68060__) )
14# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
15# define M68K_DATA_CACHE_ALIGNMENT 16
16#elif ( defined(__mcf5200__) )
17# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
18# if ( defined(__mcf528x__) )
19#  define M68K_DATA_CACHE_ALIGNMENT 16
20# endif
21#endif
22
23#if defined(M68K_DATA_CACHE_ALIGNMENT)
24#define CPU_DATA_CACHE_ALIGNMENT M68K_DATA_CACHE_ALIGNMENT
25#endif
26
27#if defined(M68K_INSTRUCTION_CACHE_ALIGNMENT)
28#define CPU_INSTRUCTION_CACHE_ALIGNMENT M68K_INSTRUCTION_CACHE_ALIGNMENT
29#endif
30
31#include "../../../shared/include/cache.h"
32
33#endif
34/* end of include file */
Note: See TracBrowser for help on using the repository browser.