]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fixed the PcdValue trailing zero issue.
authorFeng, Bob C <bob.c.feng@intel.com>
Tue, 28 Aug 2018 10:22:45 +0000 (18:22 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 3 Sep 2018 02:14:50 +0000 (10:14 +0800)
commit4cf022f2f11fc3cd12ab5dd24e5ae74f541bac48
tree92864f9004eef91cec297890f47e437e464c1d18
parent7c193787623f89d161255e37d80bc2907690ab37
BaseTools: Fixed the PcdValue trailing zero issue.

1. Not append trailing zero for PcdValue
2. make sure the point to Variable Name in PCD
DataBase 2 bytes aligned.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/GenPcdDb.py
BaseTools/Source/Python/Common/StringUtils.py