historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/skiboot/doc/opal-api/opal-get-xive-20.rst
2024-01-16 11:20:27 -06:00

28 lines
614 B
ReStructuredText

.. _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.