audk/OvmfPkg/PlatformPei
Wei Liu cce992aca2 OvmfPkg/PlatformPei: correctly align emulated NV storage
Per 2c4b18e ("MdeModulePkg: Add the alignment check for FTW spare area
address and length, and add the check for PcdFlashNvStorageVariableSize
<= PcdFlashNvStorageFtwSpareSize."), FTWDxe refuses to initialize if
spare space base address or size is not aligned to block size.

Depending on configuration, memory for FTWDxe might be dynamically
allocated in PlatformPei. This patch makes sure that the allocated
memory region is aligned.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14770 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-14 16:24:37 +00:00
..
Cmos.c Update the copyright notice format 2010-04-28 12:43:04 +00:00
Cmos.h Update the copyright notice format 2010-04-28 12:43:04 +00:00
Fv.c OvmfPkg: Remove variables that are set, but not used 2011-10-31 15:57:12 +00:00
MemDetect.c OvmfPkg/PlatformPei: Remove MtrrLib ASSERTs 2011-10-31 15:58:18 +00:00
Platform.c OvmfPkg/PlatformPei: correctly align emulated NV storage 2013-10-14 16:24:37 +00:00
Platform.h OvmfPkg/PlatformPei: Add Xen support 2011-08-05 15:43:05 +00:00
PlatformPei.inf OvmfPkg: enable PIIX4 IO space in the PEI phase 2012-09-12 07:19:16 +00:00
Xen.c Fix build crash while using MSFT to build OVMF, also fix some build warning report for PCD type issues. 2011-08-25 03:19:57 +00:00