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

4.104.114.9
Last change on this file since 677cf05f was 677cf05f, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 17, 2008 at 2:39:17 PM

bugfixes for mpc8349eamds BSP

  • Property mode set to 100644
File size: 559 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/powerpc/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.