Changeset 42fe0d3 in rtems


Ignore:
Timestamp:
Nov 25, 2014, 7:36:58 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
7981a88
Parents:
02733495
git-author:
Sebastian Huber <sebastian.huber@…> (11/25/14 07:36:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/25/14 15:08:16)
Message:

bsps/arm: L2C 310 avoid infinite loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h

    r02733495 r42fe0d3  
    883883  volatile L2CC *l2cc = (volatile L2CC *) BSP_ARM_L2C_310_BASE;
    884884
     885  if ( n_bytes == 0 ) {
     886    return;
     887  }
     888
    885889  for (;
    886890       adx      <= ADDR_LAST;
     
    946950    L2C_310_MIN( ADDR_LAST, adx + L2C_310_MAX_LOCKING_BYTES );
    947951  volatile L2CC *l2cc = (volatile L2CC *) BSP_ARM_L2C_310_BASE;
     952
     953  if ( n_bytes == 0 ) {
     954    return;
     955  }
    948956
    949957  for (;
Note: See TracChangeset for help on using the changeset viewer.