diff options
author | Chris Engel <cjengel@us.ibm.com> | 2016-04-28 09:39:19 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-04-28 17:27:15 -0400 |
commit | ef09c436fa513290fd9ba7075bf1e9bbc0976104 (patch) | |
tree | 86aebdc294b46fc440c925270a8579ae209b0393 /src/usr/secureboot | |
parent | 377934fe9f559c1e659fabdff175642397ec647a (diff) | |
download | talos-hostboot-ef09c436fa513290fd9ba7075bf1e9bbc0976104.tar.gz talos-hostboot-ef09c436fa513290fd9ba7075bf1e9bbc0976104.zip |
Trustedboot fixes for compile failures without traces
Change-Id: I20e54c4d9ab23d422ae2e24649c79f68099c1168
Original-Change-Id: I80f544432fed8c61eef826df13583914149a8e26
RTC: 125287
ForwardPort: yes
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23782
Reviewed-by: Timothy R. Block <block@us.ibm.com>
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Tested-by: Jenkins OP HW
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23800
Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot')
-rw-r--r-- | src/usr/secureboot/trusted/base/tpmLogMgr.C | 8 | ||||
-rw-r--r-- | src/usr/secureboot/trusted/trustedbootUtils.C | 11 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/usr/secureboot/trusted/base/tpmLogMgr.C b/src/usr/secureboot/trusted/base/tpmLogMgr.C index 400ecfe17..903a2f3ba 100644 --- a/src/usr/secureboot/trusted/base/tpmLogMgr.C +++ b/src/usr/secureboot/trusted/base/tpmLogMgr.C @@ -148,7 +148,6 @@ namespace TRUSTEDBOOT { errlHndl_t err = TB_SUCCESS; size_t newLogSize = TCG_PCR_EVENT2_marshalSize(logEvent); - uint8_t* startPtr = val->newEventPtr; TRACUCOMP( g_trac_trustedboot, ">>tpmAddEvent() PCR:%d Type:%d Size:%d", @@ -213,13 +212,6 @@ namespace TRUSTEDBOOT break; } - // Debug display of raw data - TRACUCOMP(g_trac_trustedboot, "tpmAddEvent: Start %p", - startPtr); - TRACUBIN(g_trac_trustedboot, "tpmAddEvent", - startPtr, newLogSize); - - val->logSize += newLogSize; diff --git a/src/usr/secureboot/trusted/trustedbootUtils.C b/src/usr/secureboot/trusted/trustedbootUtils.C index e5e50f871..e688d2940 100644 --- a/src/usr/secureboot/trusted/trustedbootUtils.C +++ b/src/usr/secureboot/trusted/trustedbootUtils.C @@ -49,17 +49,6 @@ #include "trustedboot.H" #include "trustedTypes.H" -// ---------------------------------------------- -// Trace definitions -// ---------------------------------------------- -extern trace_desc_t* g_trac_trustedboot; - -// Easy macro replace for unit testing -#define TRACUCOMP(args...) TRACFCOMP(args) -//#define TRACUCOMP(args...) -#define TRACUBIN(args...) TRACFBIN(args) -//#define TRACUBIN(args...) - namespace TRUSTEDBOOT { |