]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/RiscVVirt: Fix SCT memory allocation test case failure
authorSunil V L <sunilvl@ventanamicro.com>
Wed, 22 Feb 2023 02:36:59 +0000 (10:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 23 Feb 2023 05:02:15 +0000 (05:02 +0000)
commitbc82574de476fbb485dee36650ab22865892d0d4
tree3a8dd3f28eb3f4c306f553a82a90eb85cf1c918a
parent2c5961cccff1164ac7d0e34baa606d1ba1abcf43
OvmfPkg/RiscVVirt: Fix SCT memory allocation test case failure

Fix the UEFI memory range calculation by including the correct
stack memory range. Without this fix, SCT hangs in MemoryAllocation
test cases which call AllocateAddress().

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Reported-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com>
OvmfPkg/RiscVVirt/Sec/SecMain.c