[Skiboot] [PATCH 109/110] doc: prettify OPAL_GET_XIVE and OPAL_SET_XIVE

Stewart Smith stewart at linux.ibm.com
Fri May 31 16:13:50 AEST 2019


Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 doc/opal-api/opal-get-xive-20.rst | 9 +++++++--
 doc/opal-api/opal-set-xive-19.rst | 7 ++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/doc/opal-api/opal-get-xive-20.rst b/doc/opal-api/opal-get-xive-20.rst
index 65f4b0e5dfaf..cdca1fcb65ea 100644
--- a/doc/opal-api/opal-get-xive-20.rst
+++ b/doc/opal-api/opal-get-xive-20.rst
@@ -1,11 +1,16 @@
+.. _OPAL_GET_XIVE:
+
 OPAL_GET_XIVE
 =============
-::
+
+.. code-block:: c
 
    #define OPAL_GET_XIVE				20
 
+   int64_t opal_get_xive(uint32_t isn, uint16_t *server, uint8_t *priority);
+
 The host calls this function to return the configuration of an
-interrupt source. See OPAL_SET_XIVE for details.
+interrupt source. See :ref:`OPAL_SET_XIVE` for details.
 
 Parameters
 ----------
diff --git a/doc/opal-api/opal-set-xive-19.rst b/doc/opal-api/opal-set-xive-19.rst
index f301e5e5fac3..2a7332f0370a 100644
--- a/doc/opal-api/opal-set-xive-19.rst
+++ b/doc/opal-api/opal-set-xive-19.rst
@@ -1,9 +1,14 @@
+.. _OPAL_SET_XIVE:
+
 OPAL_SET_XIVE
 =============
-::
+
+.. code-block:: c
 
    #define OPAL_SET_XIVE				19
 
+   int64_t opal_set_xive(uint32_t isn, uint16_t server, uint8_t priority);
+
 The host calls this function to set the server (target processor)
 and priority parameters of an interrupt source.
 
-- 
2.21.0



More information about the Skiboot mailing list