diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-01-18 01:46:25 +0000 |
---|---|---|
committer | yzhu52 <yzhu52@Edk2> | 2016-01-18 01:46:25 +0000 |
commit | 5a13737abf9d12d99a15961fa94716b507c701a2 (patch) | |
tree | c58eb0c7eba9bd6f8b32a2dc14842b575ca0a233 /BaseTools/Source/Python/BPDG/GenVpd.py | |
parent | 8b54f22f60d1ecdfc4beb1f0965b52f7063b93ad (diff) | |
download | edk2-platforms-5a13737abf9d12d99a15961fa94716b507c701a2.tar.xz |
BaseTools: VOID* PCDs in VPD region must be aligned based on value type
Base on build spec update, ASCII strings(“string”), will be byte aligned,
Unicode strings(L”string”) will be two-byte aligned, Byte arrays,
{0x00, 0x01} will be 8-byte aligned.
This patch is going to halt with an error message if a VOID* PCD has an
offset value that is not aligned based on the syntax of the PCD value.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19650 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/BPDG/GenVpd.py')
0 files changed, 0 insertions, 0 deletions