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
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
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