diff mbox series

[109/110] doc: prettify OPAL_GET_XIVE and OPAL_SET_XIVE

Message ID 20190531061351.22973-110-stewart@linux.ibm.com
State Accepted
Headers show
Series Big documentation cleanup/expansion | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (76f7316bc8fc8a18fdbfcbc0e1fe1bb992d2a7d7)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot fail Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Stewart Smith May 31, 2019, 6:13 a.m. UTC
Signed-off-by: Stewart Smith <stewart@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 mbox series

Patch

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.