]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h
SecurityPkg/OpalPassword: Fix "Enable Feature" Menu disappear issue
[mirror_edk2.git] / SecurityPkg / Tcg / Opal / OpalPassword / OpalDriver.h
index 2bca770620d2cd4015dedae48630e65254b7c6d2..beeabb1c0ae25a1795ef1ff32882e9db3dfee26a 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Values defined and used by the Opal UEFI Driver.\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
@@ -28,6 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/StorageSecurityCommand.h>\r
 \r
 #include <Guid/EventGroup.h>\r
+#include <Guid/S3StorageDeviceInitList.h>\r
 \r
 #include <Library/UefiLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
@@ -42,7 +37,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/HiiLib.h>\r
 #include <Library/UefiHiiServicesLib.h>\r
 #include <Library/PciLib.h>\r
-#include <Library/S3BootScriptLib.h>\r
 #include <Library/LockBoxLib.h>\r
 #include <Library/TcgStorageOpalLib.h>\r
 #include <Library/Tcg2PhysicalPresenceLib.h>\r
@@ -149,6 +143,7 @@ typedef struct {
   UINT8                                           Password[OPAL_MAX_PASSWORD_SIZE];\r
 \r
   UINT32                                          EstimateTimeCost;\r
+  BOOLEAN                                         SentBlockSID;           // Check whether BlockSid command has been sent.\r
 } OPAL_DISK;\r
 \r
 //\r