Changeset 54444d5 in rtems


Ignore:
Timestamp:
Nov 28, 2007, 8:56:21 PM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
901ebab4
Parents:
b8596d8
Message:

2007-11-28 Till Straumann <strauman@…>

  • shared/src/cache.c: removed redundant mpc8xx versions of flush/invalidate 1 cache line routines.
Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    rb8596d8 r54444d5  
     12007-11-28      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * shared/src/cache.c: removed redundant mpc8xx versions
     4        of flush/invalidate 1 cache line routines.
     5
    162007-11-13      Till Straumann <strauman@slac.stanford.edu>
    27
  • c/src/lib/libcpu/powerpc/shared/src/cache.c

    rb8596d8 r54444d5  
    155155  __asm__ volatile ("isync\n"::)
    156156
    157 void _CPU_cache_flush_1_data_line(
    158         const void * _address )
    159 {
    160   register const void *__address = _address;
    161   asm volatile ( "dcbf 0,%0" :: "r" (__address) : "memory" );
    162 }
    163 
    164 void _CPU_cache_invalidate_1_data_line(
    165         const void * _address )
    166 {
    167   register const void *__address = _address;
    168   asm volatile ( "dcbi 0,%0" :: "r"(__address) : "memory" );
    169 }
    170 
    171157void _CPU_cache_flush_entire_data ( void ) {}
    172158void _CPU_cache_invalidate_entire_data ( void ) {}
     
    190176}
    191177
    192 void _CPU_cache_invalidate_1_instruction_line(
    193         const void * _address )
    194 {
    195   register const void *__address = _address;
    196   asm volatile ( "icbi 0,%0" :: "r" (__address) : "memory");
    197 }
    198 
    199178void _CPU_cache_invalidate_entire_instruction ( void ) {}
    200179void _CPU_cache_freeze_instruction ( void ) {}
Note: See TracChangeset for help on using the changeset viewer.