aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-05 17:49:50 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-05 17:49:50 +1100
commit16c80346ddf9ec6baf583b610cf1449f25962d34 (patch)
tree9bca5221defa3fa784b0e6675748b9a4c074d093 /include
parent64a5f776e1c82e707a7126ad4b1f70f8a2d419fd (diff)
downloadskiboot-16c80346ddf9ec6baf583b610cf1449f25962d34.zip
skiboot-16c80346ddf9ec6baf583b610cf1449f25962d34.tar.gz
skiboot-16c80346ddf9ec6baf583b610cf1449f25962d34.tar.bz2
Add OPAL_INVALID_CALL explicitly in opal.h and docs
Was mentioned in linux as possibly being used by some external test modules. It's harmless to make this official behaviour. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/opal.h b/include/opal.h
index e2ff899..fe0c846 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -47,6 +47,7 @@
#define OPAL_I2C_STOP_ERR -24
/* API Tokens (in r0) */
+#define OPAL_INVALID_CALL -1
#define OPAL_TEST 0
#define OPAL_CONSOLE_WRITE 1
#define OPAL_CONSOLE_READ 2
@@ -162,6 +163,7 @@
#include <stdint.h>
/* Other enums */
+
enum OpalVendorApiTokens {
OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999
};
@@ -175,7 +177,6 @@ enum OpalFreezeState {
OPAL_EEH_STOPPED_TEMP_UNAVAIL = 5,
OPAL_EEH_STOPPED_PERM_UNAVAIL = 6
};
-
enum OpalEehFreezeActionToken {
OPAL_EEH_ACTION_CLEAR_FREEZE_MMIO = 1,
OPAL_EEH_ACTION_CLEAR_FREEZE_DMA = 2,
@@ -252,7 +253,6 @@ enum OpalMmioWindowType {
OPAL_M64_WINDOW_TYPE = 2,
OPAL_IO_WINDOW_TYPE = 3
};
-
enum OpalShpcSlotState {
OPAL_SHPC_DEV_NOT_PRESENT = 0,
OPAL_SHPC_DEV_PRESENT = 1
@@ -266,7 +266,6 @@ enum OpalExceptionHandler {
OPAL_HYPERVISOR_MAINTENANCE_HANDLER = 2,
OPAL_SOFTPATCH_HANDLER = 3
};
-
enum OpalPendingState {
OPAL_EVENT_OPAL_INTERNAL = 0x1,
OPAL_EVENT_NVRAM = 0x2,