From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.8759.1636625746934967600 for ; Thu, 11 Nov 2021 02:15:47 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: gao.cheng@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10164"; a="232829521" X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="232829521" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2021 02:15:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="546496960" Received: from gaocheng-desk.ccr.corp.intel.com ([10.239.154.170]) by fmsmga008.fm.intel.com with ESMTP; 11 Nov 2021 02:15:44 -0800 From: "Gao" To: devel@edk2.groups.io Cc: Gao Cheng , Guo Dong , Ray Ni , Maurice Ma , Benjamin You Subject: [PATCH] UefiPayloadPkg/UefiPayloadPkg.fdf: Update DXE A Priori file Date: Thu, 11 Nov 2021 18:15:40 +0800 Message-Id: <3948c05d744ceaca2e5e4995120eda1b29a209db.1636622688.git.gao.cheng@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3729 Platform desires to load ReportStatusCodeRouterRuntimeDxe and StatusCodeHandlerRuntimeDxe early in DXE to make DEBUG() via serial port work thereafter since DXE will use PeiDxeDebugLibReportStatusCode as default DebugLib instance. However, with UefiPayload enabled by default, UefiPayloadPkg will override platform's DXE A Priori file and miss these two modules in its DXE A Priori file, so just add them back. Signed-off-by: Gao Cheng Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: devel@edk2.groups.io --- UefiPayloadPkg/UefiPayloadPkg.fdf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayload= Pkg.fdf index 2f5cb17f62..dd2dc1bf56 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -87,6 +87,8 @@ APRIORI DXE { INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf=0D INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf=0D INF UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf=0D + INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStat= usCodeRouterRuntimeDxe.inf=0D + INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandl= erRuntimeDxe.inf=0D }=0D =0D #=0D --=20 2.26.2.windows.1