blob: d24651dc05a31858c9be47054ac127aaa47e8258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
OPAL_XSCOM_READ and OPAL_XSCOM_WRITE
====================================
These low level calls will read/write XSCOM values directly.
They should only be used by low level manufacturing/debug tools.
"Normal" host OS kernel code should not know about XSCOM.
each takes three parameters: ::
int xscom_read(uint32_t partid, uint64_t pcb_addr, uint64_t *val)
int xscom_write(uint32_t partid, uint64_t pcb_addr, uint64_t val)
Returns
-------
OPAL_SUCCESS
Success!
OPAL_HARDWARE
if operation failed
OPAL_WRONG_STATE
if CPU is asleep
|