Changeset 74ac113 in rtems


Ignore:
Timestamp:
Aug 21, 2011, 7:51:41 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
e5ca6593
Parents:
a385489
Message:

2011-08-21 Joel Sherrill <joel.sherrilL@…>

PR 1873/cpukit

  • score/include/rtems/score/heap.h: When using heap protection, we should account for adding an aligned protection footer.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra385489 r74ac113  
     12011-08-21      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        PR 1873/cpukit
     4        * score/include/rtems/score/heap.h: When using heap protection, we
     5        should account for adding an aligned protection footer.
     6
    172011-08-17      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • cpukit/score/include/rtems/score/heap.h

    ra385489 r74ac113  
    178178
    179179  #define HEAP_PROTECTION_HEADER_SIZE \
    180     (sizeof(Heap_Protection_block_begin) + sizeof(Heap_Protection_block_end))
     180    (sizeof(Heap_Protection_block_begin) + \
     181     CPU_ALIGNMENT + \
     182     sizeof(Heap_Protection_block_end))
    181183#endif
    182184
Note: See TracChangeset for help on using the changeset viewer.