5
Last change
on this file since d584269 was
4cf93658,
checked in by Sebastian Huber <sebastian.huber@…>, on 01/27/18 at 13:37:51
|
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/@RTEMS_CPU@/shared/cache
- bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c
Update #3285.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2008. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.org/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #include <rtems.h> |
---|
11 | #include <mcf5223x/mcf5223x.h> |
---|
12 | #include "cache.h" |
---|
13 | |
---|
14 | /* |
---|
15 | * Cannot be frozen |
---|
16 | */ |
---|
17 | static void _CPU_cache_freeze_data(void) {} |
---|
18 | static void _CPU_cache_unfreeze_data(void) {} |
---|
19 | static void _CPU_cache_freeze_instruction(void) {} |
---|
20 | static void _CPU_cache_unfreeze_instruction(void) {} |
---|
21 | |
---|
22 | /* |
---|
23 | * Write-through data cache -- flushes are unnecessary |
---|
24 | */ |
---|
25 | static void _CPU_cache_flush_1_data_line(const void *d_addr) {} |
---|
26 | static void _CPU_cache_flush_entire_data(void) {} |
---|
27 | |
---|
28 | static void _CPU_cache_enable_instruction(void) {} |
---|
29 | static void _CPU_cache_disable_instruction(void) {} |
---|
30 | static void _CPU_cache_invalidate_entire_instruction(void) {} |
---|
31 | static void _CPU_cache_invalidate_1_instruction_line(const void *addr) {} |
---|
32 | |
---|
33 | static void _CPU_cache_enable_data(void) {} |
---|
34 | static void _CPU_cache_disable_data(void) {} |
---|
35 | static void _CPU_cache_invalidate_entire_data(void) {} |
---|
36 | static void _CPU_cache_invalidate_1_data_line(const void *addr) {} |
---|
37 | |
---|
38 | #include "../../../shared/cache/cacheimpl.h" |
---|
Note: See
TracBrowser
for help on using the repository browser.