diff options
| author | Sudheendra K Srivathsa <sudheendraks@in.ibm.com> | 2016-08-26 05:58:08 -0400 |
|---|---|---|
| committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2017-10-23 16:34:48 -0500 |
| commit | ceb3218e063333cbe8f20fd57de84e2a75c773fd (patch) | |
| tree | 7aecc2ec6ea5a83411cdddda3209dfc437341903 | |
| parent | eef80bd02c11405268fc51829426a2b751973e8e (diff) | |
| download | talos-hcode-ceb3218e063333cbe8f20fd57de84e2a75c773fd.tar.gz talos-hcode-ceb3218e063333cbe8f20fd57de84e2a75c773fd.zip | |
p9_pstate_paramter_block L2 commit
Change-Id: I8d3d557ade04c88a77145feeb15d46f45f472e84
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28837
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
| -rw-r--r-- | import/chips/p9/procedures/hwp/lib/p9_pstates.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/hwp/lib/p9_pstates.h b/import/chips/p9/procedures/hwp/lib/p9_pstates.h index c9defe93..5a7e8ae4 100644 --- a/import/chips/p9/procedures/hwp/lib/p9_pstates.h +++ b/import/chips/p9/procedures/hwp/lib/p9_pstates.h @@ -33,6 +33,22 @@ // *HWP Consumed by : PGPE, OCC +// @todo RTC 162565 - Temporary definition, +// Pick up p9_pm_utils code for revlev when code is merged +#ifdef _BIG_ENDIAN + + #define revle16(x) x + #define revle32(x) x + #define revle64(x) x + +#else + + uint16_t revle16(uint16_t i_x); + uint32_t revle32(uint32_t i_x); + uint64_t revle64(uint64_t i_x); + +#endif + #ifndef __P9_PSTATES_H__ #define __P9_PSTATES_H__ @@ -646,7 +662,7 @@ typedef struct iVRMInfo uint8_t strength_lookup[IVRM_ARRAY_SIZE]; // Each entry is a six bit value, right justified /// Scaling factor for the Vin_Adder calculation. - uint8_t vin_multipler[IVRM_ARRAY_SIZE]; // Each entry is from 0 to 255. + uint8_t vin_multiplier[IVRM_ARRAY_SIZE]; // Each entry is from 0 to 255. /// Vin_Max used in Vin_Adder calculation (in millivolts) uint16_t vin_max_mv; @@ -739,6 +755,10 @@ typedef struct typedef struct { + + /// Magic Number + uint64_t magic; // the last byte of this number the structure's version. + /// Pstate options /// /// The options are included as part of the GlobalPstateTable so that they |

