]>
git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/HddPassword/HddPasswordPei.h
2 HddPassword PEI module which is used to unlock HDD password for S3.
4 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions
8 of the BSD License which accompanies this distribution. The
9 full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #ifndef _HDD_PASSWORD_PEI_H_
18 #define _HDD_PASSWORD_PEI_H_
21 #include <IndustryStandard/Atapi.h>
23 #include <Library/DebugLib.h>
24 #include <Library/BaseLib.h>
25 #include <Library/BaseMemoryLib.h>
26 #include <Library/MemoryAllocationLib.h>
27 #include <Library/PeimEntryPoint.h>
28 #include <Library/PeiServicesLib.h>
29 #include <Library/PciLib.h>
30 #include <Library/LockBoxLib.h>
32 #include <Ppi/AtaPassThru.h>
34 #include "HddPasswordCommon.h"
38 // Time out value for ATA PassThru PPI
40 #define ATA_TIMEOUT 30000000