source: rtems/c/src/lib/libcpu/m68k/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: 1.1 KB
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#elif ( defined(__mcf5300__) )
22# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
23# define M68K_DATA_CACHE_ALIGNMENT 16
24#elif defined(__mcfv4e__)
25# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
26# define M68K_DATA_CACHE_ALIGNMENT 16
27#endif
28
29#if defined(M68K_DATA_CACHE_ALIGNMENT)
30#define CPU_DATA_CACHE_ALIGNMENT M68K_DATA_CACHE_ALIGNMENT
31#endif
32
33#if defined(M68K_INSTRUCTION_CACHE_ALIGNMENT)
34#define CPU_INSTRUCTION_CACHE_ALIGNMENT M68K_INSTRUCTION_CACHE_ALIGNMENT
35#endif
36
37#include "../../../shared/include/cache.h"
38
39#endif
40/* end of include file */
Note: See TracBrowser for help on using the repository browser.