diff options
author | Jaymes Wilks <mjwilks@us.ibm.com> | 2016-11-08 10:58:25 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-01-05 14:00:52 -0500 |
commit | fd1dc5a2c009d61145e2bb96865cf5de47674fb4 (patch) | |
tree | b418fb811189020bb509a566fec40c660b04452d /src/usr/secureboot/base/service.C | |
parent | 82af686f8456f594ae17409f1e1e70fc55485cd8 (diff) | |
download | blackbird-hostboot-fd1dc5a2c009d61145e2bb96865cf5de47674fb4.tar.gz blackbird-hostboot-fd1dc5a2c009d61145e2bb96865cf5de47674fb4.zip |
port p8 secureboot settings code to p9
Update the p9 branch to handle the secure settings states as per p8
code but with the new updated p9 constant values. Remove caching of
register values.
Change-Id: I0a29ce0103a8f9b60b421a4bb625f12adcd916f8
RTC:161916
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32490
Reviewed-by: Stephen M. Cprek <smcprek@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: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base/service.C')
-rw-r--r-- | src/usr/secureboot/base/service.C | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr/secureboot/base/service.C b/src/usr/secureboot/base/service.C index a557655f3..59750b786 100644 --- a/src/usr/secureboot/base/service.C +++ b/src/usr/secureboot/base/service.C @@ -42,7 +42,7 @@ #include <kernel/console.H> #include <console/consoleif.H> -extern trace_desc_t* g_trac_secure; +#include "../common/securetrace.H" // Quick change for unit testing //#define TRACUCOMP(args...) TRACFCOMP(args) @@ -97,7 +97,12 @@ bool enabled() return Singleton<Settings>::instance().getEnabled(); } -void handleSecurebootFailure(errlHndl_t &io_err, const bool i_waitForShutdown) +bool getJumperState() +{ + return Singleton<Settings>::instance().getJumperState(); +} + +void handleSecurebootFailure(errlHndl_t &io_err, bool i_waitForShutdown) { TRACFCOMP( g_trac_secure, ENTER_MRK"handleSecurebootFailure()"); |