Changeset df5be4c in rtems-docs


Ignore:
Timestamp:
Oct 12, 2021, 6:46:11 PM (8 weeks ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
46dbb6d
Parents:
887b8d3
Message:

task-stack-alloc.rst: Add CONFIGURE_TASK_STACK_FROM_ALLOCATOR

Updates #4524.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c-user/config/task-stack-alloc.rst

    r887b8d3 rdf5be4c  
    200200    This configuration option may be used if a custom task stack allocator is
    201201    configured, see :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`.
     202
     203.. index:: _CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
     204.. index:: IDLE task stack allocator
     205
     206.. _CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE:
     207
     208CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
     209---------------------------------------
     210
     211CONSTANT:
     212    ``CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE``
     213
     214OPTION TYPE:
     215    This configuration option is an initializer define.
     216
     217DEFAULT VALUE:
     218    The default value is ``_Stack_Allocator_allocate_for_idle``, which
     219    indicates that IDLE task stacks will be allocated from an area statically
     220    reserved by `<rtems/confdefs.h>``.
     221
     222VALUE CONSTRAINTS:
     223    The value of this configuration option shall be defined to a valid
     224    function pointer of the type ``void *( *allocate )( uint32_t, size_t )``.
     225
     226DESCRIPTION:
     227    The value of this configuration option is the address for the the
     228    IDLE stack allocator allocate handler.
     229
     230NOTES:
     231    This configuration option is independent of the other thread stack allocator
     232    configuration options. It is assumed that any memory allocated for IDLE
     233    task stacks will not be from the RTEMS Workspace or the memory statically
     234    reserved by default.
Note: See TracChangeset for help on using the changeset viewer.