Ignore:
Timestamp:
Jun 14, 2000, 8:32:44 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b91b1cf
Parents:
9b05600
Message:

Patch from John Cotton <john.cotton@…> to correct cache
routine naming to follow RTEMS package/object.method rule.
This patch also eliminated calls to the obsolete routine
m68k_enable_caching.

File:
1 edited

Legend:

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

    r9b05600 r5e77d129  
    4343  } while (0)
    4444
    45 void _CPU_enable_data_cache (
     45void _CPU_cache_enable_data (
    4646        void )
    4747{
     
    5252}
    5353
    54 void _CPU_disable_data_cache (
     54void _CPU_cache_disable_data (
    5555        void )
    5656{
     
    6161}
    6262
    63 void _CPU_enable_inst_cache (
     63void _CPU_cache_enable_inst (
    6464        void )
    6565{
     
    7070}
    7171
    72 void _CPU_disable_inst_cache (
     72void _CPU_cache_disable_inst (
    7373        void )
    7474{
     
    8686  __asm__ volatile ("isync\n"::)
    8787
    88 void _CPU_flush_1_data_cache_line(
     88void _CPU_cache_flush_1_data_line(
    8989        const void * _address )
    9090{
     
    9393}
    9494
    95 void _CPU_invalidate_1_data_cache_line(
     95void _CPU_cache_invalidate_1_data_line(
    9696        const void * _address )
    9797{
     
    100100}
    101101
    102 void _CPU_flush_entire_data_cache ( void ) {}
    103 void _CPU_invalidate_entire_data_cache ( void ) {}
    104 void _CPU_freeze_data_cache ( void ) {}
    105 void _CPU_unfreeze_data_cache ( void ) {}
     102void _CPU_cache_flush_entire_data ( void ) {}
     103void _CPU_cache_invalidate_entire_data ( void ) {}
     104void _CPU_cache_freeze_data ( void ) {}
     105void _CPU_cache_unfreeze_data ( void ) {}
    106106
    107 void _CPU_enable_data_cache ( void )
     107void _CPU_cache_enable_data ( void )
    108108{
    109109  unsigned32 r1;
     
    113113}
    114114
    115 void _CPU_disable_data_cache ( void )
     115void _CPU_cache_disable_data ( void )
    116116{
    117117  unsigned32 r1;
     
    121121}
    122122
    123 void _CPU_invalidate_1_inst_cache_line(
     123void _CPU_cache_invalidate_1_inst_line(
    124124        const void * _address )
    125125{
     
    128128}
    129129
    130 void _CPU_invalidate_entire_inst_cache ( void ) {}
    131 void _CPU_freeze_inst_cache ( void ) {}
    132 void _CPU_unfreeze_inst_cache ( void ) {}
     130void _CPU_cache_invalidate_entire_inst ( void ) {}
     131void _CPU_cache_freeze_inst ( void ) {}
     132void _CPU_cache_unfreeze_inst ( void ) {}
    133133
    134 void _CPU_enable_inst_cache ( void )
     134void _CPU_cache_enable_inst ( void )
    135135{
    136136  unsigned32 r1;
     
    140140}
    141141
    142 void _CPU_disable_inst_cache ( void )
     142void _CPU_cache_disable_inst ( void )
    143143{
    144144  unsigned32 r1;
Note: See TracChangeset for help on using the changeset viewer.