aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/doc/opal-api/opal-get-xive-20.rst
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/doc/opal-api/opal-get-xive-20.rst
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
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.
+