]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/BPDG/GenVpd.py
BaseTools: refactor the error for PCD value is negative or exceed max
authorzhijufan <zhijux.fan@intel.com>
Thu, 27 Sep 2018 06:08:15 +0000 (14:08 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Sun, 30 Sep 2018 08:05:49 +0000 (16:05 +0800)
commitc526dcd40f3a0f3a091684481f9c85f03f6a70a7
tree90991c02eb9127dbb5966867e8b1192b33f01d3c
parent5b02be4d9a234d80c7578fc3a0c789d22ce83f38
BaseTools: refactor the error for PCD value is negative or exceed max

refactor the error handling for the PCD value that is negative or it
exceed the max value.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/GenC.py
BaseTools/Source/Python/BPDG/GenVpd.py
BaseTools/Source/Python/Common/Misc.py