4.104.114.84.95
Last change
on this file since 73b5bd5d 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:
799 bytes
|
Rev | Line | |
---|
[0a18747] | 1 | /* |
---|
| 2 | * PowerPC Cache Manager Support |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | #ifndef __POWERPC_CACHE_h |
---|
| 6 | #define __POWERPC_CACHE_h |
---|
| 7 | |
---|
| 8 | /* |
---|
| 9 | * CACHE MANAGER: The following functions are CPU-specific. |
---|
| 10 | * They provide the basic implementation for the rtems_* cache |
---|
| 11 | * management routines. If a given function has no meaning for the CPU, |
---|
| 12 | * it does nothing by default. |
---|
| 13 | * |
---|
| 14 | * FIXME: Some functions simply have not been implemented. |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #if defined(ppc603) /* And possibly others */ |
---|
[5e77d129] | 18 | #define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT |
---|
| 19 | #define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT |
---|
[0a18747] | 20 | |
---|
| 21 | #elif ( defined(mpc860) || defined(mpc821) ) |
---|
| 22 | |
---|
[5e77d129] | 23 | #define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT |
---|
| 24 | #define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT |
---|
[0a18747] | 25 | |
---|
| 26 | #endif |
---|
| 27 | |
---|
| 28 | #include <libcpu/cache.h> |
---|
| 29 | |
---|
| 30 | #endif |
---|
| 31 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.