summaryrefslogtreecommitdiffstats
path: root/src/include/sys/misc.h
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-01-05 09:30:57 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-17 10:21:11 -0400
commitd3b1b0c3058c0a24f6a59148723459e15e2e5673 (patch)
tree63f125fbf82feafcd2e67b7eb3ee3e025d26ab96 /src/include/sys/misc.h
parentf055a0587604e2e4dec08d4d39790685cc726fc2 (diff)
downloadtalos-hostboot-d3b1b0c3058c0a24f6a59148723459e15e2e5673.tar.gz
talos-hostboot-d3b1b0c3058c0a24f6a59148723459e15e2e5673.zip
Integrate HWPs for step 15
This commit includes work to create the call_HWP wrappers for istep15. RTC:133832 Change-Id: Ib0db5ac2b9b5d5f5c2967ff97794493d867fb04b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/774 Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins
Diffstat (limited to 'src/include/sys/misc.h')
-rw-r--r--src/include/sys/misc.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/include/sys/misc.h b/src/include/sys/misc.h
index 74f5ac46a..12fb89fa4 100644
--- a/src/include/sys/misc.h
+++ b/src/include/sys/misc.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2015 */
+/* Contributors Listed Below - COPYRIGHT 2011,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -44,6 +44,14 @@ enum p8SystemConsts
};
+enum p9SystemConsts
+{
+ /// max possible processors in a P9 system
+ P9_MAX_PROCS = 8,
+ /// max EC (cores available in a processor )
+ P9_MAX_EC_PER_PROC = 16,
+
+};
/**
* @enum ShutdownStatus
@@ -71,18 +79,22 @@ enum WinkleScope
WINKLE_SCOPE_ALL = 0x1,
};
+
+
+//TODO RTC:147693
+//Need to determine what HOMER layout offsets should be
/**
* HOMER layout offsets
* see: HOMER_Image_Layout.odt
*/
/** OCC image is at the start of the HOMER layout */
-#define HOMER_OFFSET_TO_OCC_IMG 0
+#define HOMER_OFFSET_TO_OCC_IMG (1*MEGABYTE)
/** Offset from HOMER to OCC Host Data Area */
#define HOMER_OFFSET_TO_OCC_HOST_DATA (MEGABYTE)
/** SLW image is 2MB into the HOMER layout */
-#define HOMER_SLW_IMG_OFFSET (2*MEGABYTE)
-/** SLW Image Max ouput size */
-#define HOMER_MAX_SLW_IMG_SIZE_IN_MB 1
+#define HOMER_HCODE_IMG_OFFSET (2*MEGABYTE)
+/** STOP Image Max ouput size */
+#define HOMER_MAX_HCODE_IMG_SIZE_IN_MB 1
#ifdef __cplusplus
OpenPOWER on IntegriCloud