]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Increase the DevicePath length for support more PCD value.
authorJiang, Xiaolu <Xiaolu.Jiang@intel.com>
Mon, 29 Nov 2021 02:13:03 +0000 (10:13 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 9 Dec 2021 00:43:16 +0000 (00:43 +0000)
commit7b2831000894f3091cac633e61d9bcf3661cc44b
treeea5fbe55ef07c3379374e1028fa10fdd17791b4f
parent85a678bf76c5aac2e40255f48ea3209ff95f150a
BaseTools: Increase the DevicePath length for support more PCD value.

Currently the PCD Value only support 13 Guid,When use more 13 pcd will cause the build tool fail,
Need calculate the required memory,then allocate it.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3718

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Xiaolu Jiang <xiaolu.jiang@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/DevicePath/DevicePath.c