summaryrefslogtreecommitdiffstats
path: root/cpu-supplement
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-25 10:35:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-25 10:35:14 +0200
commit3fdea2d2c0aa0c19d1a88c0f83d88e4a5efe562d (patch)
tree173e01030322a86082e1a02f13d7ca5781f651be /cpu-supplement
parent873ba805c7fd365dd38b835d34e6cd9826a66fd2 (diff)
downloadrtems-docs-3fdea2d2c0aa0c19d1a88c0f83d88e4a5efe562d.tar.bz2
cpu-supplement: Use literal instead of emphasis
Update #3082.
Diffstat (limited to 'cpu-supplement')
-rw-r--r--cpu-supplement/powerpc.rst21
1 files changed, 11 insertions, 10 deletions
diff --git a/cpu-supplement/powerpc.rst b/cpu-supplement/powerpc.rst
index d9dfd53..8606277 100644
--- a/cpu-supplement/powerpc.rst
+++ b/cpu-supplement/powerpc.rst
@@ -125,20 +125,21 @@ Thread-local storage is supported.
64-bit Caveats
==============
-* The thread pointer is `r13` in contrast to `r2` used in the 32-bit ABI.
+* The thread pointer is ``r13`` in contrast to ``r2`` used in the 32-bit ABI.
-* The TOC pointer is `r2`. It must be initialized as part of the C run-time
+* The TOC pointer is ``r2``. It must be initialized as part of the C run-time
setup. A valid stack pointer is not enough to call C functions. They may
use the TOC to get addresses and constants.
* The TOC must be within the first 2GiB of the address space. This simplifies
- the interrupt prologue, since the `r2` can be set to `.TOC.` via the usual
- `lis` followed by `ori` combination. The `lis` is subject to sign-extension.
+ the interrupt prologue, since the ``r2`` can be set to ``.TOC.`` via the
+ usual ``lis`` followed by ``ori`` combination. The ``lis`` is subject to
+ sign-extension.
-* The `PPC_REG_LOAD`, `PPC_REG_STORE`, `PPC_REG_STORE_UPDATE`, and
- `PPC_REG_CMP` macros are available for assembly code to provide register size
- operations selected by the GCC `m32` and `m64` options.
+* The ``PPC_REG_LOAD``, ``PPC_REG_STORE``, ``PPC_REG_STORE_UPDATE``, and
+ ``PPC_REG_CMP`` macros are available for assembly code to provide register
+ size operations selected by the GCC ``-m32`` and ``-m64`` options.
-* The `MSR[CM]` bit must be set all the time, otherwise the MMU translation my
- yield unexpected results. The `EPCR[ICM]` or `EPCR[GICM]` bits may be used
- to enable the 64-bit compute mode for exceptions.
+* The ``MSR[CM]`` bit must be set all the time, otherwise the MMU translation
+ my yield unexpected results. The ``EPCR[ICM]`` or ``EPCR[GICM]`` bits may be
+ used to enable the 64-bit compute mode for exceptions.