1 /** @file 2 HddPassword PEI module which is used to unlock HDD password for S3. 3 4 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> 5 6 SPDX-License-Identifier: BSD-2-Clause-Patent 7 8 **/ 9 10 #ifndef _HDD_PASSWORD_PEI_H_ 11 #define _HDD_PASSWORD_PEI_H_ 12 13 #include <PiPei.h> 14 #include <IndustryStandard/Atapi.h> 15 16 #include <Library/DebugLib.h> 17 #include <Library/BaseLib.h> 18 #include <Library/BaseMemoryLib.h> 19 #include <Library/MemoryAllocationLib.h> 20 #include <Library/PeimEntryPoint.h> 21 #include <Library/PeiServicesLib.h> 22 #include <Library/PciLib.h> 23 #include <Library/LockBoxLib.h> 24 25 #include <Ppi/AtaPassThru.h> 26 27 #include "HddPasswordCommon.h" 28 29 30 // 31 // Time out value for ATA PassThru PPI 32 // 33 #define ATA_TIMEOUT 30000000 34 35 #endif 36