Changeset efd581f in rtems-docs for cpu-supplement/port.rst
- Timestamp:
- Jul 18, 2018, 6:14:09 AM (3 years ago)
- Branches:
- 5, am, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpu-supplement/port.rst
r4c2ca04 refd581f 223 223 RTEMS will support switching to a dedicated stack for interrupt processing. 224 224 225 Without a dedicated interrupt stack, every task in the system MUSThave enough225 Without a dedicated interrupt stack, every task in the system must have enough 226 226 stack space to accommodate the worst case stack usage of that particular task 227 and the interrupt service routines COMBINED. By supporting a dedicated227 and the interrupt service routines combined. By supporting a dedicated 228 228 interrupt stack, RTEMS significantly lowers the stack requirements for each 229 229 task. … … 233 233 interrupt stack. 234 234 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 235 The interrupt stacks (one for each configured processor) are statically 236 allocated by the application configuration via ``<rtems/confdefs.h>`` in the 237 special section ``.rtemsstack``. This enables an optimal placement of the 238 interrupt stacks by the Board Support Package (BSP), e.g. a fast on-chip 239 memory. The amount of memory allocated for each interrupt stack is user 240 configured and based upon the ``<rtems/confdefs.h>`` parameter 238 241 ``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 242 the Configuring a System chapter of the User's Guide. Since interrupts are 243 disabled during the sequential system initialization and the 244 ``_Thread_Start_multitasking()`` function does not return to the caller each 245 interrupt stack may be used for the initialization stack on the corresponding 246 processor. 247 248 In each of the architecture specific chapters, this section discusses the 245 249 interrupt response and control mechanisms of the architecture as they pertain 246 250 to RTEMS.
Note: See TracChangeset
for help on using the changeset viewer.