audk/OvmfPkg/XenPlatformPei
Laszlo Ersek e7641171b6 OvmfPkg/OvmfXen: make "PcdPciDisableBusEnumeration" Fixed-at-Build
The OvmfXen platform specifies the dynamic access method for
"PcdPciDisableBusEnumeration" needlessly.

After the DSC file sets the PCD to TRUE by default, the InitializeXen()
function in XenPlatformPei superfluously sets the PCD to TRUE again. There
are no other writes to the PCD in the platform.

Make the PCD Fixed-At-Build, and remove the access (in fact, the whole
InitializeXen() function) from XenPlatformPei.

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien@xen.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210526201446.12554-20-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2021-06-04 16:01:50 +00:00
..
AmdSev.c OvmfPkg: Obtain SEV encryption mask with the new MemEncryptSevLib API 2021-01-07 19:34:39 +00:00
ClearCache.c OvmfPkg: Introduce XenPlatformPei 2019-08-21 18:03:49 +02:00
Cmos.c OvmfPkg: Introduce XenPlatformPei 2019-08-21 18:03:49 +02:00
Cmos.h OvmfPkg: Introduce XenPlatformPei 2019-08-21 18:03:49 +02:00
Fv.c OvmfPkg: Introduce XenPlatformPei 2019-08-21 18:03:49 +02:00
MemDetect.c OvmfPkg/XenPlatformPei: Use CPUID to get physical address width on Xen 2021-01-19 17:00:08 +00:00
Platform.c OvmfPkg/OvmfXen: make "PcdPciDisableBusEnumeration" Fixed-at-Build 2021-06-04 16:01:50 +00:00
Platform.h OvmfPkg/OvmfXen: make "PcdPciDisableBusEnumeration" Fixed-at-Build 2021-06-04 16:01:50 +00:00
Xen.c OvmfPkg/OvmfXen: make "PcdPciDisableBusEnumeration" Fixed-at-Build 2021-06-04 16:01:50 +00:00
Xen.h OvmfPkg: Introduce XenPlatformPei 2019-08-21 18:03:49 +02:00
XenPlatformPei.inf OvmfPkg/OvmfXen: make "PcdPciDisableBusEnumeration" Fixed-at-Build 2021-06-04 16:01:50 +00:00