source: rtems-libbsd/rtemsbsd/include/machine/rtems-bsd-cache.h @ 5071600

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since 5071600 was 5071600, checked in by Sebastian Huber <sebastian.huber@…>, on 01/20/15 at 10:04:39

Add Xilinx Zynq BSP support

  • Property mode set to 100644
File size: 978 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup rtems_bsd_machine
5 *
6 * @brief TODO.
7 */
8
9/*
10 * Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 */
22
23#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CACHE_H_
24#define _RTEMS_BSD_MACHINE_RTEMS_BSD_CACHE_H_
25
26#include <bsp.h>
27
28#if defined(LIBBSP_ARM_LPC24XX_BSP_H)
29  /* No cache */
30#elif defined(LIBBSP_ARM_XILINX_ZYNQ_BSP_H)
31  /* With cache, no coherency support in hardware */
32  #define CPU_DATA_CACHE_ALIGNMENT 32
33#elif defined(LIBBSP_ARM_LPC32XX_BSP_H)
34  /* With cache, no coherency support in hardware */
35  #include <libcpu/cache.h>
36#elif defined(__GEN83xx_BSP_h)
37  /* With cache, coherency support in hardware */
38#endif
39
40#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_CACHE_H_ */
Note: See TracBrowser for help on using the repository browser.