summaryrefslogtreecommitdiffstats
path: root/porting/cpu_init.rst
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-10-28 15:57:11 -0500
committerJoel Sherrill <joel@rtems.org>2016-10-28 15:57:11 -0500
commit7497f5ed9a2cebe06619987e295cae529dde9fad (patch)
treee0fd8a7bf9ba102380a23a50def8115487d167e0 /porting/cpu_init.rst
parent790fcab1d5494047fb2469054b58ac49c0733b39 (diff)
downloadrtems-docs-7497f5ed9a2cebe06619987e295cae529dde9fad.tar.bz2
porting: Review and tidy up multiple formatting issues.
Diffstat (limited to 'porting/cpu_init.rst')
-rw-r--r--porting/cpu_init.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/porting/cpu_init.rst b/porting/cpu_init.rst
index c4f7e7d..8e3d0da 100644
--- a/porting/cpu_init.rst
+++ b/porting/cpu_init.rst
@@ -1,5 +1,9 @@
.. comment SPDX-License-Identifier: CC-BY-SA-4.0
+.. COMMENT: COPYRIGHT (c) 1988-2002.
+.. COMMENT: On-Line Applications Research Corporation (OAR).
+.. COMMENT: All rights reserved.
+
CPU Initialization
##################
@@ -16,10 +20,11 @@ Initializing the CPU
====================
The _CPU_Initialize routine performs processor dependent initialization.
+
.. code-block:: c
void _CPU_Initialize(
- void (*thread_dispatch) /* may be ignored */
+ void (*thread_dispatch) /* may be ignored */
)
The thread_dispatch argument is the address of the entry point for the
@@ -32,6 +37,7 @@ limitation on these systems.
If you encounter this problem save the entry point in a CPU dependent
variable as shown below:
+
.. code-block:: c
_CPU_Thread_dispatch_pointer = thread_dispatch;
@@ -44,10 +50,3 @@ FP context here and copy it to the task's during Context_Initialize. If
this technique is used to initialize the FP contexts, then it is important
to ensure that the state of the floating point unit is in a coherent,
initialized state.
-
-.. COMMENT: COPYRIGHT (c) 1988-2002.
-
-.. COMMENT: On-Line Applications Research Corporation (OAR).
-
-.. COMMENT: All rights reserved.
-