Changeset ffe14b26 in rtems for cpukit/sapi


Ignore:
Timestamp:
May 27, 2015, 8:46:30 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ec84273d
Parents:
3f1bf0c
Message:

sapi: Fix workspace size estimate

Reserve a full minimum block to account for the heap protection enabled
via RTEMS_DEBUG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r3f1bf0c rffe14b26  
    2828#include <rtems.h>
    2929#include <rtems/score/apimutex.h>
    30 #include <rtems/score/heapimpl.h>
    3130#include <rtems/score/wkspace.h>
    3231
     
    29522951 */
    29532952#define CONFIGURE_HEAP_HANDLER_OVERHEAD \
    2954   _Configure_Align_up( HEAP_ALLOC_BONUS, CPU_HEAP_ALIGNMENT )
     2953  _Configure_Align_up( HEAP_BLOCK_HEADER_SIZE, CPU_HEAP_ALIGNMENT )
    29552954
    29562955/*
Note: See TracChangeset for help on using the changeset viewer.