source: rtems/c/src/lib/libcpu/lm32/shared/cache/cache.c @ 5485a4d7

4.104.115
Last change on this file since 5485a4d7 was 74c6f36, checked in by Joel Sherrill <joel.sherrill@…>, on 12/04/08 at 22:55:42

2008-12-04 Jukka Pietarinen <jukka.pietarinen@…>

  • ChangeLog?, Makefile.am, configure.ac, preinstall.am, shared/cache/cache.c, shared/cache/cache_.h, shared/misc/memcpy.c: New files.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 *  Cache Management Support Routines for the MC68040
3 *
4 *  $Id$
5 */
6
7#include <rtems.h>
8#include "cache_.h"
9
10/*
11 * CACHE MANAGER: The following functions are CPU-specific.
12 * They provide the basic implementation for the rtems_* cache
13 * management routines. If a given function has no meaning for the CPU,
14 * it does nothing by default.
15 */
16
17void _CPU_cache_freeze_data ( void ) {}
18void _CPU_cache_unfreeze_data ( void ) {}
19void _CPU_cache_freeze_instruction ( void ) {}
20void _CPU_cache_unfreeze_instruction ( void ) {}
21
22void _CPU_cache_flush_1_data_line (
23  const void * d_addr )
24{
25  void * p_address = (void *) _CPU_virtual_to_physical( d_addr );
26}
27
28void _CPU_cache_invalidate_1_data_line (
29  const void * d_addr )
30{
31  void * p_address = (void *) _CPU_virtual_to_physical( d_addr );
32}
33
34void _CPU_cache_flush_entire_data ( void )
35{
36}
37
38void _CPU_cache_invalidate_entire_data ( void )
39{
40}
41
42void _CPU_cache_enable_data ( void )
43{
44}
45
46void _CPU_cache_disable_data ( void )
47{
48}
49
50void _CPU_cache_invalidate_1_instruction_line (
51  const void * i_addr )
52{
53  void * p_address = (void *)  _CPU_virtual_to_physical( i_addr );
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.