source: rtems/c/src/lib/libcpu/shared/src/no_cache.c @ 42ce035

4.104.115
Last change on this file since 42ce035 was 42ce035, checked in by Joel Sherrill <joel.sherrill@…>, on 05/30/10 at 15:46:17

2010-05-30 Joel Sherrill <joel.sherrill@…>

  • shared/src/no_cache.c: New file.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  STUB Cache Management Support Routines
3 *
4 *  $Id$
5 */
6
7#include <rtems.h>
8#include "cache_.h"
9
10/*
11 * CACHE MANAGER: The following functions should be implemented
12 * properly for each CPU if it has a cache.  These provide the basic
13 * implementation for the rtems_* cache management routines. If a given
14 * function has no meaning for the CPU, then just let your implementation
15 * do nothing.
16 *
17 * This is just a series of stubs.
18 */
19
20void _CPU_cache_freeze_data ( void ) {}
21void _CPU_cache_unfreeze_data ( void ) {}
22void _CPU_cache_freeze_instruction ( void ) {}
23void _CPU_cache_unfreeze_instruction ( void ) {}
24
25void _CPU_cache_flush_1_data_line (
26  const void * d_addr )
27{
28}
29
30void _CPU_cache_invalidate_1_data_line (
31  const void * d_addr )
32{
33}
34
35void _CPU_cache_flush_entire_data ( void )
36{
37}
38
39void _CPU_cache_invalidate_entire_data ( void )
40{
41}
42
43void _CPU_cache_enable_data ( void )
44{
45}
46
47void _CPU_cache_disable_data ( void )
48{
49}
50
51void _CPU_cache_invalidate_1_instruction_line (
52  const void * i_addr )
53{
54}
55
56void _CPU_cache_invalidate_entire_instruction ( void )
57{
58}
59
60void _CPU_cache_enable_instruction ( void )
61{
62}
63
64void _CPU_cache_disable_instruction ( void )
65{
66}
67/* end of file */
Note: See TracBrowser for help on using the repository browser.