Skip to content

Commit

Permalink
Simics check in case of spless system before modifying HRMOR to 4GB
Browse files Browse the repository at this point in the history
Change-Id: Ife2ae7699350a8570ed212cfaaf1feff4a6c894b
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66457
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
Raja Das authored and sgupta2m committed Sep 21, 2018
1 parent ed95ad2 commit 26acfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hwpf/target.C
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ extern fapi2::ReturnCode
FAPI_TRY(PLAT_ATTR_INIT(fapi2::ATTR_IS_MPIPL, FAPI_SYSTEM, isMpIpl));

l_tempReg.extractToRight<3, 1>(isSpMode);
if(!isSpMode)
if(!isSpMode && !SBE::isSimicsRunning())
{
FAPI_DBG("Set up ATTR_HOSTBOOT_HRMOR_OFFSET in SPless mode");
uint64_t hrmor = HRMOR_FOR_SPLESS_MODE;
Expand Down

0 comments on commit 26acfd0

Please sign in to comment.