diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/targeting/common/xmltohb/hb_customized_attrs.xml | 3 | ||||
-rwxr-xr-x | src/usr/targeting/targetservicestart.C | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/targeting/common/xmltohb/hb_customized_attrs.xml b/src/usr/targeting/common/xmltohb/hb_customized_attrs.xml index 2effacb68..f517f8cc4 100644 --- a/src/usr/targeting/common/xmltohb/hb_customized_attrs.xml +++ b/src/usr/targeting/common/xmltohb/hb_customized_attrs.xml @@ -572,9 +572,12 @@ <writeable/> </attribute> + <!-- FSP always reads a registry key and set this on each boot, + HB always reads the data from the scratch reg and sets it --> <attribute> <id>ATTR_RISK_LEVEL</id> <writeable/> + <persistency>volatile-zeroed</persistency> </attribute> <attribute> diff --git a/src/usr/targeting/targetservicestart.C b/src/usr/targeting/targetservicestart.C index 360df2b8e..f55959f95 100755 --- a/src/usr/targeting/targetservicestart.C +++ b/src/usr/targeting/targetservicestart.C @@ -378,10 +378,7 @@ static void initializeAttributes(TargetService& i_targetService, //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); - } + l_pTopLevel->setAttr<ATTR_RISK_LEVEL>(l_scratch5.riskLevel); } if(i_isMpipl) |