source: rtems/c/src/lib/libcpu/sparc/cache/cache.c @ f55215a

4.115
Last change on this file since f55215a was f55215a, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 10, 2013 at 6:50:24 AM

bsps: Fix cache manager support

  • Property mode set to 100644
File size: 583 bytes
Line 
1/*
2 *  Cache Management Support Routines for the SPARC
3 */
4
5#include <rtems.h>
6#include "cache_.h"
7
8
9#if defined(HAS_INSTRUCTION_CACHE)
10
11void _CPU_cache_invalidate_entire_instruction ( void )
12{
13  __asm__ volatile ("flush");
14}
15
16/* XXX these need to be addressed */
17
18void _CPU_cache_invalidate_instruction_range(
19  const void *i_addr,
20  size_t n_bytes
21)
22{
23}
24
25void _CPU_cache_freeze_instruction ( void )
26{
27}
28
29void _CPU_cache_unfreeze_instruction ( void )
30{
31}
32
33void _CPU_cache_enable_instruction ( void )
34{
35}
36
37void _CPU_cache_disable_instruction (   void )
38{
39}
40
41#endif
42/* end of file */
Note: See TracBrowser for help on using the repository browser.