Changeset 30e5832 in rtems-docs


Ignore:
Timestamp:
Oct 5, 2021, 7:37:01 PM (2 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
5
Parents:
7c43a4b
git-author:
Joel Sherrill <joel@…> (10/05/21 19:37:01)
git-committer:
Joel Sherrill <joel@…> (10/07/21 21:30:59)
Message:

task-stack-alloc.rst: Add CONFIGURE_TASK_STACK_FROM_ALLOCATOR

Updates #4520.

File:
1 edited

Legend:

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

    r7c43a4b r30e5832  
    22
    33.. Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
    4 .. Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
     4.. Copyright (C) 1988, 2008, 2021 On-Line Applications Research Corporation (OAR)
    55
    66Task Stack Allocator Configuration
     
    172172    This configuration option may be used if a custom task stack allocator is
    173173    configured, see :ref:`CONFIGURE_TASK_STACK_ALLOCATOR`.
     174
     175.. index:: _CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
     176.. index:: IDLE task stack allocator
     177
     178.. _CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE:
     179
     180CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
     181---------------------------------------
     182
     183CONSTANT:
     184    ``CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE``
     185
     186OPTION TYPE:
     187    This configuration option is an initializer define.
     188
     189DEFAULT VALUE:
     190    The default value is ``_Stack_Allocator_allocate_for_idle``, which
     191    indicates that IDLE task stacks will be allocated from an area statically
     192    reserved by `<rtems/confdefs.h>``.
     193
     194VALUE CONSTRAINTS:
     195    The value of this configuration option shall be defined to a valid
     196    function pointer of the type ``void *( *allocate )( uint32_t, size_t )``.
     197
     198DESCRIPTION:
     199    The value of this configuration option is the address for the the
     200    IDLE stack allocator allocate handler.
     201
     202NOTES:
     203    This configuration option is independent of the other thread stack allocator
     204    configuration options. It is assumed that any memory allocated for IDLE
     205    task stacks will not be from the RTEMS Workspace or the memory statically
     206    reserved by default.
     207
Note: See TracChangeset for help on using the changeset viewer.