source: rtems/c/src/lib/libcpu/nios2/shared/cache/cache_.h @ 1e2c611

4.104.114.84.95
Last change on this file since 1e2c611 was 1e2c611, checked in by Joel Sherrill <joel.sherrill@…>, on 08/09/06 at 21:01:16

2006-08-09 Kolja Waschk <waschk@…>

  • nios2/Makefile.am, nios2/configure.ac, nios2/preinstall.am, nios2/shared/cache/cache.c, nios2/shared/cache/cache_.h, nios2/shared/misc/memcpy.c: New files.
  • Property mode set to 100644
File size: 885 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 <libcpu/cache.h>
32
33#endif
34/* end of include file */
Note: See TracBrowser for help on using the repository browser.