Files
rtems/bsps/m68k/shared/cache/cache-mcf5225x.c
Sebastian Huber 4cf93658ef bsps: Rework cache manager implementation
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file.  Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

* bsps/shared/cache

* bsps/@RTEMS_CPU@/shared/cache

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.
2018-01-31 12:49:09 +01:00

35 lines
1012 B
C

/**
* @file
*
* Cache Management Support Routines for the MCF5225x
*/
#include <rtems.h>
#include "cache.h"
/*
* Cannot be frozen
*/
static void _CPU_cache_freeze_data(void) {}
static void _CPU_cache_unfreeze_data(void) {}
static void _CPU_cache_freeze_instruction(void) {}
static void _CPU_cache_unfreeze_instruction(void) {}
/*
* Write-through data cache -- flushes are unnecessary
*/
static void _CPU_cache_flush_1_data_line(const void *d_addr) {}
static void _CPU_cache_flush_entire_data(void) {}
static void _CPU_cache_enable_instruction(void) {}
static void _CPU_cache_disable_instruction(void) {}
static void _CPU_cache_invalidate_entire_instruction(void) {}
static void _CPU_cache_invalidate_1_instruction_line(const void *addr) {}
static void _CPU_cache_enable_data(void) {}
static void _CPU_cache_disable_data(void) {}
static void _CPU_cache_invalidate_entire_data(void) {}
static void _CPU_cache_invalidate_1_data_line(const void *addr) {}
#include "../../../shared/cache/cacheimpl.h"