Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 24d835a13157137258f256730bd373742d09bb8b
      
https://github.com/tianocore/edk2/commit/24d835a13157137258f256730bd373742d09bb8b
  Author: Alexander Gryanko <xpa...@yandex-team.ru>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  Changed paths:
    M OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.c

  Log Message:
  -----------
  OvmfPkg/Library/HardwareInfoLib: Fix memory allocation for a root bridge

Currently, PciHostBridgeUtilityGetRootBridgesHostProvided allocates memory
for aperture structures without clearing memory. This causes garbage in
the Translation field, but the Base and Limit fields have the correct
values because they are copied from the HOST_BRIDGE_INFO fields in the
HardwareInfoPciHostBridgeHostBridgeHostBridgeGetApertures function.

RootBridge: PciRoot(0x0)
  Support/Attr: 70069 / 70069
    DmaAbove4G: No
NoExtConfSpace: No
     AllocAttr: 3 (CombineMemPMem Mem64Decode)
           Bus: 0 - 80 Translation=0
            Io: 6000 - FFFF Translation=5E9EB018
           Mem: 80000000 - DFFFFFFF Translation=0
    MemAbove4G: 600000000000 - 7FFFFFFFFFFF Translation=0
          PMem: FFFFFFFFFFFFFFFF - 0 Translation=0
   PMemAbove4G: FFFFFFFFFFFFFFFF - 0 Translation=0

Signed-off-by: Alexander Gryanko <xpa...@gmail.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to