summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/sparc/cache/cache.c
blob: e87f7c0fc6892f5e82832a9f9e730555c01de7a5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
  
                                                   









                                                      
                             
 
 
                                    







                                             
















                                              
                 
/*
 *  Cache Management Support Routines for the SPARC
 */

#include <rtems.h>
#include "cache_.h"


#if defined(HAS_INSTRUCTION_CACHE)

void _CPU_cache_invalidate_entire_instruction ( void )
{
  __asm__ volatile ("flush");
}

/* XXX these need to be addressed */

void _CPU_cache_invalidate_instruction_range(
  const void *i_addr,
  size_t n_bytes
)
{
}

void _CPU_cache_freeze_instruction ( void )
{
}

void _CPU_cache_unfreeze_instruction ( void )
{
}

void _CPU_cache_enable_instruction ( void )
{
}

void _CPU_cache_disable_instruction (   void )
{
}

#endif
/* end of file */