mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-20 19:33:12 +08:00
Add support for LPC32XX cache
This commit is contained in:
parent
ea395a736d
commit
5382f63980
7
rtemsbsd/include/machine/rtems-bsd-cache.h
Normal file → Executable file
7
rtemsbsd/include/machine/rtems-bsd-cache.h
Normal file → Executable file
@ -42,15 +42,12 @@
|
||||
|
||||
#include <bsp.h>
|
||||
|
||||
#if defined(LIBBSP_ARM_LPC24XX_BSP_H)
|
||||
#if defined(LIBBSP_ARM_LPC24XX_BSP_H) || (defined(LIBBSP_ARM_LPC32XX_BSP_H) && defined(LPC32XX_DISABLE_MMU))
|
||||
/* No cache */
|
||||
#elif defined(LIBBSP_ARM_ALTERA_CYCLONE_V_BSP_H) || \
|
||||
defined(LIBBSP_ARM_XILINX_ZYNQ_BSP_H)
|
||||
defined(LIBBSP_ARM_XILINX_ZYNQ_BSP_H) || (defined(LIBBSP_ARM_LPC32XX_BSP_H) && !defined(LPC32XX_DISABLE_MMU))
|
||||
/* With cache, no coherency support in hardware */
|
||||
#define CPU_DATA_CACHE_ALIGNMENT 32
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user