From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web09.2828.1655287900015462490 for ; Wed, 15 Jun 2022 03:11:40 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=dnpMYE5w; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: yuanhao.xie@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655287900; x=1686823900; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AOD7Uc4hqhkvPPIGaIO3VGMAl8S7lx3XzXWaAAS+7No=; b=dnpMYE5wXNwfIuRYh+vdwKcZHdhqV5b6cLA9nD9o1NRCAZefP2ZZSj4+ X6hv8Q4fiukVFJXgr+f5kmCM6qunBkpVtQ+3q63deU7y5ZxRnsR2I0+4w fVlWKYQGg5mFkP4vN/e3ufnZsAdUj9ssdSAf3msxlDUmhdHK8Uou0mu+t v65X60AnbRYlkhdAWcuinszFN3zHIT8Gt1bJbPhZ8eobFhw05HWSI8W2s 3OGVwdO+QrHKqo6Y+hYqB3X0bGpVPvzfYjAV10QB4L7jlvzOvWb873isD oMifB1jADkNGhdzoto8RiZ7v8TJBCUKwwvPShQAQU1WovGC4GNuzE8/LX w==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="267595043" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="267595043" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 03:11:23 -0700 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="640911875" Received: from shwdeopenlab705.ccr.corp.intel.com ([10.239.182.56]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 03:11:21 -0700 From: "Yuanhao Xie" To: devel@edk2.groups.io Cc: Yuanhao Xie , Guo Dong , Ray Ni , Maurice Ma , Benjamin You Subject: [Patch V2] UefiPayloadPkg: Increase the PcdMaximumUnicodeStringLength Date: Wed, 15 Jun 2022 18:11:08 +0800 Message-Id: <20220615101108.1110-1-yuanhao.xie@intel.com> X-Mailer: git-send-email 2.36.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You --- 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