source: rtems/c/src/lib/libcpu/nios2/shared/cache/cache.c @ 1e2c611

4.104.114.84.9
Last change on this file since 1e2c611 was 1e2c611, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 9, 2006 at 9:01:16 PM

2006-08-09 Kolja Waschk <waschk@…>

  • nios2/Makefile.am, nios2/configure.ac, nios2/preinstall.am, nios2/shared/cache/cache.c, nios2/shared/cache/cache_.h, nios2/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.