summaryrefslogtreecommitdiffstats
path: root/include/opal.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2014-07-31 11:15:25 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-31 11:15:41 +1000
commit08aff4155937106980c8c4b301bb9be8411b9742 (patch)
tree6d879e637e204a72bd8c5581d19a4a4fbab9a7b3 /include/opal.h
parentaf3728e69e43b7ecce20d82a92a95bcd6b8dd8d5 (diff)
downloadblackbird-skiboot-08aff4155937106980c8c4b301bb9be8411b9742.tar.gz
blackbird-skiboot-08aff4155937106980c8c4b301bb9be8411b9742.zip
MDST: Add OPAL interface to register host memory region
Add OPAL interface to add host memory region to SYSDUMP. [ Added exported IDs in opal.h --BenH ] Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h
index 8ef942dc..b5c63661 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -136,7 +136,8 @@
#define OPAL_HANDLE_HMI 98
#define OPAL_CONFIG_CPU_IDLE_STATE 99
#define OPAL_SLW_SET_REG 100
-#define OPAL_LAST 100
+#define OPAL_REGISTER_DUMP_REGION 101
+#define OPAL_LAST 101
#ifndef __ASSEMBLY__
@@ -860,6 +861,12 @@ struct opal_sg_list {
struct opal_sg_entry entry[];
};
+/*
+ * Dump region ID range usable by the OS
+ */
+#define OPAL_DUMP_REGION_OS_START 0x80
+#define OPAL_DUMP_REGION_OS_END 0xFF
+
/****** Internal **********/
#include <skiboot.h>
OpenPOWER on IntegriCloud