]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Tcg / Opal / OpalPassword / OpalHii.h
index a1b1131c1380f99669b135cb639815c00b87f224..d3e236e2fea7ae0eded1ee3b348780f74931fc63 100644 (file)
@@ -2,14 +2,8 @@
   Public Header file of HII library used by Opal UEFI Driver.\r
   Defines required callbacks of Opal HII library.\r
 \r
-Copyright (c) 2016 - 2018, 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
+Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -26,8 +20,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     0x0d510a4f, 0xa81b, 0x473f, { 0x87, 0x07, 0xb7, 0xfd, 0xfb, 0xc0, 0x45, 0xba } \\r
   }\r
 \r
+#define OPAL_REQUEST_VARIABLE_NAME     L"OpalRequest"\r
+\r
 #pragma pack(1)\r
 \r
+typedef struct {\r
+  UINT32                   Length;\r
+  OPAL_REQUEST             OpalRequest;\r
+  //EFI_DEVICE_PATH_PROTOCOL OpalDevicePath;\r
+} OPAL_REQUEST_VARIABLE;\r
+\r
 typedef struct {\r
   UINT16 Id: HII_KEY_ID_BITS;\r
   UINT16 Index: HII_KEY_INDEX_BITS;\r
@@ -277,28 +279,6 @@ OpalHiiAddPackages(
   VOID\r
   );\r
 \r
-/**\r
-  Check whether enable feature or not.\r
-\r
-  @retval  Return the disk number.\r
-\r
-**/\r
-UINT8\r
-HiiGetNumConfigRequiredOpalDisksCB(\r
-  VOID\r
-  );\r
-\r
-/**\r
-  Returns the driver name.\r
-\r
-  @retval Returns the driver name.\r
-\r
-**/\r
-CHAR16*\r
-HiiGetDriverNameCB(\r
-  VOID\r
-  );\r
-\r
 /**\r
   Returns the opaque pointer to a physical disk context.\r
 \r