From 53bb72e99669750ecbd7a418047711a21e32ac40 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 8 Nov 2016 15:26:50 +1100 Subject: c-user: Format the directives as descriptions. This change combined with the element list change in latex generates a much better looking PDF. Add a page break before each directive to like th previous versions of the manuals. --- c-user/stack_bounds_checker.rst | 64 ++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 36 deletions(-) (limited to 'c-user/stack_bounds_checker.rst') 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 -- cgit v1.2.3