aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/doc/opal-api/opal-get-xive-20.rst
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/doc/opal-api/opal-get-xive-20.rst')
-rw-r--r--roms/skiboot/doc/opal-api/opal-get-xive-20.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/roms/skiboot/doc/opal-api/opal-get-xive-20.rst b/roms/skiboot/doc/opal-api/opal-get-xive-20.rst
new file mode 100644
index 000000000..cdca1fcb6
--- /dev/null
+++ b/roms/skiboot/doc/opal-api/opal-get-xive-20.rst
@@ -0,0 +1,28 @@
+.. _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 :ref:`OPAL_SET_XIVE` for details.
+
+Parameters
+----------
+
+``isn``
+ The ``isn`` is the global interrupt number being queried
+
+``server_number``
+ the ``server_number`` returns the mangled server (processor)
+ that is set to receive that interrupt.
+
+``priority``
+ the ``priority`` returns the current interrupt priority setting
+ for that interrupt.
+