aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-05-31 16:13:20 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:20:00 +1000
commitfb0bd9be4132271376f60ac5e434553b593ac481 (patch)
tree4bcd557e8224145877322a7caf9aee60103fc293
parent065cfb71eef26954f645f8d668bae930f493b140 (diff)
downloadskiboot-fb0bd9be4132271376f60ac5e434553b593ac481.zip
skiboot-fb0bd9be4132271376f60ac5e434553b593ac481.tar.gz
skiboot-fb0bd9be4132271376f60ac5e434553b593ac481.tar.bz2
doc: prettify OPAL_PCI_SET_XIVE_PE
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--doc/opal-api/opal-pci-set-xive-pe-37.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/opal-api/opal-pci-set-xive-pe-37.rst b/doc/opal-api/opal-pci-set-xive-pe-37.rst
index a5c6582..9f7badf 100644
--- a/doc/opal-api/opal-pci-set-xive-pe-37.rst
+++ b/doc/opal-api/opal-pci-set-xive-pe-37.rst
@@ -1,9 +1,13 @@
+.. _OPAL_PCI_SET_XIVE_PE:
+
OPAL_PCI_SET_XIVE_PE
====================
-::
- static int64_t opal_pci_set_xive_pe(uint64_t phb_id, uint64_t pe_number,
- uint32_t xive_num)
+.. code-block:: c
+
+ #define OPAL_PCI_SET_XIVE_PE 37
+
+ int64_t opal_pci_set_xive_pe(uint64_t phb_id, uint64_t pe_number, uint32_t xive_num);
**WARNING:** following documentation is from old sources, and is possibly
not representative of OPALv3 as implemented by skiboot. This should be
@@ -25,7 +29,9 @@ This call maps the XIVR indexed by xive_num to the PE specified by
pe_number. For ibm,opal-ioda HW, the pe_number must match the pe_number
set in the MVE.
-Return value: ::
+Return value:
+
+.. code-block:: c
if (!phb)
return OPAL_PARAMETER;