forked from Imagelibrary/rtems
Add ColdFire cache information.
This commit is contained in:
@@ -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,
|
||||
|
||||
16
c/src/lib/libcpu/m68k/shared/cache/cache_.h
vendored
16
c/src/lib/libcpu/m68k/shared/cache/cache_.h
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user