summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/VarCheckPolicyLib
diff options
context:
space:
mode:
authorAlexander Gryanko <xpahos@yandex-team.ru>2024-10-05 03:17:17 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-27 22:06:12 +0000
commit24d835a13157137258f256730bd373742d09bb8b (patch)
tree47f81722d59b54a319659f86f23330636d20db52 /MdeModulePkg/Library/VarCheckPolicyLib
parent49288518992cb1ae378f52267464d81f93c804ff (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
OvmfPkg/Library/HardwareInfoLib: Fix memory allocation for a root bridgeHEADmaster
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 <xpahos@gmail.com>
Diffstat (limited to 'MdeModulePkg/Library/VarCheckPolicyLib')
0 files changed, 0 insertions, 0 deletions