source: rtems/c/src/lib/libcpu/powerpc/shared/src/cache_.h @ b91b1cf

4.104.114.84.95
Last change on this file since b91b1cf was 5e77d129, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 14, 2000 at 8:32:44 PM

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
Line 
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 */
18#define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
19#define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
20
21#elif ( defined(mpc860) || defined(mpc821) )
22
23#define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
24#define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
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.