audk/CorebootPayloadPkg/Library/PciHostBridgeLib
Heyi Guo 6a9e59a1bc CorebootPayloadPkg/PciHostBridgeLib: clear aperture vars for (re)init
Use ZeroMem() to initialize (or re-initialize) all fields in temporary
PCI_ROOT_BRIDGE_APERTURE variables to zero. This is not mandatory but
helpful for future extension: when we add new fields to
PCI_ROOT_BRIDGE_APERTURE and the default value of these fields can
safely be zero, this code will not suffer from an additional change.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Signed-off-by: Yi Li <phoenix.liyi@huawei.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-03-15 08:25:56 +00:00
..
PciHostBridge.h CorebootPayloadPkg: Use generic PciBus/PciHostBridge driver 2016-05-23 13:53:41 -07:00
PciHostBridgeLib.c CorebootPayloadPkg: Use generic PciBus/PciHostBridge driver 2016-05-23 13:53:41 -07:00
PciHostBridgeLib.inf CorebootPayloadPkg: Use generic PciBus/PciHostBridge driver 2016-05-23 13:53:41 -07:00
PciHostBridgeSupport.c CorebootPayloadPkg/PciHostBridgeLib: clear aperture vars for (re)init 2018-03-15 08:25:56 +00:00