diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-07 16:14:13 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-07 16:14:13 -0600 |
commit | cbffdb7fdc50cbf0175fd5cb6ae32f6f115d6035 (patch) | |
tree | 2c5aa2ff0a7e9a24df6e098860675a8d3ff9e24e /rtemsbsd/include/machine/rtems-bsd-cache.h | |
parent | Add rmlock - almost links (diff) | |
download | rtems-libbsd-cbffdb7fdc50cbf0175fd5cb6ae32f6f115d6035.tar.bz2 |
Separate RTEMS Specific Files from Those Direct from FreeBSD
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-cache.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-cache.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h b/rtemsbsd/include/machine/rtems-bsd-cache.h new file mode 100644 index 00000000..77cc0794 --- /dev/null +++ b/rtemsbsd/include/machine/rtems-bsd-cache.h @@ -0,0 +1,37 @@ +/** + * @file + * + * @ingroup rtems_bsd_machine + * + * @brief TODO. + */ + +/* + * Copyright (c) 2010 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CACHE_H_ +#define _RTEMS_BSD_MACHINE_RTEMS_BSD_CACHE_H_ + +#include <bsp.h> + +#if defined(LIBBSP_ARM_LPC24XX_BSP_H) + /* No cache */ +#elif defined(LIBBSP_ARM_LPC32XX_BSP_H) + /* With cache, no coherency support in hardware */ + #include <libcpu/cache.h> +#elif defined(__GEN83xx_BSP_h) + /* With cache, coherency support in hardware */ +#endif + +#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_CACHE_H_ */ |