aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst')
-rw-r--r--roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst b/roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst
new file mode 100644
index 000000000..85daa15f4
--- /dev/null
+++ b/roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst
@@ -0,0 +1,19 @@
+.. _OPAL_INT_GET_XIRR:
+
+OPAL_INT_GET_XIRR
+=================
+
+.. code-block:: c
+
+ #define OPAL_INT_GET_XIRR 122
+
+ int64_t opal_int_get_xirr(uint32_t *out_xirr, bool just_poll);
+
+Modelled on the PAPR call.
+
+For P9 and above systems where host doesn't know about interrupt controller.
+An OS can instead make OPAL calls for XICS emulation.
+
+For an OS to use this OPAL call, an ``ibm,opal-intc`` compatible device must
+exist in the device tree (see :ref:`xive-device-tree`). If OPAL does not create
+such a device, the host OS MUST NOT use this call.