diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-05-31 16:13:17 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-03 10:20:00 +1000 |
commit | 7599c245bbdec852a6d570028a0bc9d6df80bd97 (patch) | |
tree | 904c8a800ba65930b360841b2da5f55f9c503b6e /doc/opal-api | |
parent | 8ff8623273710b41c1928706fd04c7f7887f54dc (diff) | |
download | skiboot-7599c245bbdec852a6d570028a0bc9d6df80bd97.zip skiboot-7599c245bbdec852a6d570028a0bc9d6df80bd97.tar.gz skiboot-7599c245bbdec852a6d570028a0bc9d6df80bd97.tar.bz2 |
doc: prettify OPAL_PCI_SET_MVE
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'doc/opal-api')
-rw-r--r-- | doc/opal-api/opal-pci-set-mve-33.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/opal-api/opal-pci-set-mve-33.rst b/doc/opal-api/opal-pci-set-mve-33.rst index bf53587..b0c7e61 100644 --- a/doc/opal-api/opal-pci-set-mve-33.rst +++ b/doc/opal-api/opal-pci-set-mve-33.rst @@ -1,11 +1,13 @@ +.. _OPAL_PCI_SET_MVE: + OPAL_PCI_SET_MVE ================ -:: + +.. code-block:: c #define OPAL_PCI_SET_MVE 33 - static int64_t opal_pci_set_mve(uint64_t phb_id, uint32_t mve_number, - uint64_t pe_number) + int64_t opal_pci_set_mve(uint64_t phb_id, uint32_t mve_number, uint64_t pe_number); **WARNING:** following documentation is from old sources, and is possibly not representative of OPALv3 as implemented by skiboot. This should be @@ -31,7 +33,9 @@ determine the PE domain. OPAL treats this call as a NOP for IODA2 PHBs and returns a status of OPAL_SUCCESS. -Return value: :: +Return value: + +.. code-block:: c if (!phb) return OPAL_PARAMETER; |