Skip to content

Commit

Permalink
Support reading RISK_LEVEL from mbox scratch regs
Browse files Browse the repository at this point in the history
Change-Id: I350c5aa31322914d573caf3df47da2e459da6aa3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36584
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
  • Loading branch information
sannerd authored and ploetzma committed Feb 20, 2017
1 parent 678f705 commit df47aac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/usr/targeting/targetservicestart.C
Expand Up @@ -288,6 +288,14 @@ static void initializeAttributes(TargetService& i_targetService,
{
l_pTopLevel->setAttr<ATTR_ISTEP_MODE>(1);
}

//Set the RISK_LEVEL ATTR based off of master Scratch regs
INITSERVICE::SPLESS::MboxScratch5_t l_scratch5;
l_scratch5.data32 = i_masterScratch[INITSERVICE::SPLESS::SCRATCH_5];
if(l_scratch5.riskLevel)
{
l_pTopLevel->setAttr<ATTR_RISK_LEVEL>(1);
}
}

if(i_isMpipl)
Expand Down

0 comments on commit df47aac

Please sign in to comment.