diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/doc/opal-api/opal-int-get-xirr-122.rst | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
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.rst | 19 |
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. |