summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/common/include/p9_const_common.H
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2016-01-13 15:01:40 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2016-01-27 23:39:41 -0600
commit3c15b4c8e04ea9f6dcc695a8c66ed59ad83002a3 (patch)
tree6829b08635c28f8ac1f8a39954daaea2edeefff8 /import/chips/p9/common/include/p9_const_common.H
parent0b19c18e66184e0b2ad53a83402f4eb0f0106ad6 (diff)
downloadtalos-sbe-3c15b4c8e04ea9f6dcc695a8c66ed59ad83002a3.tar.gz
talos-sbe-3c15b4c8e04ea9f6dcc695a8c66ed59ad83002a3.zip
New scom addresses const headers for chip 9031
Fixes for mcbist Fixes for obus Reviewed figtree issues Reviewed address translation Change-Id: I07641369fffd9ac97219134ff6c6db03221d091e Original-Change-Id: I68a21eb34c3ef5061c5d64099f108471acf96c5e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23283 Tested-by: Jenkins Server Reviewed-by: Craig C. Hamilton <cchamilt@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23716 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/chips/p9/common/include/p9_const_common.H')
-rw-r--r--import/chips/p9/common/include/p9_const_common.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/import/chips/p9/common/include/p9_const_common.H b/import/chips/p9/common/include/p9_const_common.H
index ec78a9a1..0fb8889f 100644
--- a/import/chips/p9/common/include/p9_const_common.H
+++ b/import/chips/p9/common/include/p9_const_common.H
@@ -7,7 +7,7 @@
/* */
/* EKB Project */
/* */
-/* COPYRIGHT 2012,2015 */
+/* COPYRIGHT 2012,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -91,6 +91,10 @@ struct has_fixfld
#define RULL(x) x##ull
+//Remove the chiplet id from any register so that it can
+//be used with pu.perv target type
+#define FORCE_PERV(val) (RULL(0xFFFFFFFF00FFFFFF) & val)
+
#else // C code
// CONST_UINT[8,3,64]_T() can't be used in C code/headers; Use
OpenPOWER on IntegriCloud