diff options
Diffstat (limited to 'c-user/stack_bounds_checker.rst')
-rw-r--r-- | c-user/stack_bounds_checker.rst | 64 |
1 files changed, 28 insertions, 36 deletions
diff --git a/c-user/stack_bounds_checker.rst b/c-user/stack_bounds_checker.rst index 0ce5a44..87c16f5 100644 --- a/c-user/stack_bounds_checker.rst +++ b/c-user/stack_bounds_checker.rst @@ -157,54 +157,46 @@ constants, usage, and status codes. STACK_CHECKER_IS_BLOWN - Has Current Task Blown Its Stack --------------------------------------------------------- -**CALLING SEQUENCE:** +CALLING SEQUENCE: + .. code-block:: c -.. code-block:: c - - bool rtems_stack_checker_is_blown( void ); - -**STATUS CODES:** - -.. list-table:: - :class: rtems-table - - * - ``TRUE`` - - Stack is operating within its stack limits - * - ``FALSE`` - - Current stack pointer is outside allocated area + bool rtems_stack_checker_is_blown( void ); -**DESCRIPTION:** +STATUS CODES: + .. list-table:: + :class: rtems-table -This method is used to determine if the current stack pointer of the currently -executing task is within bounds. + * - ``TRUE`` + - Stack is operating within its stack limits + * - ``FALSE`` + - Current stack pointer is outside allocated area -**NOTES:** +DESCRIPTION: + This method is used to determine if the current stack pointer of the + currently executing task is within bounds. -This method checks the current stack pointer against the high and low addresses -of the stack memory allocated when the task was created and it looks for damage -to the high water mark pattern for the worst case usage of the task being -called. +NOTES: + This method checks the current stack pointer against the high and low + addresses of the stack memory allocated when the task was created and it + looks for damage to the high water mark pattern for the worst case usage of + the task being called. .. _rtems_stack_checker_report_usage: STACK_CHECKER_REPORT_USAGE - Report Task Stack Usage ---------------------------------------------------- -**CALLING SEQUENCE:** - -.. code-block:: c - - void rtems_stack_checker_report_usage( void ); - -**STATUS CODES:** - -NONE +CALLING SEQUENCE: + .. code-block:: c -**DESCRIPTION:** + void rtems_stack_checker_report_usage( void ); -This routine prints a table with the peak stack usage and stack space -allocation of every task in the system. +STATUS CODES: + NONE -**NOTES:** +DESCRIPTION: + This routine prints a table with the peak stack usage and stack space + allocation of every task in the system. -NONE +NOTES: + NONE |