Changeset ec45e86 in rtems for c/src/lib/libcpu/shared


Ignore:
Timestamp:
Oct 12, 2000, 1:34:56 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
563ed95
Parents:
50bb7627
Message:

2000-10-12 Nick Simon <Nick.SIMON@…>

  • shared/src/cache_manager.c: Minor bug fix -- changed > to >= so the last address is invalidated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/shared/src/cache_manager.c

    r50bb7627 rec45e86  
    9696  final_address = (void *)((size_t)d_addr + n_bytes - 1);
    9797  d_addr = (void *)((size_t)d_addr & ~(CPU_DATA_CACHE_ALIGNMENT - 1));
    98   while( final_address > d_addr ) {
     98  while( final_address >= d_addr ) {
    9999    _CPU_cache_invalidate_1_data_line( d_addr );
    100100    d_addr = (void *)((size_t)d_addr + CPU_DATA_CACHE_ALIGNMENT);
Note: See TracChangeset for help on using the changeset viewer.