/** @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
#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
#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
\r
//\r
// The max timeout value assume the user can wait for the revert action. The unit of this macro is second.\r
-// If the revert time value bigger than this one, driver needs to popup a dialog to let user confirm the \r
+// If the revert time value bigger than this one, driver needs to popup a dialog to let user confirm the\r
// revert action.\r
//\r
#define MAX_ACCEPTABLE_REVERTING_TIME 10\r
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
@param[in] Msid Msid\r
@param[in] MsidLength Msid Length\r
@param[in] Password Admin password\r
- @param[in] PassLength Length of password in bytes \r
+ @param[in] PassLength Length of password in bytes\r
\r
**/\r
TCG_RESULT\r