aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-05-31 16:13:50 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:20:00 +1000
commit07a475fbda196e8a70f995db6529b95c1e2d197a (patch)
tree5511a9090c035a8fbbe3fda211933545dff74fb5 /doc
parent3240ad51fa8126bd6dd381d0510fe1aa314284c0 (diff)
downloadskiboot-07a475fbda196e8a70f995db6529b95c1e2d197a.zip
skiboot-07a475fbda196e8a70f995db6529b95c1e2d197a.tar.gz
skiboot-07a475fbda196e8a70f995db6529b95c1e2d197a.tar.bz2
doc: prettify OPAL_GET_XIVE and OPAL_SET_XIVE
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/opal-api/opal-get-xive-20.rst9
-rw-r--r--doc/opal-api/opal-set-xive-19.rst7
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 65f4b0e..cdca1fc 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 f301e5e..2a7332f 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.