diff options
author | Prem Shanker Jha <premjha2@in.ibm.com> | 2017-03-14 11:16:57 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-23 23:48:38 -0400 |
commit | bbeba4c7c6193f64bb13c7ed3fc8eff1b685dc31 (patch) | |
tree | 69b06f7ee0e99b57584fbe68adbbbc81d0a27dbd /src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C | |
parent | fe768d4ae9dba45aba862f426443104d561cbf09 (diff) | |
download | talos-hostboot-bbeba4c7c6193f64bb13c7ed3fc8eff1b685dc31.tar.gz talos-hostboot-bbeba4c7c6193f64bb13c7ed3fc8eff1b685dc31.zip |
PM: Initialization of temp buffers to zero before use.
Hocde Image build uses various buffers for ring and image
manipulation. Commit initializes these buffers to zero
before passing it on to TOR API or XIP customize. Commit also
initializes P-State parameter block super struct before calling
P-State Parameter Block HWP.
Updates Parser to add support for PPMR Header and
OCC Parameter Block.
Change-Id: I4653f705615869a00cc6367a4e753659e36d15f1
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38033
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Dev-Ready: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38036
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C b/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C index 35cd762c9..6291e5550 100644 --- a/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C +++ b/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C @@ -115,6 +115,7 @@ p9_pstate_parameter_block( const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_ // Local IDDQ table variable IddqTable l_iddqt; + memset( & l_iddqt, 0x00, sizeof(IddqTable)); // Frequency step variable double l_frequency_step_khz; |