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 */ |
---|