Changeset d2978ee9 in rtems
- Timestamp:
- 08/10/00 14:09:51 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 4a5578a
- Parents:
- e94ad1fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/shared/src/cache_manager.c
re94ad1fe rd2978ee9 58 58 */ 59 59 60 if( n_bytes == 0 ) 61 /* Do nothing if number of bytes to flush is zero */ 62 return; 63 60 64 final_address = (void *)((size_t)d_addr + n_bytes - 1); 61 65 d_addr = (void *)((size_t)d_addr & ~(CPU_DATA_CACHE_ALIGNMENT - 1)); … … 86 90 */ 87 91 92 if( n_bytes == 0 ) 93 /* Do nothing if number of bytes to invalidate is zero */ 94 return; 95 88 96 final_address = (void *)((size_t)d_addr + n_bytes - 1); 89 97 d_addr = (void *)((size_t)d_addr & ~(CPU_DATA_CACHE_ALIGNMENT - 1)); … … 209 217 */ 210 218 219 if( n_bytes == 0 ) 220 /* Do nothing if number of bytes to invalidate is zero */ 221 return; 222 211 223 final_address = (void *)((size_t)i_addr + n_bytes - 1); 212 224 i_addr = (void *)((size_t)i_addr & ~(CPU_INSTRUCTION_CACHE_ALIGNMENT - 1));
Note: See TracChangeset
for help on using the changeset viewer.