aboutsummaryrefslogtreecommitdiff
path: root/doc/opal-api/opal-get-xive-20.rst
blob: 2a83cc84eaf4a396eaf970ce8689b20e3f858950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
OPAL_GET_XIVE
-------------

#define OPAL_GET_XIVE				20

WARNING: following documentation is from old sources, and is possibly
not representative of OPALv3 as implemented by skiboot. This should be
used as a starting point for full documentation.

The host calls this function to return the POWER XIVE server and priority
values currently set in a PHB XIVE.

    The phb_id parameter is the value from the PHB node ibm,opal-phbid
    property.

    The xive_number is the index of an XIVE that corresponds to a particular
    interrupt

    the server_number returns the server (processor) that is set in this XIVE

    the priority returns the interrupt priority value that is set in this XIVE

    This call returns the server and priority numbers from within the XIVE
    specified by the XIVE_number.