summaryrefslogtreecommitdiffstats
path: root/bsp_howto/miscellanous_support.rst
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-10-27 20:01:18 -0500
committerJoel Sherrill <joel@rtems.org>2016-10-27 20:01:18 -0500
commitf29b7c1cc5dfe039752fde5556e712f1897a0df6 (patch)
tree7a324d16fec5818f8a1fbc086e7decc6a916a564 /bsp_howto/miscellanous_support.rst
parent36def9125c9adf4049a18105d48715ac8606e1ec (diff)
downloadrtems-docs-f29b7c1cc5dfe039752fde5556e712f1897a0df6.tar.bz2
bsp_howto: Fix code-block markup
Diffstat (limited to 'bsp_howto/miscellanous_support.rst')
-rw-r--r--bsp_howto/miscellanous_support.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/bsp_howto/miscellanous_support.rst b/bsp_howto/miscellanous_support.rst
index 59b1339..4a487ee 100644
--- a/bsp_howto/miscellanous_support.rst
+++ b/bsp_howto/miscellanous_support.rst
@@ -143,7 +143,7 @@ overhead constants to 0. On faster processors, this is usually the best
alternative for the BSP as the calling overhead is extremely small. This file
is located at:
-.. code:: c
+.. code-block:: c
c/src/lib/libbsp/shared/include/coverhd.h
@@ -157,7 +157,7 @@ the heap used by the C Library memory allocation routines (i.e. ``malloc``
family), then the``sbrk`` routine must be functional. The following is the
prototype for this routine:
-.. code:: c
+.. code-block:: c
void * sbrk(size_t increment)
@@ -181,7 +181,7 @@ invoked once a fatal system state is reached. Most of the BSPs use the same
shared version of ``bsp_fatal_extension()`` that does nothing or performs a
system reset. This implementation is located in the following file:
-.. code:: c
+.. code-block:: c
c/src/lib/libbsp/shared/bspclean.c
@@ -258,7 +258,7 @@ The ``set_vector`` routine is a central place to perform interrupt controller
manipulation and encapsulate that information. It is usually implemented as
follows:
-.. code:: c
+.. code-block:: c
rtems_isr_entry set_vector( /* returns old vector */
rtems_isr_entry handler, /* isr routine */
@@ -346,7 +346,7 @@ required to be writen by the BSP developer are :
An interrupt handler is installed or removed with the help of the following functions :
-.. code:: c
+.. code-block:: c
rtems_status_code rtems_interrupt_handler_install( /* returns status code */
rtems_vector_number vector, /* interrupt vector */