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

4.104.114.95
Last change on this file since ecb869f was 574fb67, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 07/14/08 at 16:15:28

updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP

  • Property mode set to 100644
File size: 557 bytes
Line 
1/**
2 * @file
3 *
4 * #ingroup powerpc_shared
5 *
6 * @brief Header file for the Cache Manager PowerPC support.
7 */
8
9#ifndef LIBCPU_POWERPC_CACHE_H
10#define LIBCPU_POWERPC_CACHE_H
11
12#include <rtems/score/powerpc.h>
13
14/* Provide the CPU defines only if we have a cache */
15#if PPC_CACHE_ALIGNMENT != PPC_NO_CACHE_ALIGNMENT
16  #define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
17  #define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
18#endif
19
20#ifdef _OLD_EXCEPTIONS
21# warning OLD EXCEPTIONS
22# include <libcpu/cache.h>
23#endif
24
25#endif /* LIBCPU_POWERPC_CACHE_H */
Note: See TracBrowser for help on using the repository browser.