Changeset 4bf2a6aa in rtems


Ignore:
Timestamp:
Apr 27, 2015, 7:40:16 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
7f53035
Parents:
1602bf3
Message:

bsps/cache: Clarify range functions support

Location:
c/src/lib/libcpu/shared
Files:
2 edited

Legend:

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

    r1602bf3 r4bf2a6aa  
    2222#define __LIBCPU_CACHE_h
    2323
    24 void _CPU_cache_flush_data_range(const void *d_addr, size_t n_bytes);
    2524void _CPU_cache_flush_1_data_line(const void *d_addr);
    26 void _CPU_cache_invalidate_data_range(const void *d_addr, size_t n_bytes);
    2725void _CPU_cache_invalidate_1_data_line(const void *d_addr);
    2826void _CPU_cache_freeze_data(void);
  • c/src/lib/libcpu/shared/src/cache_manager.c

    r1602bf3 r4bf2a6aa  
    2121 *
    2222 *  The cache implementation header file can define
    23  *  CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS
     23 *
     24 *    #define CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS
     25 *
    2426 *  if it provides cache maintenance functions which operate on multiple lines.
    25  *  Otherwise a generic loop with single line operations will be used.
     27 *  Otherwise a generic loop with single line operations will be used.  It is
     28 *  strongly recommended to provide the implementation in terms of static
     29 *  inline functions for performance reasons.
    2630 *
    2731 *  The functions below are implemented with CPU dependent inline routines
Note: See TracChangeset for help on using the changeset viewer.