[Bug 1672] Heap protection
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Wed Aug 25 14:33:24 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1672
--- Comment #5 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-08-25 09:33:23 CDT ---
Committed to CVS head.
We have now a problem to run all tests. The workspace size estimate is wrong.
How is the heap block administration overhead accounted? I used this as a
temporary workaround:
Index: sapi/include/confdefs.h
===================================================================
RCS file: /usr1/CVS/rtems/cpukit/sapi/include/confdefs.h,v
retrieving revision 1.149
diff -u -r1.149 confdefs.h
--- sapi/include/confdefs.h 11 Aug 2010 12:16:11 -0000 1.149
+++ sapi/include/confdefs.h 25 Aug 2010 14:30:25 -0000
@@ -2000,7 +2000,11 @@
*/
rtems_configuration_table Configuration = {
NULL, /* filled in by BSP */
- CONFIGURE_EXECUTIVE_RAM_SIZE, /* required RTEMS workspace */
+ #ifndef RTEMS_DEBUG
+ CONFIGURE_EXECUTIVE_RAM_SIZE, /* required RTEMS workspace */
+ #else
+ (CONFIGURE_EXECUTIVE_RAM_SIZE * 11) / 10,
+ #endif
CONFIGURE_MAXIMUM_USER_EXTENSIONS, /* maximum dynamic extensions */
CONFIGURE_MICROSECONDS_PER_TICK, /* microseconds per clock tick
*/
CONFIGURE_TICKS_PER_TIMESLICE, /* ticks per timeslice quantum
*/
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list