diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-25 13:44:33 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-25 13:44:33 +1000 |
commit | 1978024139af7bd4451b1561f71abb57f7adc9d8 (patch) | |
tree | 1155344da6027fbb66067feb509292a22193aef0 | |
parent | 5af2c99382cb3f60fa450b635eb71b02c407c8d4 (diff) | |
download | skiboot-1978024139af7bd4451b1561f71abb57f7adc9d8.zip skiboot-1978024139af7bd4451b1561f71abb57f7adc9d8.tar.gz skiboot-1978024139af7bd4451b1561f71abb57f7adc9d8.tar.bz2 |
Documented expected machine state across OPAL calls
Suggested-by: Andrei Warkenti <andrey.warkentin@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | doc/opal-spec.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/opal-spec.txt b/doc/opal-spec.txt index 9dcad31..4cff78d 100644 --- a/doc/opal-spec.txt +++ b/doc/opal-spec.txt @@ -135,6 +135,14 @@ OPAL_CHECK_TOKEN to test for optional functionality. All parameters to OPAL calls are big endian. Little endian hosts MUST appropriately convert parameters before passing them to OPAL. +Machine state across OPAL calls: +- r1 is preserved +- r12 is scratch +- r13 - 31 preserved +- 64bit HV real mode +- big endian +- external interrupts disabled + Detecting OPAL Support ---------------------- |