[Bug 1924] Enhanced stack allocator configuration

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Nov 9 12:58:23 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1924

Sebastian Huber <sebastian.huber at embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1358|0                           |1
        is obsolete|                            |

--- Comment #2 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-11-09 06:58:22 CST ---
Created attachment 1370
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1370
Configuration changes.

This patch adds the following fields to the Configuration:

+  /** This field specifies the size in bytes of the RTEMS thread stack space.
+   */
+  uintptr_t                      stack_space_size;
+
+  /**
+   * @brief Specifies if a unified work area is used or not.
+   *
+   * If this element is @a true, then the RTEMS Workspace and the C Program
+   * Heap use the same heap, otherwise they use separate heaps.
+   */
+  bool                           unified_work_area;
+
+  /**
+   * @brief Specifies if the stack allocator avoids the work space.
+   *
+   * If this element is @a true, then the stack allocator must not allocate
the
+   * thread stacks from the RTEMS Workspace, otherwise it should allocate the
+   * thread stacks from the RTEMS Workspace.
+   */
+  bool                           stack_allocator_avoids_work_space;

The unified_work_area field replaces the rtems_unified_work_area global
variable.

The work space estimate is split up into a separate work and stack space
estimate.

A new CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE configuration define is
available.

-- 
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