Add ColdFire cache information.

This commit is contained in:
Eric Norum
2005-01-31 18:59:24 +00:00
parent 7a2ebd396e
commit 9be8c2dab8
2 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2005-01-28 Eric Norum <norume@aps.anl.gov>
* shared/cache/cache_.h: Add ColdFire entries
2005-01-28 Eric Norum <norume@aps.anl.gov>
* Makefile.am, configure.ac, mcf5282/Makefile.am,

View File

@@ -6,13 +6,19 @@
#define __M68K_CACHE_h
#if (defined(__mc68020__) && !defined(__mcpu32__))
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#elif defined(__mc68030__)
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#define M68K_DATA_CACHE_ALIGNMENT 16
# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
# define M68K_DATA_CACHE_ALIGNMENT 16
#elif ( defined(__mc68040__) || defined (__mc68060__) )
#define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
#define M68K_DATA_CACHE_ALIGNMENT 16
# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
# define M68K_DATA_CACHE_ALIGNMENT 16
#elif ( defined(__mcf5200__) )
# define M68K_INSTRUCTION_CACHE_ALIGNMENT 16
# if ( defined(__mcf528x__) )
# define M68K_DATA_CACHE_ALIGNMENT 16
# warning "COLDFIRE_DATA_CACHE_ALIGNMENT"
# endif
#endif
#if defined(M68K_DATA_CACHE_ALIGNMENT)