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

4.104.114.84.95
Last change on this file since 0a18747 was 0a18747, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 14, 2000 at 3:39:31 PM

New files containing cache manager functionality stripped from
score/cpu/powerpc.

  • Property mode set to 100644
File size: 789 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_INST_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_INST_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.