Changeset f55215a in rtems


Ignore:
Timestamp:
Sep 10, 2013, 6:50:24 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
3dbb68d
Parents:
784d2a1
git-author:
Sebastian Huber <sebastian.huber@…> (09/10/13 06:50:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/10/13 06:51:06)
Message:

bsps: Fix cache manager support

Location:
c/src/lib/libcpu
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/shared/include/cache.h

    r784d2a1 rf55215a  
    2222#define __LIBCPU_CACHE_h
    2323
     24void _CPU_cache_flush_data_range(const void *d_addr, size_t n_bytes);
    2425void _CPU_cache_flush_1_data_line(const void *d_addr);
     26void _CPU_cache_invalidate_data_range(const void *d_addr, size_t n_bytes);
    2527void _CPU_cache_invalidate_1_data_line(const void *d_addr);
    2628void _CPU_cache_freeze_data(void);
    2729void _CPU_cache_unfreeze_data(void);
     30void _CPU_cache_invalidate_instruction_range(const void *i_addr, size_t n_bytes);
    2831void _CPU_cache_invalidate_1_instruction_line(const void *d_addr);
    2932void _CPU_cache_freeze_instruction(void);
  • c/src/lib/libcpu/sparc/cache/cache.c

    r784d2a1 rf55215a  
    1515
    1616/* 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
    1725void _CPU_cache_freeze_instruction ( void )
    1826{
  • c/src/lib/libcpu/sparc/cache/cache_.h

    r784d2a1 rf55215a  
    1616
    1717#if defined(HAS_INSTRUCTION_CACHE)
     18#define CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS
    1819#define CPU_INSTRUCTION_CACHE_ALIGNMENT 0
    1920#endif
Note: See TracChangeset for help on using the changeset viewer.