diff options
Diffstat (limited to 'roms/skiboot/doc/opal-api/opal-int-set-cppr-123.rst')
-rw-r--r-- | roms/skiboot/doc/opal-api/opal-int-set-cppr-123.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/skiboot/doc/opal-api/opal-int-set-cppr-123.rst b/roms/skiboot/doc/opal-api/opal-int-set-cppr-123.rst new file mode 100644 index 000000000..918022a82 --- /dev/null +++ b/roms/skiboot/doc/opal-api/opal-int-set-cppr-123.rst @@ -0,0 +1,19 @@ +.. _OPAL_INT_SET_CPPR: + +OPAL_INT_SET_CPPR +================= + +.. code-block:: c + + #define OPAL_INT_SET_CPPR 123 + + static int64_t opal_int_set_cppr(uint8_t cppr); + +Modelled on the ``H_CPPR`` 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. |