]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/DscBuildData.py
BaseTools: Add check for VOID* PCD Max Size
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 3 Aug 2018 07:46:20 +0000 (15:46 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 17 Aug 2018 05:05:14 +0000 (13:05 +0800)
commitf843a328772a30c11162c281adaf2afc1b4a972f
treee71502fc50433d17661e8ac18ce7c88e4330a5e0
parentb9130c866dc0fbd605a6567f1afb86546f385051
BaseTools: Add check for VOID* PCD Max Size

Per spec VOID* PCD max size should be a UINT16 value. so this patch
add the value check whether it is in range 0x0 .. 0xFFFF.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/DscBuildData.py