diff options
author | Chen A Chen <chen.a.chen@intel.com> | 2019-01-16 14:59:57 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2019-01-31 11:10:55 +0800 |
commit | 0d18f5db32267450b44f5d4b2fdc8627e30de007 (patch) | |
tree | 000543e31d3016a058544fafd1bdd1de1b3781a6 /FatPkg/FatPei/FatLitePeim.h | |
parent | 0d47abeff63b40727abeba79d547d9542e04864f (diff) | |
download | edk2-0d18f5db32267450b44f5d4b2fdc8627e30de007.tar.gz edk2-0d18f5db32267450b44f5d4b2fdc8627e30de007.tar.bz2 edk2-0d18f5db32267450b44f5d4b2fdc8627e30de007.zip |
FatPkg: Add GPT check in FatPei to support Capsule-on-Disk feature.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1470
This feature is used for finding GPT partition.
Follow the following step to check.
1) Check Protective MBR.
2) Check GPT primary/backup header.
3) Check GPT primary/backup entry array.
Cc: Ruiyu Ni <ray.ni@intel.com>
Cc: Zhang Chao B <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'FatPkg/FatPei/FatLitePeim.h')
-rw-r--r-- | FatPkg/FatPei/FatLitePeim.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FatPkg/FatPei/FatLitePeim.h b/FatPkg/FatPei/FatLitePeim.h index fbf887da5f..82ab045f2a 100644 --- a/FatPkg/FatPei/FatLitePeim.h +++ b/FatPkg/FatPei/FatLitePeim.h @@ -1,7 +1,7 @@ /** @file
Data structures for FAT recovery PEIM
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
@@ -27,6 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Library/BaseLib.h>
#include <Library/PeimEntryPoint.h>
#include <Library/BaseMemoryLib.h>
+#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/PeiServicesTablePointerLib.h>
#include <Library/PeiServicesLib.h>
|