diff options
author | Jaymes Wilks <mjwilks@us.ibm.com> | 2018-06-21 11:50:46 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-06-26 11:52:33 -0400 |
commit | d406ad362d7f95cef1425216996f08fb5a1c7dca (patch) | |
tree | 1d44a17aa093f0e2ec7d59bf40064f93fe5c85df /src/include/usr/secureboot | |
parent | 0e138b0da002197cc86f601be5b307386a5fdfab (diff) | |
download | talos-hostboot-d406ad362d7f95cef1425216996f08fb5a1c7dca.tar.gz talos-hostboot-d406ad362d7f95cef1425216996f08fb5a1c7dca.zip |
SP ATTN area relative addressing cleanup
This change attemps to remove some technical debt incurred by the
"HRMOR relative addressing for PHyp SP ATTN area dump" commit.
Change-Id: I773c25e6f704fba561aa78106120325562698e4e
RTC:186439
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61099
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@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: ILYA SMIRNOV <ismirno@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot')
-rw-r--r-- | src/include/usr/secureboot/service.H | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/include/usr/secureboot/service.H b/src/include/usr/secureboot/service.H index 33d2771bf..bb6ea1516 100644 --- a/src/include/usr/secureboot/service.H +++ b/src/include/usr/secureboot/service.H @@ -32,9 +32,6 @@ #include <cstdint> #include <securerom/sha512.H> #include <securerom/ROM.H> -#include <vmmconst.h> -#include <sys/misc.h> -#include <kernel/vmmmgr.H> /* * @brief Used to capture the first 4 bytes of the hash for tracing purposes @@ -372,20 +369,6 @@ namespace SECUREBOOT */ errlHndl_t setSbeSecurityMode(uint8_t i_sbeSecurityMode); - /* - * @brief Calculates the node's proposed start address for the system's - * SP ATTN areas, which becomes the effective configuration if it's - * elected as the master. - * - * @return uint64_t Absolute start address for the intended SP ATTN areas - */ - inline uint64_t calcSpAttnAreaStart() - { - auto hrmorVal = cpu_spr_value(CPU_SPR_HRMOR); - return (hrmorVal - VMM_HRMOR_OFFSET + PHYP_ATTN_AREA_OFFSET) - | VmmManager::FORCE_PHYS_ADDR; - } - } #endif |