summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/RangeExpression.py
diff options
context:
space:
mode:
authorbob.c.feng@intel.com <bob.c.feng@intel.com>2018-11-07 17:18:34 +0800
committerBobCF <bob.c.feng@intel.com>2018-12-07 09:59:36 +0800
commit72a1d77694d51914c0dd6aa97dbfa58634b0a4a5 (patch)
treec101bf18a2739de1e6f2344c22898ec08650a4cb /BaseTools/Source/Python/Common/RangeExpression.py
parent088a5334809d175ea6b4020012afa9f3b6962960 (diff)
downloadedk2-72a1d77694d51914c0dd6aa97dbfa58634b0a4a5.tar.gz
edk2-72a1d77694d51914c0dd6aa97dbfa58634b0a4a5.tar.bz2
edk2-72a1d77694d51914c0dd6aa97dbfa58634b0a4a5.zip
BaseTools: Enable Pcd Array support.
https://bugzilla.tianocore.org/show_bug.cgi?id=1292 This patch is going to enable Array data type for PCD. 1. Support Pcd ARRAY as Structure PCD type including basic datatype array and structure array. For example: gStructuredPcdPkgTokenSpaceGuid.PcdTest|{0x0}|TEST[10]|0x00010080 gStructuredPcdPkgTokenSpaceGuid.PcdTest2|{0x0}|UINT8[10]|0x00010081 2. Support C CODE style value initialization in DEC/DSC. For example: gStructuredPcdPkgTokenSpaceGuid.PcdTest|{CODE({ {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, {0, {0, 0, 0, 0, 0, 0, 0}}, })} 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>
Diffstat (limited to 'BaseTools/Source/Python/Common/RangeExpression.py')
0 files changed, 0 insertions, 0 deletions