diff options
| author | Dzuy Nguyen <dzuy@us.ibm.com> | 2017-07-19 09:56:32 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-04 09:54:07 -0400 |
| commit | 1e846c106286181bf82e1e5bbc68b47b6e490ce1 (patch) | |
| tree | d233e2aeb3cad85d8f554109d1ae4d8855d10265 /src/include | |
| parent | 0914d87ae57960ef859886a67b5ae1187aa82474 (diff) | |
| download | talos-hostboot-1e846c106286181bf82e1e5bbc68b47b6e490ce1.tar.gz talos-hostboot-1e846c106286181bf82e1e5bbc68b47b6e490ce1.zip | |
Update SCOMs in HCODE image before HOMER is established
Change-Id: I988e897104d717746d5d40d0698350c0c7baa948
RTC: 167313
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43555
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
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/include')
| -rw-r--r-- | src/include/usr/isteps/pm/pm_common_ext.H | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/usr/isteps/pm/pm_common_ext.H b/src/include/usr/isteps/pm/pm_common_ext.H index 9a58c59ef..f93e4dc77 100644 --- a/src/include/usr/isteps/pm/pm_common_ext.H +++ b/src/include/usr/isteps/pm/pm_common_ext.H @@ -74,6 +74,16 @@ namespace HBPM }; /** + * @brief Enumeration of the HOMER_HCODE_LOADED attribute + * + */ + enum loadHCODE + { + HCODE_NOT_LOADED = 0x0, + HCODE_LOADED = 0x1, + }; + + /** * @brief Convert HOMER physical address space to a vitual address * @param[in] i_proc_target Processsor target * @param[in] i_phys_addr Physical address @@ -116,8 +126,11 @@ namespace HBPM * @return errlHndl_t Error log if resetPMAll failed */ errlHndl_t getRingOvd(void*& io_overrideImg); +} //namespace HBPM ends #if __HOSTBOOT_RUNTIME +namespace RTPM +{ /** * @brief Modify the SCOM restore section of the HCODE image with the * given register data @@ -135,7 +148,7 @@ namespace HBPM TARGETING::Target* i_target, uint64_t i_rel_scom_addr, uint64_t i_scom_data ); +} //namespace RTPM ends #endif -} //namespace HBPM ends #endif |

