diff options
author | Wei Liu <wei.liu2@citrix.com> | 2013-10-14 16:24:37 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-10-14 16:24:37 +0000 |
commit | cce992aca25a7010da9bf5e2b189ab38002560fd (patch) | |
tree | 5126fd704d6d9d984af07f00d7a372ed487ae540 /OvmfPkg/PlatformPei/Fv.c | |
parent | ed84519ce846cda4bc175d8d18ee03937090176d (diff) | |
download | edk2-platforms-cce992aca25a7010da9bf5e2b189ab38002560fd.tar.xz |
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
Diffstat (limited to 'OvmfPkg/PlatformPei/Fv.c')
0 files changed, 0 insertions, 0 deletions