Defines required callbacks of Opal HII library.\r
\r
Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
/**\r
\r
- Populate the hii_g_Configuraton with the browser Data.\r
+ Populate the hii_g_Configuration with the browser Data.\r
\r
**/\r
VOID\r
\r
@param OpalDisk The Opal device.\r
\r
- @retval EFI_SUCESS Initialize the device success.\r
+ @retval EFI_SUCCESS Initialize the device success.\r
@retval EFI_DEVICE_ERROR Get info from device failed.\r
@retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.\r
\r
\r
@param Dev The Opal device.\r
\r
- @retval EFI_SUCESS Initialize the device success.\r
+ @retval EFI_SUCCESS Initialize the device success.\r
@retval EFI_DEVICE_ERROR Get info from device failed.\r
\r
**/\r
IN OPAL_DRIVER_DEVICE *Dev\r
);\r
\r
+/**\r
+ Update the device ownership\r
+\r
+ @param OpalDisk The Opal device.\r
+\r
+ @retval EFI_SUCCESS Get ownership success.\r
+ @retval EFI_ACCESS_DENIED Has send BlockSID command, can't change ownership.\r
+ @retval EFI_INVALID_PARAMETER Not get Msid info before get ownership info.\r
+\r
+**/\r
+EFI_STATUS\r
+OpalDiskUpdateOwnerShip (\r
+ OPAL_DISK *OpalDisk\r
+ );\r
+\r
#endif // _HII_H_\r