diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-01-18 01:46:25 +0000 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-02-24 15:29:45 +0800 |
commit | 705dc80054346b44f81316786e178251f6b2752d (patch) | |
tree | 09dd04c29ed60d68229c3fe08dc2d5cab4f1beb6 /BaseTools/Source/Python/AutoGen/GenPcdDb.py | |
parent | f4b872f4e7439e77ec92d5a7684de01096790ed6 (diff) | |
download | edk2-platforms-705dc80054346b44f81316786e178251f6b2752d.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
(cherry picked from commit 5a13737abf9d12d99a15961fa94716b507c701a2)
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenPcdDb.py')
0 files changed, 0 insertions, 0 deletions