summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-27 10:46:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-27 10:46:30 +0200
commitffe14b26c8ab8b79bdffc70e5985c78969ede4ee (patch)
tree8530764822a2c9cbbbf4939b66be34863af43610 /cpukit/sapi
parentsapi: Fix workspace size estimate (diff)
downloadrtems-ffe14b26c8ab8b79bdffc70e5985c78969ede4ee.tar.bz2
sapi: Fix workspace size estimate
Reserve a full minimum block to account for the heap protection enabled via RTEMS_DEBUG.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/confdefs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 0a12787aeb..70ad854177 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -27,7 +27,6 @@
*/
#include <rtems.h>
#include <rtems/score/apimutex.h>
-#include <rtems/score/heapimpl.h>
#include <rtems/score/wkspace.h>
#ifdef CONFIGURE_DISABLE_BSP_SETTINGS
@@ -2951,7 +2950,7 @@ const rtems_libio_helper rtems_fs_init_helper =
* _Heap_Block_split().
*/
#define CONFIGURE_HEAP_HANDLER_OVERHEAD \
- _Configure_Align_up( HEAP_ALLOC_BONUS, CPU_HEAP_ALIGNMENT )
+ _Configure_Align_up( HEAP_BLOCK_HEADER_SIZE, CPU_HEAP_ALIGNMENT )
/*
* Calculate the RAM size based on the maximum number of objects configured.