]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h
SecurityPkg: Fix spelling errors
[mirror_edk2.git] / SecurityPkg / Tcg / Opal / OpalPassword / OpalHii.h
index 4656ac58fc599de6c22aa5b0bcef6c34ef32f055..0543a2ce493d34d6e0fb740b25319ff041c38cf9 100644 (file)
@@ -3,13 +3,7 @@
   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
@@ -162,7 +156,7 @@ OpalHiiSetBrowserData (
 \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
@@ -253,7 +247,7 @@ GetDiskNameStringId(
 \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
@@ -354,7 +348,7 @@ HiiUninstall(
 \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
@@ -363,4 +357,19 @@ OpalDiskInitialize (
   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