[Skiboot] [PATCH 008/110] doc: prettify OPAL_REINIT_CPUS
Stewart Smith
stewart at linux.ibm.com
Fri May 31 16:12:09 AEST 2019
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
doc/opal-api/opal-reinit-cpus-70.rst | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/doc/opal-api/opal-reinit-cpus-70.rst b/doc/opal-api/opal-reinit-cpus-70.rst
index bee350d55f88..2522e76abe21 100644
--- a/doc/opal-api/opal-reinit-cpus-70.rst
+++ b/doc/opal-api/opal-reinit-cpus-70.rst
@@ -1,16 +1,23 @@
+.. _OPAL_REINIT_CPUS:
+
OPAL_REINIT_CPUS
================
-::
+
+.. code-block:: c
+
+ #define OPAL_REINIT_CPUS 70
static int64_t opal_reinit_cpus(uint64_t flags);
This OPAL call reinitializes some bit of CPU state across *ALL* CPUs.
Consequently, all CPUs must be in OPAL for this call to succeed (either
-at boot time or after OPAL_RETURN_CPU is called)
+at boot time or after OPAL_RETURN_CPU is called).
Arguments
---------
-Currently, possible flags are: ::
+Currently, possible flags are:
+
+.. code-block:: c
enum {
OPAL_REINIT_CPUS_HILE_BE = (1 << 0),
@@ -41,8 +48,7 @@ suspend mode disabled. This may only be supported on some CPU versions.
Returns
-------
-``OPAL_SUCCESS``
+:ref:`OPAL_SUCCESS`
Success!
-
-``OPAL_UNSUPPORTED``
+:ref:`OPAL_UNSUPPORTED`
Processor does not suport reinit flags.
--
2.21.0
More information about the Skiboot
mailing list