Changeset efd581f in rtems-docs


Ignore:
Timestamp:
Jul 18, 2018, 6:14:09 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d909c5f
Parents:
4c2ca04
git-author:
Sebastian Huber <sebastian.huber@…> (07/18/18 06:14:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/19/18 05:36:54)
Message:

cpu-supplement: Update interrupt stack paragraph

Close #3459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu-supplement/port.rst

    r4c2ca04 refd581f  
    223223RTEMS will support switching to a dedicated stack for interrupt processing.
    224224
    225 Without a dedicated interrupt stack, every task in the system MUST have enough
     225Without a dedicated interrupt stack, every task in the system must have enough
    226226stack space to accommodate the worst case stack usage of that particular task
    227 and the interrupt service routines COMBINED.  By supporting a dedicated
     227and the interrupt service routines combined.  By supporting a dedicated
    228228interrupt stack, RTEMS significantly lowers the stack requirements for each
    229229task.
     
    233233interrupt stack.
    234234
    235 In some configurations, RTEMS allocates the interrupt stack from the Workspace
    236 Area.  The amount of memory allocated for the interrupt stack is user
    237 configured and based upon the ``confdefs.h`` parameter
     235The interrupt stacks (one for each configured processor) are statically
     236allocated by the application configuration via ``<rtems/confdefs.h>`` in the
     237special section ``.rtemsstack``.  This enables an optimal placement of the
     238interrupt stacks by the Board Support Package (BSP), e.g. a fast on-chip
     239memory.  The amount of memory allocated for each interrupt stack is user
     240configured and based upon the ``<rtems/confdefs.h>`` parameter
    238241``CONFIGURE_INTERRUPT_STACK_SIZE``.  This parameter is described in detail in
    239 the Configuring a System chapter of the User's Guide.  On configurations in
    240 which RTEMS allocates the interrupt stack, during the initialization process,
    241 RTEMS will also install its interrupt stack.  In other configurations, the
    242 interrupt stack is allocated and installed by the Board Support Package (BSP).
    243 
    244 In each of the architecture specific chapters, this section discesses the
     242the Configuring a System chapter of the User's Guide.  Since interrupts are
     243disabled during the sequential system initialization and the
     244``_Thread_Start_multitasking()`` function does not return to the caller each
     245interrupt stack may be used for the initialization stack on the corresponding
     246processor.
     247
     248In each of the architecture specific chapters, this section discusses the
    245249interrupt response and control mechanisms of the architecture as they pertain
    246250to RTEMS.
Note: See TracChangeset for help on using the changeset viewer.