diff options
Diffstat (limited to 'src/include/usr/secureboot')
| -rw-r--r-- | src/include/usr/secureboot/secure_reasoncodes.H | 2 | ||||
| -rw-r--r-- | src/include/usr/secureboot/service_ext.H | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/secure_reasoncodes.H b/src/include/usr/secureboot/secure_reasoncodes.H index c584ed107..8b18b9a5e 100644 --- a/src/include/usr/secureboot/secure_reasoncodes.H +++ b/src/include/usr/secureboot/secure_reasoncodes.H @@ -48,6 +48,7 @@ namespace SECUREBOOT MOD_SECURE_GET_ALL_SEC_REGS = 0x0E, MOD_SECURE_LOAD_HEADER = 0x0F, MOD_SECURE_VALIDATE_ECID_COUNT = 0x10, + MOD_LOCK_ABUS_SEC_MAILBOXES = 0x11, // Use 0x20-0x2F range for Node Communications MOD_NCDD_CHECK_FOR_ERRORS = 0x20, @@ -80,6 +81,7 @@ namespace SECUREBOOT RC_DEVICE_READ_ERR = SECURE_COMP_ID | 0x11, RC_INVALID_BASE_HEADER = SECURE_COMP_ID | 0x12, RC_INVALID_ECID_COUNT = SECURE_COMP_ID | 0x13, + RC_LOCK_MAILBOXES_FAILED = SECURE_COMP_ID | 0x14, // Use 0x20-0x2F range for Node Communications RC_NCDD_HW_ERROR_FOUND = SECURE_COMP_ID | 0x20, 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 |

