Changeset 5e77d129 in rtems for c/src/lib/libcpu/powerpc/shared/src
- Timestamp:
- Jun 14, 2000, 8:32:44 PM (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b91b1cf
- Parents:
- 9b05600
- Location:
- c/src/lib/libcpu/powerpc/shared/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/shared/src/cache.c
r9b05600 r5e77d129 43 43 } while (0) 44 44 45 void _CPU_ enable_data_cache(45 void _CPU_cache_enable_data ( 46 46 void ) 47 47 { … … 52 52 } 53 53 54 void _CPU_ disable_data_cache(54 void _CPU_cache_disable_data ( 55 55 void ) 56 56 { … … 61 61 } 62 62 63 void _CPU_ enable_inst_cache(63 void _CPU_cache_enable_inst ( 64 64 void ) 65 65 { … … 70 70 } 71 71 72 void _CPU_ disable_inst_cache(72 void _CPU_cache_disable_inst ( 73 73 void ) 74 74 { … … 86 86 __asm__ volatile ("isync\n"::) 87 87 88 void _CPU_ flush_1_data_cache_line(88 void _CPU_cache_flush_1_data_line( 89 89 const void * _address ) 90 90 { … … 93 93 } 94 94 95 void _CPU_ invalidate_1_data_cache_line(95 void _CPU_cache_invalidate_1_data_line( 96 96 const void * _address ) 97 97 { … … 100 100 } 101 101 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 ) {}102 void _CPU_cache_flush_entire_data ( void ) {} 103 void _CPU_cache_invalidate_entire_data ( void ) {} 104 void _CPU_cache_freeze_data ( void ) {} 105 void _CPU_cache_unfreeze_data ( void ) {} 106 106 107 void _CPU_ enable_data_cache( void )107 void _CPU_cache_enable_data ( void ) 108 108 { 109 109 unsigned32 r1; … … 113 113 } 114 114 115 void _CPU_ disable_data_cache( void )115 void _CPU_cache_disable_data ( void ) 116 116 { 117 117 unsigned32 r1; … … 121 121 } 122 122 123 void _CPU_ invalidate_1_inst_cache_line(123 void _CPU_cache_invalidate_1_inst_line( 124 124 const void * _address ) 125 125 { … … 128 128 } 129 129 130 void _CPU_ invalidate_entire_inst_cache( void ) {}131 void _CPU_ freeze_inst_cache( void ) {}132 void _CPU_ unfreeze_inst_cache( void ) {}130 void _CPU_cache_invalidate_entire_inst ( void ) {} 131 void _CPU_cache_freeze_inst ( void ) {} 132 void _CPU_cache_unfreeze_inst ( void ) {} 133 133 134 void _CPU_ enable_inst_cache( void )134 void _CPU_cache_enable_inst ( void ) 135 135 { 136 136 unsigned32 r1; … … 140 140 } 141 141 142 void _CPU_ disable_inst_cache( void )142 void _CPU_cache_disable_inst ( void ) 143 143 { 144 144 unsigned32 r1; -
c/src/lib/libcpu/powerpc/shared/src/cache_.h
r9b05600 r5e77d129 16 16 17 17 #if defined(ppc603) /* And possibly others */ 18 #define _CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT19 #define _CPU_INST_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT18 #define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT 19 #define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT 20 20 21 21 #elif ( defined(mpc860) || defined(mpc821) ) 22 22 23 #define _CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT24 #define _CPU_INST_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT23 #define CPU_DATA_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT 24 #define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT 25 25 26 26 #endif
Note: See TracChangeset
for help on using the changeset viewer.