summaryrefslogtreecommitdiffstats
path: root/c_user/multiprocessing.rst
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-02-18 15:41:28 +1100
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:26 -0400
commit25d55d49c3f52a12a52def776104e0c9c721e680 (patch)
tree659abcd9eefe270c58fe9f7027fe192f08d95b20 /c_user/multiprocessing.rst
parentFix double quotes. (diff)
downloadrtems-docs-25d55d49c3f52a12a52def776104e0c9c721e680.tar.bz2
Change code to code-block.
Diffstat (limited to 'c_user/multiprocessing.rst')
-rw-r--r--c_user/multiprocessing.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/c_user/multiprocessing.rst b/c_user/multiprocessing.rst
index e709bf3..16df6e4 100644
--- a/c_user/multiprocessing.rst
+++ b/c_user/multiprocessing.rst
@@ -272,7 +272,7 @@ following prototype:
.. index:: rtems_mpci_entry
-.. code:: c
+.. code-block:: c
rtems_mpci_entry user_mpci_initialization(
rtems_configuration_table *configuration
@@ -296,7 +296,7 @@ The GET_PACKET component of the user-provided MPCI layer is called when RTEMS
must obtain a packet buffer to send or broadcast a message. This component
should be adhere to the following prototype:
-.. code:: c
+.. code-block:: c
rtems_mpci_entry user_mpci_get_packet(
rtems_packet_prefix **packet
@@ -319,7 +319,7 @@ The RETURN_PACKET component of the user-provided MPCI layer is called when
RTEMS needs to release a packet to the free packet buffer pool. This component
should be adhere to the following prototype:
-.. code:: c
+.. code-block:: c
rtems_mpci_entry user_mpci_return_packet(
rtems_packet_prefix *packet
@@ -335,7 +335,7 @@ The RECEIVE_PACKET component of the user-provided MPCI layer is called when
RTEMS needs to obtain a packet which has previously arrived. This component
should be adhere to the following prototype:
-.. code:: c
+.. code-block:: c
rtems_mpci_entry user_mpci_receive_packet(
rtems_packet_prefix **packet
@@ -353,7 +353,7 @@ The SEND_PACKET component of the user-provided MPCI layer is called when RTEMS
needs to send a packet containing a message to another node. This component
should be adhere to the following prototype:
-.. code:: c
+.. code-block:: c
rtems_mpci_entry user_mpci_send_packet(
uint32_t node,
@@ -391,7 +391,7 @@ is the order of the bytes which compose a data entity. Processors which place
the least significant byte at the smallest address are classified as little
endian processors. Little endian byte-ordering is shown below:
-.. code:: c
+.. code-block:: c
+---------------+----------------+---------------+----------------+
| | | | |
@@ -403,7 +403,7 @@ Conversely, processors which place the most significant byte at the smallest
address are classified as big endian processors. Big endian byte-ordering is
shown below:
-.. code:: c
+.. code-block:: c
+---------------+----------------+---------------+----------------+
| | | | |
@@ -479,7 +479,7 @@ MULTIPROCESSING_ANNOUNCE - Announce the arrival of a packet
.. index:: rtems_multiprocessing_announce
-.. code:: c
+.. code-block:: c
void rtems_multiprocessing_announce( void );