diff options
author | Ilya Smirnov <ismirno@us.ibm.com> | 2018-05-29 15:16:28 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-06-19 17:35:42 -0400 |
commit | c7384e829f3dec35cbdf3a18dba432c8fcd1c069 (patch) | |
tree | e8af37ef4ae44b51ce06afb478c93e7df4813cf0 /src/include/usr/secureboot/service_ext.H | |
parent | 112e8c957fb6c7be34c86f4005badc5b88871764 (diff) | |
download | talos-hostboot-c7384e829f3dec35cbdf3a18dba432c8fcd1c069.tar.gz talos-hostboot-c7384e829f3dec35cbdf3a18dba432c8fcd1c069.zip |
Secure Boot: Support API to fence off all node processors' secure mailboxes
This change imlpements the logic to lock down the Abus
secure mailboxes prior to starting PHyp. The lock down
is perormed as part of secure node communication in istep 18
Change-Id: I4bc678ce7844290a7229b605406d5d3c689a0c6c
RTC: 191005
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59692
Reviewed-by: Michael Baiocchi <mbaiocch@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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot/service_ext.H')
-rw-r--r-- | src/include/usr/secureboot/service_ext.H | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/service_ext.H b/src/include/usr/secureboot/service_ext.H new file mode 100644 index 000000000..4be08d52f --- /dev/null +++ b/src/include/usr/secureboot/service_ext.H @@ -0,0 +1,40 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/secureboot/service_ext.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] 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. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ +#ifndef __SERVICE_EXT_H +#define __SERVICE_EXT_H + +#include <errl/errlentry.H> + +namespace SECUREBOOT +{ + /* + * @brief Calls p9_update_security_ctrl HWP to lock down the Abus secure + * mailboxes on all functional processors. All errors are committed + * internally. + */ + void lockAbusSecMailboxes(); + +} // namespace SECUREBOOT +#endif |