diff options
author | Chris Engel <cjengel@us.ibm.com> | 2016-01-22 13:27:03 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-05-13 13:06:26 -0400 |
commit | 004d1a204d653f7658427f7ebf10cca769ec3ef9 (patch) | |
tree | 47cd3220d6a23a9a7f74b9b00211f746fc7aff44 /src/usr/secureboot/base | |
parent | ec7c3db64967522e44713766119c0023382e9bc7 (diff) | |
download | talos-hostboot-004d1a204d653f7658427f7ebf10cca769ec3ef9.tar.gz talos-hostboot-004d1a204d653f7658427f7ebf10cca769ec3ef9.zip |
Extend basic config entries to TPM
Change-Id: I17c215c3120782d022ade0ac8343934c64e2e13e
Original-Change-Id: I92e2c7758ebac2912caa9f449c3531c584487bd5
FowardPort: yes
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22002
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24481
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base')
-rw-r--r-- | src/usr/secureboot/base/settings.C | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/secureboot/base/settings.C b/src/usr/secureboot/base/settings.C index cda200b74..8caa6708c 100644 --- a/src/usr/secureboot/base/settings.C +++ b/src/usr/secureboot/base/settings.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2016 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -54,4 +56,9 @@ namespace SECUREBOOT { return 0 != (iv_regValue & SECURITY_SWITCH_TRUSTED_BOOT); } + + uint64_t Settings::getSecuritySwitch() + { + return iv_regValue; + } } |