Skip to content
Commit f25ee547 authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by mergify[bot]
Browse files

OvmfPkg: fix BuildResourceDescriptorHob call in PlatformAddHobCB()



BuildResourceDescriptorHob() expects the third parameter be the Length,
not the End address.

Fixes: 328076cf ("OvmfPkg/PlatformInitLib: Add PlatformAddHobCB")
Reported-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Tested-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: default avatarJiewen Yao <jiewen.yao@intel.com>
parent 37d3eb02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment