Re: [edk2-devel] [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64

2021-09-15 Thread Ni, Ray
Reviewed-by: Ray Ni -Original Message- From: Tan, Dun Sent: Wednesday, September 15, 2021 4:55 PM To: Ni, Ray ; devel@edk2.groups.io Cc: Dong, Guo ; Ma, Maurice ; You, Benjamin Subject: RE: [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64 Hi Ray, T

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64

2021-09-15 Thread duntan
Hi Ray, There are only "UniversalPayloadEntry.inf" and "UefiPayloadEntry.inf" under [Components.IA32] in UefiPayloadPkg.dsc. The [Packages] sections in these two .inf file only contain MdePkg, MdeModulePkg, UefiCpuPkg and UefiPayloadPkg. So the PCDs in .dec files of these four pkgs used in Uefi

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64

2021-09-14 Thread Ni, Ray
Dun, I am curious, why ' gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport' doesn't cause build warning? It is referenced by "MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf" under "[Components.X64]". Thanks, Ray > -Original Message- > From: Tan, Dun > Sent: Tuesday, September 14, 2021 3:39 PM

[edk2-devel] [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64

2021-09-14 Thread duntan
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3603 Move the unspecified PCDs from .common section. to .X64 section in .dsc file. The corresponding PCDs are not used in IA32. Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Signed-off-by: Dun Tan --- UefiPayloadPkg/UefiPayloadPk