diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2018-06-27 17:09:43 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-06-29 12:04:57 -0400 |
commit | b37f41b2c08cf48413acbaef5f914ea43c89e427 (patch) | |
tree | dbd8b3ff4934fe8e566a11f400f29ae7dac5d4b6 /src/usr/util | |
parent | fc087d0b82682431317f199bdbcda0fa0ffb2aac (diff) | |
download | talos-hostboot-b37f41b2c08cf48413acbaef5f914ea43c89e427.tar.gz talos-hostboot-b37f41b2c08cf48413acbaef5f914ea43c89e427.zip |
Secure Boot: Copy PHyp secure header into standard reserved memory area
This change alters where Hostboot copies the Phyp secure header; instead
of placing it in front of PHYP (PHyp HRMOR-4k), it instead redirects it to the
standard reserved memory area. By doing this, we prevent it from
unintentionally ending up in mirrored memory.
Change-Id: I0b228b4a748310eba2b580efe2f191adca0d05e3
CQ: SW435712
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61525
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-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>
Diffstat (limited to 'src/usr/util')
-rw-r--r-- | src/usr/util/utilmclmgr.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/util/utilmclmgr.C b/src/usr/util/utilmclmgr.C index 5df056299..a201e6905 100644 --- a/src/usr/util/utilmclmgr.C +++ b/src/usr/util/utilmclmgr.C @@ -39,6 +39,8 @@ namespace MCL { +uint8_t MasterContainerLidMgr::cv_pPhypHeader[PAGESIZE] = {0}; + const size_t MclCompSectionPadSize = 16; const ComponentID g_MclCompId {"MSTCONT"}; @@ -506,6 +508,7 @@ errlHndl_t MasterContainerLidMgr::processComponent(const ComponentID& i_compId, l_curAddr, lidInfo.size, isPhypComp, + l_firstLid, l_addr); if(l_errl) { |