4.104.114.84.95
Last change
on this file since 5321250 was
5e77d129,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/00 at 20:32:44
|
Patch from John Cotton <john.cotton@…> to correct cache
routine naming to follow RTEMS package/object.method rule.
This patch also eliminated calls to the obsolete routine
m68k_enable_caching.
|
-
Property mode set to
100644
|
File size:
701 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__) |
---|
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 | #endif |
---|
17 | |
---|
18 | #if defined(M68K_DATA_CACHE_ALIGNMENT) |
---|
19 | #define CPU_DATA_CACHE_ALIGNMENT M68K_DATA_CACHE_ALIGNMENT |
---|
20 | #endif |
---|
21 | |
---|
22 | #if defined(M68K_INSTRUCTION_CACHE_ALIGNMENT) |
---|
23 | #define CPU_INSTRUCTION_CACHE_ALIGNMENT M68K_INSTRUCTION_CACHE_ALIGNMENT |
---|
24 | #endif |
---|
25 | |
---|
26 | #include <libcpu/cache.h> |
---|
27 | |
---|
28 | #endif |
---|
29 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.