summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/ppe/pk/kernel
diff options
context:
space:
mode:
authorMichael Floyd <mfloyd@us.ibm.com>2018-02-05 10:30:38 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-02-07 15:26:11 -0500
commit74c0e5367a4365588ab2583cd58c924df4ea1ebb (patch)
treef6f721cc4dff2b2cc95389dc0007f070d74cec53 /src/import/chips/p9/procedures/ppe/pk/kernel
parent513d71673012fc1b622d72174e70c6fcea8e25f2 (diff)
downloadtalos-sbe-74c0e5367a4365588ab2583cd58c924df4ea1ebb.tar.gz
talos-sbe-74c0e5367a4365588ab2583cd58c924df4ea1ebb.zip
CME Code Size Reduction ATTEMPT#3
-- some IOTA kernel cleanup -- also add checking for IOTA execution stack overflow -- re-coded to eliminate some math library macro usage -- added native 16-bit multiply -- re-coded to remove redundancy from external interrupt handler -- removed dec handler (optional define) and other minor cleanup -- fixed Interrupt initialization code in std_init (all PPE images) -- always inline pstate_db0_clip_bcast & update_vdm_jump_values_in_dpll -- optimized pls calculation code -- optimized pstate init, db1 handler, core good handling -- optimized pmcr requests and pmsr updates (always write for both cores) Key_Cronus_Test=PM_REGRESS Change-Id: If48fec5832bd5e46cb89f0d6a97d90a488e8ff7b CQ: SW415503 RTC: 178789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53381 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53385 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/ppe/pk/kernel')
-rw-r--r--src/import/chips/p9/procedures/ppe/pk/kernel/pk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/kernel/pk.h b/src/import/chips/p9/procedures/ppe/pk/kernel/pk.h
index 95c71d6a..30725819 100644
--- a/src/import/chips/p9/procedures/ppe/pk/kernel/pk.h
+++ b/src/import/chips/p9/procedures/ppe/pk/kernel/pk.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -59,6 +59,9 @@
#include "pk_kernel.h"
//#include "pk_io.h"
+#define compile_assert(name,e) \
+ enum { compile_assert__##name = 1/(e) };
+
#ifndef __ASSEMBLER__
#define MIN(X, Y) \
OpenPOWER on IntegriCloud