Reviewed-by: Ray Ni <[email protected]>

> -----Original Message-----
> From: Xie, Yuanhao <[email protected]>
> Sent: Wednesday, June 15, 2022 6:11 PM
> To: [email protected]
> Cc: Xie, Yuanhao <[email protected]>; Dong, Guo <[email protected]>; Ni, 
> Ray <[email protected]>; Maurice Ma
> <[email protected]>; You, Benjamin <[email protected]>
> Subject: [Patch V2] UefiPayloadPkg: Increase the PcdMaximumUnicodeStringLength
> 
> The maximum Unicode string could be as large as 1800000 in certain
> platforms when HII code builds the configuration strings.
> This causes assertion in PrintLib.
> The patch increases the PcdMaximumUnicodeStringLength to 1800000 to
> avoid the assertion.
> 
> Signed-off-by: Yuanhao Xie <[email protected]>
> Cc: Guo Dong <[email protected]>
> Cc: Ray Ni <[email protected]>
> Cc: Maurice Ma <[email protected]>
> Cc: Benjamin You <[email protected]>
> ---
>  UefiPayloadPkg/UefiPayloadPkg.dsc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc 
> b/UefiPayloadPkg/UefiPayloadPkg.dsc
> index 4d9bbc80c8..cfcf38578d 100644
> --- a/UefiPayloadPkg/UefiPayloadPkg.dsc
> +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
> @@ -410,6 +410,7 @@
> 
>    
> gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4G_MEMORY)
>    gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCAPE)
> +  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000
> 
>  [PcdsPatchableInModule.X64]
>    gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)
> --
> 2.36.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90535): https://edk2.groups.io/g/devel/message/90535
Mute This Topic: https://groups.io/mt/91773195/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to